Course Info & Schedule
Course Info
- Read the course description.
- Read the course policies.
- See lectures online.
- See solutions to selected problems.
Course Schedule
| Third Quarter, 2011-2012 | ||||||
| SUN | MON-ABCDEF | TUE-CADEFB | WED-BBAAEE | THU-DDFFCCA | FRI-FECBD | SAT |
| 1/29 | 1/30 | 1/31 | 2/1 | 2/2 | 2/3 | 2/4 |
| Test Wk Open | Unit 1, Day 1: Introduction to the course, the website, our computers. Intro to the Terminal, the shell/command line (ls, cd, ctrl-c) strong passwords | Unit 1, Day 2: More shell commands, and text editing; Demo-installing Cygwin; Intro to programming | Unit 1, Day 3: Intro to our server | |||
| crashwhite.com/compsci | ||||||
| HW: Explore course website, fill out student info form make sure you have textbook: John Zelle's Python Programming: An Introduction to Computer Science, 2011, 2nd Ed. | HW: Read Chapter 1, Sections 1.1-1.4; PC users- install Cygwin (including ssh and sftp) on your home machine. | HW: Read Chapter 1, Sections 1.5-1.8; do Chapter 1 programming exercises #1, #2, and #3. Submit ch01ex03-whiter.py to server, with your analysis written as a long comment in the body of the program. | ||||
| 2/5 | 2/6 | 2/7 | 2/8 | 2/9 | 2/10 | 2/11 |
| Test Wk B | Unit 1, Day
4 Programming Basics |
Unit 1, Day
5: Numeric Data Types: integers, floating, numeric operations, the math library, math library functions, converting numeric types. |
Unit 2, Day
1: Branching structures: the "if" statement, boolean expressions, "if-else" statements, nested "if" statements, "elif". |
Unit 2, Day
2: Modules; Programming Day: Coin Flipper |
||
| Assignment: coinflipper | ||||||
| HW: Read Chapter 2; do Chapter 2 programming exercises #2, #4. Upload your completed programs (with comments) to the server. | HW: Read Chapter 3, Sections 3.1-3.6, do Chapter 3 programming exercises #1, #3, #15(optional). Upload completed programs (w/comments) to the server. | HW: Take online quiz; Read Chapter 7, Sections 7.1-7.3; do Chapter 7 programming exercises #1, #3, #6, (#12 optional). | HW: Complete coinflipper-whiter.py and upload to server by Wednesday night. | |||
| 2/12 | 2/13 | 2/14 | 2/15 | 2/16 | 2/17 | 2/18 |
| Test Wk A | Unit 2, Day
3: Indefinite Loops: the "while" loop, interactive loops, sentinel loops, validating input |
Unit 2, Day
4: Code review of coinflipper; Programming Day: Craps |
Unit 2, Day
5: String Data Type: raw_input(), string operations,"chr" and "ord" functions, formatting |
Professional Growth Day | ||
| Assignment: craps | ||||||
| HW: Read Chapter 8, Sections 8.1, 8.2, 8.3.1, 8.3.2; do Chapter 8 programming exercises #1, #5, (#7 optional). | HW: Complete Craps program by Sunday night, upload to server | HW: Read Chapter 5, Sections 5.1-5.8; do Chapter 5 programming exercises #4, #5, #9, upload to server by Sunday night. | ||||
| 2/19 | 2/20 | 2/21 | 2/22 | 2/23 | 2/24 | 2/25 |
| Test Wk B | Presidents' Day Holiday | Unit 2, Day 6: Code review of Craps. "Pair programming" a craps program. Video: Italian Job, Jim Reekes |
Unit 2, Day
7: Basic List manipulation, list operations. Do Chapter 11, programming exercise #6, #11. |
Unit 2, Day 8: Study in Design: Max of Three |
||
| HW: Read Chapter 7, Section 7.5, 7.6. Read Chapter 11, Sections 11.1, 11.2 | HW: Finish programs #6, #11, and upload to server. | HW: Reading: Origin of Computing. Take online quiz. | ||||
| 2/26 | 2/27 | 2/28 | 2/29 | 3/1 | 3/2 | 3/3 |
| Test Wk A | Unit 2, Day
9: Programming Day: Selection Sort |
Unit 2, Day
10: Programming Day: Bubble Sort, Binary Search |
Independent
Project 1: Intro to First Independent Project. Introduction. Specs. Design. Coding. |
Independent
Project 1: Coding |
||
| Assignment: IndepProj1 | ||||||
| HW: Complete Selection sort, upload to server. | HW: Complete Bubble sort, upload to server. (Binary Search is optional). | HW: | ||||
| 3/4 | 3/5 | 3/6 | 3/7 | 3/8 | 3/9 | 3/10 |
| Test Week B | Independent
Project 1: Coding |
Independent
Project 1: Complete assignment |
Unit 3, Day 1: Structural Elements: Functions, Classes, Objects, Methods: Functions, parameters, passing to a function, getting results from a function, modifying parameters, why use functions (Pair Programming activity) |
Unit 3, Day 2: More practice with functions; immutable vs. mutable, assignment by reference | ||
| HW: Code! | HW: Code! Upload completed project to server by midnight. | HW: Read Chapter 6, Sections 6.1-6.7, do Ch 6 programming exercises #1, #3, upload to server. | HW: Do Ch 6 programming exercises #7, #12, upload to server. | |||
| 3/11 | 3/12 | 3/13 | 3/14 | 3/15 | 3/16 | 3/17 |
| Test Wk Open | Unit 3, Day 3: Intro to Graphics programming - Pygame. Pixels, lines, shapes. USB drives w/Ubuntu, Pygame available. | Unit 3, Day 4: More graphics; Animation with Pygame | Independent Project 2: randomWalker, spirograph, fractals. Intro, coding | Independent Project 2: Continue coding | ||
| Assignment: IndepProj2 | ||||||
| HW: | HW: | HW: Begin working on IP2 | HW: Major progress should be made today | |||
| 3/18 | 3/19 | 3/20 | 3/21 | 3/22 | 3/23 | 3/24 |
| Test Wk A | Independent Project 2: Complete coding | Unit 3, Day 8: Intro to Object: examples of objects, O-O design, example of O-O Python program (carddeck.py, dog.py). | Diversity Day | LEC: Computers in Popular American Culture | ||
| HW: Finish IP2, upload completed project to server by midnight. | HW: Do worksheet on Object-Oriented Design | HW: Relax! | ||||