Spring 2006
»Home« | Course Info | Schedule | Student Workspace | Handouts | Reference

About: This 9-unit subject is aimed at first year students with little or no programming experience. It aims to provide students with an understanding of the role computation can play in solving problems. It also aims to help students, regardless of their major, to feel justifiably confident of their ability to write small programs that allow them to accomplish useful goals. The class will use the Python programming language.
(More Information... | Email us: 6.095-staff [at] mit.edu)

Announcements
(hit refresh on your browser to make sure this page is up-to-date)

May 9th, 2006
Final project: part three released.

May 7th, 2006
Recitation 11 notes online.

May 2nd, 2006
Final project: part two released.

Apr. 24, 2006
Reading for this week: Zelle chapter 12
Problem set 7 solution released.

Apr. 23, 2006
Final project: part one released.

Apr. 21, 2006
Code from recitation 9.

Apr. 20, 2006
Reading for this week: Zelle chapter 10
Code from lecture: Geometry.py, Point.py, Rectangle.py, Circle.py.

Apr. 14, 2006
Code from recitation 8

Apr. 11, 2006
Problem Set 7 released.
Problem Set 6 solution released.
Reading for this week: Zelle chapter 5

Apr. 5, 2006
Quiz 1 solution posted.
Code from lecture: lect_sim1.py
Problem set 5 solutions posted:
 - Basic solution (running time < 5 * BENCHMARK_TIME)
 - Better solution (running time < 2 * BENCHMARK_TIME)
 - Challenge solution (running time < 0.01 * BENCHMARK_TIME)

Apr. 4, 2006
Problem Set 6 released.
Reading for this week: Zelle chapter 9

Mar. 14, 2006
Problem Set 5 released.
Reading for week six: Zelle chapter 13 (ignore section 13.4)
Problem set 4 solutions posted:
 - A solution
 - A better solution (works with the large graph)
 - A solution to the challenge

Mar. 10, 2006
Recitation 5 notes (code etc)
Code from lecture: dfs4.

Mar. 7, 2006
Problem set 4 released.
Problem set 3 solution posted.
Code from lecture: dfs1, dfs2, and dfs3

Mar. 5, 2006
If you are seeing errors related to the get_sorted_keys function defined in ps3_utility, you should download an updated version of the file here: ps3_utility.py.

Mar. 2, 2006
Code from lecture: dfs1 function (hand-simulate this)

Feb. 28, 2006
Problem set 3 released.
Problem set 2 solution posted.
Reading for week four: finish Zelle chapter 4.

Feb. 27, 2006
The server hosting the reference wiki was experiencing some problems, so a backup has been created.
The backup is available here.

Feb. 24, 2006
Recitation 3 notes (code etc)

Feb. 21, 2006
Problem set 2 released.
Problem set 1 solution posted.
Reading for week three:
 - Elements of Style for Python Programmers
   * read: declarations, indentation and exceptions.
 - Zelle ch 4: Strings
   * read: 4.1, 4.2 and 4.3.
 - Zelle ch 11: Lists and Dictionaries
   * read: 11.1, 11.2 and 11.6.
   * ignore: first paragraph of 11.1.
   * ignore: if __name__ == '__main__' discussion in 11.2.
   * ignore: in the example in 11.6, you don't need to understand how files are opened and read.

Feb. 17, 2006
Recitation 2 notes (slides, code, etc)

Feb. 14, 2006
Problem set 1 released.
Python code from lecture: lect3-1.py, lect3-2.py
Reading for week two:
 - Zelle ch 6
   * skip sections 6.1, 6.3 and 6.6;
   * skip triangle2.py example on pg 179 and top of pg 180;
   * skip last paragraph of pg 184 and pages 185-187.
 - Zelle ch 7
   * skip section 7.1.3;
 - Zelle ch 8
   * skip sections 8.3 and 8.6.
 - Programming Style: Names

Feb. 10, 2006
Recitation 1 notes have been posted.

Feb. 9, 2006
Problem set 0 has been released.

Feb. 7, 2006
Reading for week one: Zelle ch 1, 2 and 3; and recitation 0.

Feb. 3, 2006
Please sign up for the course. If the link doesn't work, send an email to 6.095-staff with your athena username.

Feb. 1, 2006
The first lecture will be at 11am on Tuesday Feb. 7 in 26-414.