CS108 FALL SEMESTER 2011 SCHEDULE
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.
Date Class # Subject Readings Assignment
TUE 9/6 1 Introduction Zelle 1.1-1.8
THU 9/8 2 Python introduction, output
Example: helloworld.py
Example: currencyconversion.py
Zelle 1.1-1.8
FRI 9/9 Lab 0
Lab 1
Lab 00: Set up lab account
Lab 01: Getting into Python
HW01 (due 9/14)
         
TUE 9/13 3 Input and Output
Computing With Numbers
Example: reviewInput.py.py
Example: snacktime.py
Example: numberFormat.py
Example: 20110913.interactive.txt
Zelle 2.1-2.5
THU 9/15 4 Higher Math
Example: treeHeight.py
Repetition with Definite Loop
Example: bottlesOfBeer.py
Zelle 3.1-3.3
FRI 9/16 Lab 2 Lab 02: Computing With Numbers HW02 (due 9/21)
         
TUE 9/20 5 Repetition with Definite Loop
Iterative Numeric Processing
Example: cashRegister.py
Example: average.py
Example: factorial.py
Zelle 3.1-3.3
Zelle 3.4-3.7
THU 9/22 6 QUIZ 1
Strings and string operations
Example: pickALetter.py
Example: usernames.py
Zelle 4.1-4.3
FRI 9/23 Lab 3 Lab 03: Definite Loop HW03 (due 9/28)
         
TUE 9/27 7 Strings and string operations
Character Encoding
Example: characterFrequency.py
Example: replace.py
Example: asciiDecoder.py
Zelle 4.1-4.3
THU 9/29 NO LECTURE - ROSH HASHANNA
FRI 9/30 Lab 4 Lab 04: String operations and characters HW04 (due 10/5)
         
TUE 10/4 8 Object Oriented Programming
Introduction to Graphics

Example: 20111004.interactive.txt
Example: 20111004b.interactive.txt
Zelle 5.1-5.5
THU 10/6 9 QUIZ 2
Object Oriented Programming (continued)
Zelle 5.1-5.5
Zelle's Graphics Reference
HW05 (due 10/12)
FRI 10/7 Lab 5 Lab 05: Graphics practice
         
TUE 10/11 10 Functions
Example: smiley.py [starter code]
Example: smiley.py [finished]
Example: happyBirthday.py
Example: returnValue.py
Zelle 6.1-6.7
THU 10/13 11 Logical Expressions
and Decision Making
Example: 20111013.interactive.txt
Example: grading.py
Example: minOf3Numbers.py
Zelle 7.1-7.3
FRI 10/14 Lab 6 Lab 06: Functions and Decision Making HW06 (due 10/19)
         
TUE 10/18 12 Repetition with Indefinite Loop
Example: average.py [definite loop version]
Example: average2.py [indefinite loop, counter-controlled]
Example: bouncingBall.py [indefinite loop, counter-controlled ]
Example: average3.py [indefinite loop, interactive]
Example: average4.py [indefinite loop, sentinel-controlled]
Example: average5.py [indefinite loop,sentinel-controlled]
Zelle 8.1-8.3
THU 10/20 13 QUIZ 3
Repetition with Indefinite Loop (continued)
Example: yesorno.py
Example: busyloop.py
Example: validatingUserInput.py
Zelle 8.1-8.3
FRI 10/21 Lab 7 Lab07: Indefinite Loop HW07 (due 10/26)
Date Class # Subject Readings Assignment
TUE 10/25 14 Data Structures: Lists
Example: average6.py
Zelle 11.1-11.3
THU 10/27 15 Data Structures: Dictionaries
Example: wordcount.py [list version]
Example: wordcount2.py [dict version]
wordcount2.py wordcount.py
Zelle 11.6
FRI 10/28 Lab 8 Lab 08: Using Lists and Dictionaries HW08 (due 11/2)
         
TUE 11/1 16 Databases and SQL
Examples: sql-examples.txt
SQL Tutorial
THU 11/3 17 QUIZ 4
Python Database API
Example: stocks.db [sample database]
Example: dbexample.py[python code]
DBAPI webapges
FRI 11/4 Lab 9 Lab 09: Databases and SQL HW09 (due 11/9)
         
TUE 11/8 18 The World Wide Web and HTML
Example: webpage.html?
HTML Tutorial
THU 11/10 19 Generating HTML from Python
Example: a.py
Example: b.py?
Example: hello.py?
HTML Tutorial HW 10 (due 11/14!!!)
FRI 11/11 UNIVERSITY HOLIDAY, NO LAB MEETING LAB 10 By Yourself
         
TUE 11/15 20 Web App - HTML Form inputs
Example: formexample.html
Example: whosthere.py
Example: webcalc.py
Final Project Assigned
THU 11/17 21 QUIZ 5
Web App with Database
Example: viewStocks.py[starter]
Example: viewStocks.py[complete version]
Python Chip Cookies Final Project (due 12/8)
FRI 11/18 Lab 11 Lab 11: Web App With Database (discussion) HW 11 (due 11/23)
         
TUE 11/22 THANKSGIVING HOLIDAY: NO LECTURE
THU 11/24 THANKSGIVING HOLIDAY: NO LECTURE
FRI 11/25 THANKSGIVING HOLIDAY: NO LABS
         
TUE 11/29 22 Review/Wrap up homework 11
Work on Final Project
Create and populate a MySQL database
THU 12/1 23 HTTP Sessions and Cookies
Example: snoop.py
Example: rememberMe.py
Work on Final Project
FRI 12/2 Lab 12 Work on Final Project
         
TUE 12/6 24 QUIZ 6
Off-topic Discussion
THU 12/8 25 Exam Review
THU 12/9 Lab Exam Lab Exam during regular lab time
         
FRI 12/16 EXAM CS108 Exam 9 - 11 am @ PHO 210