Starting MITx 6.00.1x Introduction to Computer Science and Programming Using Python 2014

I started another OpenCourseWare (free online course), MITx: 6.00.1x Introduction to Computer Science and Programming Using Python, provided by MIT and hosted on edX.

I am currently also learning C with CS50x. When I was trying out the Project Euler questions, I realised that C cannot compute very large numbers, while Python can do it very easily. Moreover, Python is also an important programming language, so I decided to learn it.

Overall, concepts of Python is similar to C, and I can pick up fast. This is because programming languages such as C and Python are Turing complete, that is every computable operation can be made using these languages.

I will store my codes at Github: https://github.com/shaunlgs/MITx-6.00.1x-OCW-2014.

pset1.Test.py

This program calculates the sum of all the fibonacci numbers under 4 million. Fibonacci numbers are numbers calculated by adding the sum of previous two fibonacci numbers. The sequence starts as follows: 1, 1, 2, 3, 5, 8… The computer can do this very fast because they can perform 1 billion operations per second.

pset1.1.py

This is a simple script that counts and prints the number of vowels in string s.

pset1.2.py

This counts the number of occurrences of the string ‘bob’ in string s.

pset1.3.py

This script prints the longest substring in alphabetical order of string s.

2 thoughts on “Starting MITx 6.00.1x Introduction to Computer Science and Programming Using Python 2014”

  1. Hi there,
    I would like some advice if you do not mind.
    I once took a coursera course “Interactive Programming in Python”, about 2 years ago. but i just work through first four weeks. and now I do not remember the syntax and details.

    Do you think this Edx course is a good one to help me refresh my memory? Or is it too much introductory? Is it self-paced so that I finish it in a month by just doing assignments and review notes without watching all videos?
    Just a note that I am familiar with programming (C# and Java).

    Thanks in advance

    1. Hey Moe, actually I did not finish 6.00.1x as I find it quite dry. It will introduce everything from syntax to building programs, you can try it. Python is fairly easy if you already know C#.

Leave a Reply