Git Product home page Git Product logo

mitx-6.00.1x-ocw-2014's Introduction

6.00.1x-2014

MITx: 6.00.1x Introduction to Computer Science and Programming OCW 2014 can be accessed at https://www.edx.org/course/mitx/mitx-6-00-1x-introduction-computer-1498.

I write about my journey through 6.00.1x at my blog.

Week 1 submission

pset1.Test.py - Calculates the sum of all the fibonacci numbers under 4 million.
pset1.1.py - Counts and prints the number of vowels in string s.
pset1.2.py - Counts the number of occurrences of the string โ€˜bobโ€™ in string s.
pset1.3.py - Prints the longest substring in alphabetical order of string s.

Week 2 submission

pset2.1.py - Assuming student only pay minimum monthly payment each month, this script shows the remaining balance after each month, and remaining balance after one year, how much is paid total in one year.
pset2.2.py - Calculates how much money the student has to pay in order to clear the balance in one year using linear search.
pset2.3.py - Calculates how much money the student has to pay in order to clear the balance in one year using bisection search.

Week 3 submission

iterPow.py - Calculates base raised to a power using loop.
recurPow.py - Calculates base raised to a power using recursion.
recurPowNew.py - Calculates base raised to a power using another recursion.
radiationExposure.py - Computes and returns the amount of radiation exposed between the start and stop times.
ps3_hangman.py - Hangman game using words from words.txt.

Week 4 submission

ps4a.py - Word game similar to Scrabble.
ps4b.py - Same as ps4a.py, added an option to let computer play instead of user.

mitx-6.00.1x-ocw-2014's People

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.