Days | Topics | Resources | Files | Projects |
8/31 & 9/2 |
Programming & Python Overview; Environment Set-up
|
ZY: Chapter 1; LPP: Chapters 01-03
|
average.py
|
Assignment0 |
9/9, 9/14 & 9/16 |
Turtle Graphics, Functions; Python Basics: Data, Operators, Expressions
|
ZY: Chapters 2-3, 8.1-8.3; LPP: Videos 04.1, 04.2, 08.1, 11.1-4
|
gpa.txt, gpa.py,
turtleyStuff.py
|
Assignment1 (Turtle Graphics) |
9/21 & 9/23 |
Decisions, Boolean Expressions, Loops; Docstrings
|
ZY: Chapters 4-5; LPP: Videos 04.4, 06, 07.1-3, 08.1-3
|
hwsums.py
|
Assignment2 (Brownian Motion) |
9/28 & 9/30 |
Strings & Sequences; Input & Output
|
ZY: Chapters 6-7.6, 8; LPP: Videos 04.3, 04.5, 04.7, 05, 07.6-7, 08.6
|
sequence & string examples in the
interpreter, pigTranslate.py example
|
Assignment3 (Genome Sequences) |
10/5 & 10/7 |
Functions, Scoping, Modules; Doctest; Assertions
|
ZY: Chapters 9-10; LPP: Videos 11, 12.3, 13, 14.1, 14.2
|
scope.py sample scoping program,
demo scripts: assert.txt, functionParameters.txt
|
Assignment4 (Echocardiogram Vectors) |
10/12, 10/14 & 10/15 |
Quiz1 on Monday, Nested Lists, List Comprehensions & Matrices; Pep8; Sets & Recursion
|
ZY: Chapters 7.7-7.11, 11; LPP: Videos 08:3-4, 10:all, 12:1-2
|
Sample
code: table creation script from lecture, matrices.py, recurse.py;
Demo scripts: sequences.txt
, setScript.txt
|
Assignment5 (Recursive Backtracking) |
10/19 & 10/21 |
More Matrices: PyPlot & NumPy
|
ZY: Chapter 12; LPP: Videos 10 (review)
|
tempPlot.py pyplot sample
program,
npArrays.txt NumPy example script
|
Assignment6 (Heat Plates) |
10/26 & 10/28 |
Object Oriented Programming: defining classes, protecting data,
inheritance, Quiz2 on Wednesday
|
ZY: Chapters 13-14; LPP: Chapters 15 & 16
|
flock.py OO turtles, Card.py
and CardTest.py examples of
defining and using a class,
partial CardHand.py collection
of Card objects, CardDeck.py
example of inheritance
|
Assignment7 (Experiment Classes) |
11/2 & 11/4 |
PyGame: working with classes, event-driven programming
|
|
PyGame
examples: colors.py, circles.py, stars.py, bounce.py, bounceCage.py,
mouseCircles.py
|
Assignment8 (Video Game - partners) |
11/9 & 11/11 |
Searching, Sorting & Algorithm Efficiency, Quiz3 on Wednesday
|
|
|
|
11/16 & 11/18 |
Dictionaries; Working with URLs & Excel
|
ZY: Chapter 7.12-7.15; LPP: Videos 04:6, 08:5, 18:3
|
dictionary examples, courses.txt,
courses.py, courses.xls
|
Assignment9 (Course Database) |
11/30 |
Testing & Exception Handling
|
ZY: Chapter 15; LPP: Chapter 17, Python Exceptions
docs, built-in
exceptions
|
except.py collection of
examples, CourseID.py example,
updated courses.py example
|
|
12/2 |
Quiz 4; Game Demos |
|
|
Study for Final |
12/16, 2-5p |
Final
|
|
|
|