Spring 2007 — CSE 399-004 — Notes and assignments
Lecture notes
- Lecture 01 — Introduction to Python (January 8, 2007):
PDF
, PDF-6up
- Lecture 02 — Data, Classes, and Modules (January 22, 2007):
PDF
, PDF-6up
- Lecture 03 — Scoping and Classes (January 29, 2007):
PDF
, PDF-6up
- Lecture 03.5 — Alpha-beta Pruning (January 29, 2007):
PDF
, PDF-6up
- Lecture 04 — Assorted Topics (February 5, 2007):
PDF
, PDF-6up
- Lecture 05 — Course project and Exceptions (February 12, 2007):
PDF
, PDF-6up
- Lecture 06 — with-statements and Threads (February 19, 2007):
PDF
, PDF-6up
- Lecture 07 — Packages, Command-line arguments, and Unit testing (February 26, 2007):
PDF
, PDF-6up
- Lecture 08 — wxPython Intro (March 12, 2007):
PDF
, PDF-6up
, 01-hello.py
, 02-error.py
, 03-calc.py
, 04-calc.py
- Lecture 09 — wxPython (March 12, 2007):
PDF
, tictactoe.py
, blank.png
, o.png
, x.png
- Lecture 10 — Functional Programming, Memoization (March 26, 2007):
PDF
, PDF-6up
- Lecture 11 — Regular expressions (April 2, 2007):
PDF
, PDF-6up
- Lecture 12 — Decorators, Overloading built-in syntax (April 9, 2007):
PDF
, PDF-6up
- Lecture 13 — Design (April 16, 2007):
PDF
, PDF-6up
, wiki.zip
Homeworks
Note: Solutions can only be
downloaded from computers in the upenn.edu domain.
- Survey: PDF
Due Friday, January 12, 2007 at 9am
- Homework 1: PDF
Due Tuesday, January 16, 2007 at 10am
Solution: hw01.py
- Homework 2: PDF,
hw2ex4.txt
Due Monday, January 22, 2007 at 10am
Solution: hw02.py,
another_sample.txt
- Homework 3:
PDF ,
Board.py ,
OthelloBoard.py
Due February 5, 2007 at 10am
Solution: see Homework 4
- Homework 4:
PDF ,
update.py ,
OthelloAI.py
Due February 5, 2007 at 10am
Solution:
Board.py ,
OthelloBoard.py ,
OthelloAI.py
- Homework 5:
PDF
Due Monday, February 19, 2007 at 10am
- Homework 6:
PDF
Due Monday, February 26, 2007 at 10am
Solution: not available yet
Project
See Lecture 5 for information about the project. The requirements for
the project proposal are in Homework 5.
Projects are due on Friday, April 20, 2007 at 5pm.