CS108 Spring 2009
This is a tentative schedule, subject to adjustment as the term evolves.
The official version is the one posted to http://www.cs.bu.edu/courses/cs108/.
Check often for updates, examples, assignments, labs, etc.

Jump to This Week's Schedule.

Date Topics Readings Examples Assignment
WED 1/14 Introduction Zelle 1.1-1.8
THU 1/15 Lab 01: Set up lab account
Getting into Python
FRI 1/16 Python introduction, output Zelle 1.1-1.8 currencyconversion.py
helloworld.py
HW01, due 1/20
Date Topics Readings Examples Assignment
MON 1/19 UNIVERSITY HOLIDAY, NO CLASSES
WED 1/21 Computing With Numbers Zelle 2.1-2.5 interactive.20090121.txt
futurevalue.py
THU 1/22 Lab 02: Computing With Numbers HW02, due 1/27
FRI 1/23 Higher Math Zelle 2.6-2.8 quadratic.py
height.py
Date Topics Readings Examples Assignment
MON 1/26 Definite Loops Zelle 3.1-3.3 definiteLoops.py
bottlesofbeer.py
rafterLengths.py
WED 1/28 Accumulator Design Pattern Zelle 3.4-3.7 cashRegister.py
average.py
factorial.py
THU 1/29 Lab 03: Definite Loops (Solutions) HW03, due 2/3
FRI 1/30 QUIZ 1
Review/Discuss Homework
Date Topics Readings Examples Assignment
MON 2/2 String operations Zelle 4.1-4.3 interactive.20090202.txt
username.py
wc.py
reverser.py
WED 2/4 String module functions
Character encoding
Zelle 4.1-4.3 interactive.20090204.txt
piglatin.py
replace.py
decoder.py
THU 2/5 Lab 04: String operations and characters
(Solutions: facttable.py, caesarcipher.py)
HW04, due 2/10
FRI 2/6 Working with files Zelle 4.4-4.5 readingfiles.py
writefile.py
Date Topics Readings Examples Assignment
MON 2/9 Object Oriented Programming
Introduction to Graphics
Zelle 5.1-5.5 graphicstest.py
WED 2/11 Object Oriented Programming (continued) Zelle 5.1-5.5 graphicstest.py (revised/updated)
mixingcolors.py
THU 2/12 Lab 05: Graphics practice HW05, due 2/17
FRI 2/13 QUIZ 2
Functions, Parameters, Return Values
Zelle 6.1-6.7 happyBirthday.py
area51.py
Date Topics Readings Examples Assignment
MON 2/16 UNIVERSITY HOLIDAY, NO CLASSES
TUE 2/17 MONDAY SCHEDULE Functions (continued),
Logical Expressions/Decisions
Zelle 7.1-7.3 smiley.py [no functions]
smiley.py [with functions]
grading.py
WED 2/18 Decisions (continued)
Repetition
grading.py [updated]
guessword.py
average2.py
average3.py
average4.py
guessword2.py [updated]
THU 2/19 Lab 06: Functions and Decisions (Solutions)
HW06, due 2/24
FRI 2/20 Indefinite Loop (continued)
Validating User Input
Zelle 8.1-8.3 yesorno.py
busyloop.py
timerloop.py
validAge.py
validAge2.py
Date Topics Readings Examples Assignment
MON 2/23 User Defined Class Zelle 10.1-10.3 interactive.20090223.txt(re: hw06)
die.py
WED 2/25 User Defined Class (continued) Zelle 10.4, 10.5, 10.7 die.py [updated]
craps.py
THU 2/26 Lab 07: User Defined Classes (Solution) HW07, due 3/3
FRI 2/27 QUIZ 3
Review/Discuss Homework
Date Topics Readings Examples Assignment
MON 3/2 Lists Zelle 11.1-11.3
WED 3/4 Dictionaries Zelle 11.6 average5.py
THU 3/5 Lab 08: Using Lists and Dictionaries (Solution) HW08, due 3/18
FRI 3/6 Discuss homework interactive.20090306.txt
wordCount.py
Date Topics Readings Examples Assignment
MON 3/9 SPRING BREAK
WED 3/11 SPRING BREAK
THU 3/12 SPRING BREAK
FRI 3/13 SPRING BREAK
Date Topics Readings Examples Assignment
MON 3/16 Databases and SQL SQL Tutorial sql.examples.txt
investment.db
WED 3/18 Python Database API DBAPI webapges stocksExample.py
investment.db
THU 3/19 Lab 09: Databases and SQL HW09, due 3/24
FRI 3/20 QUIZ 4
Review/Discuss Homework
Date Topics Readings Examples Assignment
MON 3/23 World Wide Web and HTML HTML Tutorial index.html
WED 3/25 Web Applications
Generating HTML in Python
HTML Tutorial helloweb.py
THU 3/26 Lab 10: HTML and Python Web Applications UNIX Tutorial HW10, due 3/31
FRI 3/27 HTML Forms and CGI whoareyou.py
Date Topics Readings Examples Assignment
MON 3/30 HTML Forms and CGI
processing CGI parameters
HTML Tutorial survey.py
WED 4/1 Web Applications with Database HTML Tutorial investment.db
stockScreen.py
snoop.py
THU 4/2 Lab 11: HTML Forms and CGI HTML Tutorial HW11, due 4/7
FRI 4/3 QUIZ 5
Discuss Final Project
Final Project, due 4/29
Date Topics Readings Examples Assignment
MON 4/6 Introduction to GUI applications PyCard Overview
WED 4/8 GUI Dialogs
PythonCard Installation Instructions
PyCard Dialogs starter1.rsrc.py (starter code)
starter1.py (starter code)
dialogDemo.rsrc.py
dialogDemo.py
THU 4/9 Lab 12: GUI Application with Dialogs HW12, due 4/14
FRI 4/10 NO CLASS -- PASSOVER
Date Topics Readings Examples Assignment
MON 4/13 CLASS CANCELED -
Aaron's sick day
WED 4/15 Developing GUI Windows
GUI Input/Output Widgets
PyCard Resource Editor counter.rsrc.py
counter.py
THU 4/16 Lab 13: Developing GUI Window Applications HW13, due 4/22
FRI 4/17 GUI Selection Widgets PyCard Docs
Date Topics Readings Examples Assignment
MON 4/20 UNIVERSITY HOLIDAY, NO CLASSES
WED 4/22 GUI with Multiple Windows PyCard Tutorial chatWindowMessages.rsrc.py
chatWindowMessages.py
chatWindowMain.rsrc.py
chatWindowMain.py
THU 4/23 Help with Final Project
FRI 4/24 QUIZ 6
Help with Final Project
Date Topics Readings Examples Assignment
MON 4/27 Off-topic Discussion
WED 4/29 Exam Review
THU 4/30 LAB EXAM
Date Topics Readings Examples Assignment
TUE 5/5 Final Exam @ MCS 148
Tuesday 5/5 12:30-2:30 pm