Jan 18 M. | Introduction (half day) |
U1 Simple Programs
Date | Lesson | Readings | Handout | Examples | Hw | Lab |
---|---|---|---|---|---|---|
Jan 20 W. | What is CS? Intro to picobot | 1 | h1 | No lab | ||
Jan 22 F. | Types, expression & assignment | 2 + | h2 | #1 picobot | ||
4.4 for mod | ||||||
Jan 25 M. | Input, process, output | 3.1-3.3, 3.6, 3.7 | h2b | console ex1.py | ||
Jan 27 W. | Function calls, built-in, composition | review 2 & 3 | h3 | days | Hw #1 due Thu 28th | #1 python basic |
U2 Control Flows
Date | Lesson | Readings | Handout | Examples | Hw | Lab |
---|---|---|---|---|---|---|
Jan 29 F. | for loops, accumulator pattern |
3.5 | h4_sol | forString.py | ||
Feb 1 M. | for loops with range |
3.8-3.9 | h5_sol | forRange.py | #2 python first programs + for | turtle |
Feb 3 W. | boolean and conditional expressions |
4 | h6 | dots.py | #2 loop pattern | |
Feb 5 F. | Conditionals in for loops |
review 4 | h7 | printSquare.py | ||
Feb 8 M. | Exercises | h7_sol | h7_a.py | |||
Feb 10 W. | String indexing | 3.4 | h8 | h7_b.py | #3 for and conditionals |
|
h8_sol | strInd.py | |||||
Feb 12 F. | Nested loop | interactive python | h9_sol | nestedTrace.py | Hw #2 due Fri 12th | |
h10_sol | ||||||
Feb 15 M. | Exam 1 in class : U1—U2 |
U3 Defining Functions
Date | Lesson | Readings | Handout | Examples | Hw | Lab |
---|---|---|---|---|---|---|
Feb 17 W. | Creating functions, parameters & execution | 5.1-5.4 | h11 | hi.py lyrics.py | #4 images | |
Feb 19 F. | Functions that return value | 5.6 | h12_sol | writeFunc.py | ||
local & global scope | 5.8 | moreFunc.py | #3 functions | |||
Feb 22 M. | Frame, stack, (im)mutable | 5.5, 5.7 | ugly.py good.py | #5 functions | ||
Feb 24 W. | docstring |
review 5 | h13 | |||
Feb 26 F. | Function examples | 7.1 | h14_sol | pizzas.py | Hw #3 due Fri 26th |
U4 List & While loops
Date | Lesson | Readings | Handout | Examples | Hw | Lab |
---|---|---|---|---|---|---|
Feb 29 M. | List | 7.2-7.6 | h15 | listEx.py | #4 functions w/ lists | #6 more functions |
Mar 1 W. | Lists & functions | 8 | minIndixes.py | |||
Mar 3 F. | while loop |
6 | h16_sol | fac.py avg.py | ||
Mar 6 M. | while & lists |
6 | checkLetter.py | Hw #4 due Mon 7th 10 a.m. | #7 while & list |
|
Mar 8 W. | Polling, sentinel | h17_sol | list_denise.py | |||
Mar 10 F. | Exam 2 in class : U1—U4 |
Spring Break
U5 Program Design
Date | Lesson | Readings | Handout | Examples | Hw | Lab |
---|---|---|---|---|---|---|
Mar 21 M. | String slicing | review 8 | h18 | strFct.py tri.py | #8 string slicing & functions |
|
Mar 23 W. | Design: mastermind | h19 | masStart.py | #5 hangperson | ||
Mar 25 F. | Design: Top down, DRY & SOFA | review 6 | h20 | masMid.py |
U6 Data Programming
Date | Lesson | Readings | Handout | Examples | Hw | Lab |
---|---|---|---|---|---|---|
Mar 28 M. | Design: mastermind II | 10 | masterFINAL.py | #9 string functions & I/O |
||
Mar 29 W. | Design: compare & contrast | |||||
Apr 1 F. | File i/o 1: file objects | h21 | ||||
Apr 4 M. | File i/o 2 | h22 | txt files |
Hw #5 due Tue 5th 10 a.m. | #10 I/O list | |
Apr 6 W. | Dictionaries 1 | dic1_sol | ||||
Apr 8 F. | List methods, aliasing | 11-11.7 | h23_24 | |||
13 | h24_sol | |||||
Apr 11 M. | Dictionaries 2 | 12 | dic2_sol | #11 dictionary (recursion intro) | ||
14-14.5 | ||||||
Apr 13 W. | review | 13.7 | dic3_sol | |||
Apr 15 F. | Exam 3 in class : U1—U6 | review3 | review3_sol | |||
Apr 18 M. | Dictionary 3: inner dict | #12 more dictionary |
U7 & U8 Recursion and Search Engine
Date | Lesson | Readings | Handout | Examples | Hw | Lab |
---|---|---|---|---|---|---|
Apr 20 W. | Recursion 1 | h29 | #7 search_word | |||
Apr 22 F. | Recursion 2 | 9.1-9,4 | h30_sol | #6 moodle | ||
Apr 25 M. | Crawl the web | 9.5-9,8 | h31_sol | #8 in class | #13 recursion (h31 practice) | |
Apr 27 W. | Ranking pages: random surfer | review 9 | ||||
Apr 29 F. | Process queries | Hw #7 due Fri. 29th 10 a.m. | ||||
May 6 F. | Final Exam at noon | simple_sol | part1_sol | |||
hard_sol | part2_sol |