Schedule
This schedule will be filled out as the course progresses.
Day | Date | Topics, Slides, Code | Readings | Assignments, Labs, Exam info |
---|---|---|---|---|
1 H | 8/31 |
Topics: Intro to the course; intro to expressions, variables, functions, pictures and
pixels
Code: |
|
|
2 | 9/2 |
Topics: Admin details + continued
Code: |
Continued | |
R | 9/4 | Lab 1 (attendance needed for credit) | ||
9/7 | No Class | A CodeLab is Due Tues Sept 8 | ||
3 | 9/9 |
Functions
Slides Code: |
|
|
R | 9/11 | Lab 2 (attendance needed for credit) | ||
4 | 9/14 |
Functions, continued; tracing and understanding programs
Code: |
|
A CodeLab is Due Sept 14 Assignment 1 is available right here |
5 | 9/16 |
Scope; Mutability and aliasing;
Boolean logic and if-statements
Code: |
|
|
R | 9/18 | Lab 3 (attendance needed for credit) | ||
6 | 9/21 |
Booleans; If-statement; Strings
Code: |
|
A CodeLab is Due Sept 21 |
7 | 9/23 |
Finish the string functions from last time; Objects versus methods;
Even more on strings
Code: |
|
|
R | 9/25 | Lab - CANCELLED!!! No recitations today. | ||
8 | 9/28 |
While loops; Lists
Code: |
Assignment 1 Due The Due Date has been extended to Wednesday at 11pm. If you hand in a correct solution by today at 11pm, you get a bonus 5 points. | |
9 | 9/30 |
More problem solving with lists and loops.
Code: |
A CodeLab is Due Sept 30 | |
R | 10/2 | Lab 4 (attendance needed for credit) | ||
10 | 10/5 |
Test 1
Test 1 Info Sample Test Sample Test Solution Solution to Test 1 |
||
11 | 10/7 |
More problem solving with lists and loops, including nested lists and
nested loops.
Code: |
||
R | 10/9 | Lab 5 (attendance needed for credit) | ||
12 | TUES 10/13 | Finish going over Test 1. Look at Assignment 2 and test files. Go over Lab 5. | ||
13 | 10/14 |
Files, tuples, dictionaries.
Code |
|
A CodeLab is Due October 14 |
R | 10/16 | Lab 6 (attendance needed for credit) | ||
14 | 10/19 |
Dictionaries, continued
Code |
Assignment 2 Due Assignment 2 is available right here. | |
15 | 10/21 |
Problem solving using dictionaries, tuples and lists
Code |
||
R | 10/23 |
lab7.py
lab7.dat files.py |
Lab 7 (attendance needed for credit) | |
16 | 10/26 |
Test 2
Test 2 Info Test 2 Solution |
||
17 | 10/28 |
Scientific Paper Generator
Plus, see the files for the last lecture |
||
R | 10/30 | We finished lab 7 and started lab 8. The lab 8 files will be covered in lecture Monday. | Lab 8 (attendance needed for credit) | |
18 | 11/2 |
hopedale.dat
lynx.txt sp16_2.py sp16_3_incorrect.py sp16_3.py sp16_4.py The following files are described in the text, Chapter 8 multimol.pdb multimol_no_ends.pdb multimol.py multimol_2.py lookahead.py lookahead_2.py |
||
19 | 11/4 |
shell-nov4
exam2lecture_q1.py |
Interim Assignment 3 Due
. Interim Assignment 3 is available right here. The full assignment 3 is available right here. |
|
R | 11/6 | Go over exam and assignment 3. | Lab 9 (attendance needed for credit) | |
20 | 11/9 |
exam2correct_q1.py
string_to_list.py exam2lecture_q2.py Python Shell |
||
21 | 11/11 |
Finish variations of exam 2 solutions; formatted printing; modules
(the mystery of __name__); interesting parameter options.
Code for today Python Shell |
Ch 4, through section 4.4 |
Full Assignment 3 Due
. The full Assignment 3 is available right here. |
R | 11/13 |
handout
debug.py |
Lab 10 (attendance needed for credit) | |
22 | 11/16 |
Using dictionaries to simplify code; solutions to
Assignment 3 which do this; debugging.
debug.py debug_not_fixed.py debug_fixed.py |
Ch 10 Ch 11 |
|
23 | 11/18 | Go over the project | The project description is available right here. | |
R | 11/20 | Lab 11 (attendance needed for credit) | ||
24 | 11/23 |
Algorithms and Complexity Theory
stringmatchers.py timing_all.py stringmatchers1.py timing_all1.py (very) brief notes on CS |
||
11/25 | No Class | |||
11/27 | No Recitations | |||
25 | 11/30 | Review for Test 3 | ||
26 | 12/2 |
Test 3
Test 3 Info Test 3 solution |
||
R | 12/4 | Lab 12 (attendance needed for credit) | ||
27 | 12/7 |
searching.py time_searching.py sorting.py We covered insertion sort this day. |
||
28 | 12/9 | We covered selection sort this day. |
Project Due
The project description is available right here. |
|
R | 12/11 | Lab 13 (attendance needed for credit) | ||
12/17 | Thursday, 10-11:50am | Final Exam |