Special software is required to use some of the files in this section: .py.
The problem sets for the course are presented here. These were written by the teaching assistants, Vladimir Bychkovsky, Waseem Daher, and Phil Sung, in collaboration with Prof. John Guttag.
Course assignments.
| ASSN # |
PROBLEM SETS |
SUPPORTING FILES |
| 0 |
Introduction to IDLE and Python programming (PDF)
Getting started: Python and IDLE (PDF)
|
|
| 1 |
Introduction to control structures and modeling (PDF) |
|
| 2 |
Debugging functions, recursion (PDF) |
|
| 3 |
Word game (PDF) |
ps3.py (PY)
test_ps3.py (PY)
words.txt (TXT)
ps3_hangman.py (PY)
|
| 4 |
Word game 2 (PDF) |
ps4.py (PY)
words.txt (TXT)
|
| 5 |
Financing a presidential campaign (PDF) |
ps5.py (PY) |
| 6 |
Simulating robots (PDF) |
ps6.py (PY)
ps6_visualize.py (PY)
|
| 7 |
RSS feed reader, part 1 (PDF) |
feedparser.py (PY)
project_util.py (PY)
|
| 8 |
RSS feed reader, part 2 (PDF) |
ps8.py (PY)
ps8_test.py (PY)
triggers.txt (TXT)
news_gui.py (PY)
|
| 9 |
Molecular clock, effects of penicillin (PDF) |
ps9_demo.py (PY)
ps9_prob1.py (PY)
|
| 10 |
Simulating the stock market (PDF) |
ps10.py (PY)
stocks.txt (TXT)
|