CS108 Spring 2011
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/19 Introduction Zelle 1.1-1.8
THU 1/20 Lab 01: Set up lab account
Getting into Python
FRI 1/21 Python introduction, output Zelle 1.1-1.8 20110121.interactive.txt
helloworld.py
HW01, due WED 1/26
Date Topics Readings Examples Assignment
MON 1/24 Input and Output Zelle 1.1-1.8 currencyConversion.py
testinput.py
WED 1/26 Computing With Numbers Zelle 2.1-2.5 presentValue.py
snacktime.py
THU 1/27 Lab 02: Computing With Numbers HW02, due 2/1
FRI 1/28 Higher Math Zelle 2.6-2.8 20110128.interactive.py
treeHeight.py
Date Topics Readings Examples Assignment
MON 1/31 Repetition with Definite Loop Zelle 3.1-3.3 bottlesOfBeer.py
cashRegister.py
WED 2/2 Iterative Numeric Processing
Accumulator Pattern
Zelle 3.4-3.7
THU 2/3 Lab 03: Definite Loop (solutions) HW03, due 2/8
FRI 2/4 QUIZ 1
Review/Discuss Homework
Date Topics Readings Examples Assignment
MON 2/7 Strings and string operations Zelle 4.1-4.3 reviewInput.py
usernames.py
WED 2/9 string module
Character encoding
Zelle 4.1-4.3 20110209.interactive.txt
THU 2/10 Lab 04: String operations and characters HW04, due 2/15
FRI 2/11 Discuss homework
Reading from files
Date Topics Readings Examples Assignment
MON 2/14 Object Oriented Programming
Introduction to Graphics
Zelle 5.1-5.5 20110214.interactive.txt
WED 2/16 Object Oriented Programming (continued) Zelle 5.1-5.5 20110216.interactive.txt
colorSamples.py
THU 2/17 Lab 05: Graphics practice HW05, due 2/22
FRI 2/18 QUIZ 2
Discuss homework
showOrigin.py
Date Topics Readings Examples Assignment
MON 2/21 UNIVERSITY HOLIDAY, NO CLASSES
TUE 2/22 MONDAY SCHEDULE
Functions, Parameters, Return Values
Zelle 6.1-6.7 happyBirthday.py
smiley.py [starter code]
smiley.py [finished example]
WED 2/23 Logical Expressions
Decisions Making
Zelle 7.1-7.3 grading.py
oddOrEven.py
THU 2/24 Lab 06: Functions and Decisions (solutions) HW06, due 3/1
FRI 2/25 Repetition with Indefinite Loop Zelle 8.1-8.3 average.py [definite loop]
average2.py [indefinite loop, counter]
average3.py [indefinite loop, interactive]
Date Topics Readings Examples Assignment
MON 2/28 Repetition with Indefinite Loop Zelle 8.1-8.3 average4.py [indefinite loop, sentinel-controlled]
average5.py [indefinite loop, sentinel-controlled]
yesorno.py [infinite loop]
busyloop.py [busy loop]
WED 3/2 Repetition with Indefinite Loop Zelle 8.1-8.3 validatingUserInput.py
busyloop.py
THU 3/3 Lab07: Indefinite Loop HW07, due 3/8
FRI 3/4 QUIZ 3
Review/Discuss Homework
Date Topics Readings Examples Assignment
MON 3/7 Lists Zelle 11.1-11.3 statistics.py
WED 3/9 Dictionaries Zelle 11.6 wordcount01.py [list version]
20110309.interactive.txt
wordcount02.py [dict version]
THU 3/10 Lab 08: Start HW08 (Lists and Dictionaries) HW08, due 3/22
FRI 3/11 Discuss homework
Date Topics Readings Examples Assignment
MON 3/14 SPRING BREAK
WED 3/16 SPRING BREAK
THU 3/17 SPRING BREAK
FRI 3/18 SPRING BREAK
Date Topics Readings Examples Assignment
MON 3/21 Databases and SQL SQL Tutorial
WED 3/23 Python Database API DBAPI webapges stocks.db [sample sqlite3 database]
20110323-sql-examples.txt
stocksExample.py
THU 3/24 Lab 09: Databases and SQL HW09, due 3/29
FRI 3/25 QUIZ 4
Review/Discuss Homework
20110325-sql-examples.txt
Date Topics Readings Examples Assignment
MON 3/28 The World Wide Web and HTML HTML Tutorial sample.html
WED 3/30 Generating HTML from Python HTML Tutorial hello.py
THU 3/31 Lab 10: HTML and Python Web Applications HW10, due 4/5
FRI 4/1 HTML Forms (introduction) formexample.html
Date Topics Readings Examples Assignment
MON 4/4 HTML Forms and CGI
INTERNAL SERVER ERROR
HTML Tutorial whosthere.py
WED 4/6 HTML Forms - Prefilling Form Fields HTML Tutorial whosthere.py
webcalc.py
formprocessing.py
THU 4/7 Lab 11: HTML Forms and CGI HTML Tutorial HW11, due 4/12
FRI 4/8 QUIZ 5
Discuss Final Project
Final project, due 5/4
Date Topics Readings Examples Assignment
MON 4/11 Web App with Database sendmail-example.txt
stocks.py
WED 4/13 Web App with Database stocks.py [code]
live version
THU 4/14 Lab 12: Web Application with Database
FRI 4/15 More on webapp & database
stocks.py [code]
live version
HW12, due 4/19
Date Topics Readings Examples Assignment
MON 4/18 UNIVERSITY HOLIDAY, NO CLASSES
WED 4/20 Web Apps - Cookies and Session State
Work on Final Project/Discuss Topics of Interest
Python Chip Cookies snoop.py
rememberMe.py
THU 4/21 BU MONDAY SCHEDULE
Work on Final Project/Discuss Topics of Interest
FRI 4/22 Work on Final Project/Discuss Topics of Interest
Date Topics Readings Examples Assignment
MON 4/25 QUIZ 6
Work on Final Project/Discuss Topics of Interest
WED 4/27 Work on Final Project/Discuss Topics of Interest
Meet at CS undergraduate lab, EMA 302 at 9am
THU 4/28 Lab/TF evaluations
Work on Final Projects
FRI 4/29 Work on Final Project/Discuss Topics of Interest
Meet at CS undergraduate lab, EMA 302 at 9am
Date Topics Readings Examples Assignment
MON 5/2 Off-topic Discussion
WED 5/4 Exam Review
THU 5/5 Lab Exam
Date Topics Readings Examples Assignment
FRI 5/13 Final Exam @ PSY B53
Friday 5/13 3:00-5:00pm