CS108 Spring 2010
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 current week.

Date Topics Readings Examples Assignment
WED 1/13 Introduction Zelle 1.1-1.8
THU 1/14 Lab 01: Set up lab account
Getting into Python
helloworld.py
FRI 1/15 Python introduction, output Zelle 1.1-1.8 textoutput.py
conversion.py
HW01, due 1/20
Date Topics Readings Examples Assignment
MON 1/18 UNIVERSITY HOLIDAY, NO CLASSES
WED 1/20 Computing With Numbers Zelle 2.1-2.5 calculatePV.py
snacktime.py
THU 1/21 Lab 02: Computing With Numbers HW02, due 1/26
FRI 1/22 Higher Math Zelle 2.6-2.8 20100122.interatice.txt
height.py
quadratic.py
Date Topics Readings Examples Assignment
MON 1/25 Definite Loop Zelle 3.1-3.3 bottlesofbeer.py
rafterLengths.py
WED 1/27 Iterative Numeric Processing
Accumulator Design Pattern
Zelle 3.4-3.7 cashRegister.py
average.py
factorial.py
compoundInterest.py
THU 1/28 Lab 03: Definite Loops (solutions) HW03, due 2/2
FRI 1/29 QUIZ 1
Review/Discuss Homework
Date Topics Readings Examples Assignment
MON 2/1 String operations Zelle 4.1-4.3 textOperations.py
usernames.py
reverse.py
WED 2/3 String module and
Character encoding
Zelle 4.1-4.3 20100203.interactive.txt
findall.py
replace.py
decoder.py
THU 2/4 Lab 04: String operations and characters HW04, due 2/9
FRI 2/5 Reading/Writing files readfile.py
20100205.interactive.txt
Date Topics Readings Examples Assignment
MON 2/8 Object Oriented Programming
Introduction to Graphics
Zelle 5.1-5.5 graphics.py for OSX 10.6
drawing.py my example from class
WED 2/10 Object Oriented Programming (continued) Zelle 5.1-5.5 colorExample.py
20100210.interactive.txt
THU 2/11 Lab 05: Graphics practice HW05, due 2/16
FRI 2/12 QUIZ 2
Date Topics Readings Examples Assignment
MON 2/15 UNIVERSITY HOLIDAY, NO CLASSES
TUE 2/16 MONDAY SCHEDULE
Functions, Parameters, Return Values
Zelle 6.1-6.7 birthday.py
smiley.py[starter code]
smiley.py[finished version]
WED 2/17 Logical Expressions and
Decisions Making
Zelle 7.1-7.3 grading.py
tipCalculator.py
THU 2/18 Lab 06: Functions and Decisions (Solutions) HW06, due 2/23
FRI 2/19 Snow Day/TBA
Date Topics Readings Examples Assignment
MON 2/22 Repetition with Indefinite Loop Zelle 8.1-8.3 average02.py
average03.py
average04.py
WED 2/24 Repetition with Indefinite Loop Zelle 8.1-8.3 validatingUserInput.py
validatingUserInput2.py
THU 2/25 Lab07: Indefinite Loops HW07, due 3/2
FRI 2/26 QUIZ 3
Date Topics Readings Examples Assignment
MON 3/1 Lists Zelle 11.1-11.3 wordcount.py
WED 3/3 Dictionaries Zelle 11.6 20100303.interactive.txt
wordcount02.py
THU 3/4 Lab 08: Start HW 08 - Dictionaries HW08, due 3/16
FRI 3/5 Discuss homework 08
Introduce Final Project
fileBrowser.py
grep.py
Date Topics Readings Examples Assignment
MON 3/8 SPRING BREAK
WED 3/10 SPRING BREAK
THU 3/11 SPRING BREAK
FRI 3/12 SPRING BREAK
Date Topics Readings Examples Assignment
MON 3/15 Databases and SQL SQL Tutorial sql_examples.txt
Web SQL client
WED 3/17 Python Database API DBAPI webapges sql_examples.txt
dbexample.py
miniFB.db
THU 3/18 Lab 09: Databases and SQL HW09, due 3/23
FRI 3/19 QUIZ 4
Review/Discuss Homework
dbexample.py
Date Topics Readings Examples Assignment
MON 3/22 The World Wide Web and HTML HTML Tutorial helloworld.html
WED 3/24 Generating HTML from Python HTML Tutorial helloweb.py
THU 3/25 Lab 10: HTML and Python Web Applications HW10, due 3/30
FRI 3/26 HTML Forms (introduction) webform-example.html
Date Topics Readings Examples Assignment
MON 3/29 HTML Forms and CGI
HTML Tutorial whosthere.py
webcalc.html
WED 3/31 HTML Forms and CGI -
Prefilling Form Fields
HTML Tutorial webcalc.py
processForm.py
THU 4/1 Lab 11: HTML Forms and CGI HTML Tutorial HW11, due 4/6
FRI 4/2 QUIZ 5
Discuss Final Project
Notes on creating a sqlite3 database
Final project, due 4/28
Date Topics Readings Examples Assignment
MON 4/5 Web App with Database processForm.py
tables.html
miniFacebook.py
WED 4/7 Web App with Database miniFacebook.py
THU 4/8 Lab 12: Web Application with Database
FRI 4/9 Web Apps - Cookies and Session State Python Chip Cookies snoop.py
rememberMe.py
urlopen_interactive.txt
HW12, due 4/13
Date Topics Readings Examples Assignment
MON 4/12 Work on Final Project/Discuss Topics of Interest parseCarsIntoDB.py
WED 4/14 Work on Final Project/Discuss Topics of Interest
THU 4/15 Creating a DB for the web.
FRI 4/16 QUIZ 6
Date Topics Readings Examples Assignment
MON 4/19 UNIVERSITY HOLIDAY, NO CLASSES
WED 4/21 Work on Final Project/Discuss Topics of Interest
THU 4/22 Lab/TF evaluations
Discuss lab exam
Work on Final Projects
FRI 4/23 Off-topic Discussion
Date Topics Readings Examples Assignment
MON 4/26 Guest Speaker: Camera Mouse
WED 4/28 Exam Review
THU 4/29 Lab Exam
Date Topics Readings Examples Assignment
SAT 5/8 Final Exam @ MCS 148 MCS 135
SATURDAY 5/8 3:00pm-5:00pm
WEDNESDAY 5/5 8:30-10:30am