Introduction to Computer Programming (UA-0002.002)
Fall 2013 -- Section 2: Python
Professor: Andrew Case

Don't stop at one bug.
- The Elements of Programming Style (Kernighan & Plaugher)

General .:. Syllabus .:. Class Notes .:. Assignments .:. Help

Class Notes

ClassDateTopicsReadingsSample Code
0 9/3 Intro to Programming
What is Programming
Chapter 1 idle_session.txt, terminal_session.txt
1 9/5 What is Programming (cont'd) Chapter 2 idle_session.txt, helloworld.py
2 9/10 Type Conversion
String functions
ocumentation
Basics
Chapter 2 class2.py
idle_session.txt
3 9/12* Coding Style
Logical Flow
Nested Flow
Chapter 4 class3.py
idle_session.txt
4 9/17 Boolean Logic (see "Logical Flow")
Base Conversions
Chapter 4 class4.py
5 9/19* Logical Flow (cont'd)
Nested Flow (cont'd)
Chapter 4 class5.py
6 9/24 Functions Chapter 5 Class6.py
7 9/26* Functions (cont'd) Chapter 3 Class7.py
8 10/1 Functions (cont'd)
Loops
Chapter 5 Class8.py
idle_session.txt
9 10/3* Loops (cont'd)
Midterm Review
Chapter 5 Class9.py
10 10/8 MIDTERM 1
Midterm1 Study Guide
11 10/10 Loops (cont'd)
Functions (cont'd)
Random
Chapter 6 Class11.py
12 10/15 Fall Break - No Class!
13 10/17 Midterm Post-review Chapter 6
14 10/22 Turtle Graphics
Sequences (strings)
Chapter 8 class14.py
games.py
roller.py
15 10/24 Design
Modules
Sequences
Strings as Objects
Chapter 8 Class15.py
idle_session.txt
16 10/29 Characters
Data Structures (Lists)
Chapter 8 Lecture16.py
idle_session.txt
17 10/31 String Modification
Chapter 9 Lecture17.py
18 11/5 Lists
Tuples
Sets
Chapter 10 hamlet.py
idle_session.txt
19 11/7 Dictionaries
Chapter 10 Lecture19.py
idle_sesion.txt
20 11/12 Midterm Review
Chapter 10 Lecture20.py
21 11/14 MIDTERM2
Midterm2 Study Guide
stats.py
22 11/19 Exception Handling
Input/Output
Chapter 7 idle_session.txt
Lecture22.py
23 11/21 References (see Data Structures notes)
Nested Data Structures
Chapter 7 idle_session.txt
Lecture23.py
24 11/26 File I/O
Chapter 7 Lecture24.py
animals.txt
Class15.py
hamlet.txt
veggies.pck
25 11/28 Thanksgiving break - No Class!
26 12/3 Recursion
Chapter 13 pickling.py
recursion.py
27 12/5 Midterm Review
Chapter 13 midterm_review.py
28 12/10 Problem sets
recursion_vs_iteration.py
recursive_drawing.py
29 12/12 Finals Review
recursion.py
3012/17 2-3:50pm FINAL EXAM in WWH202
Study Guide
Appendix

* - Homework due this day
© 2010-2014 Andrew I. Case