Home CS303E

CS303E Schedule Summer 2012


This schedule, and the links contained in it, are subject to change during the semester. Exam dates, however, are final.

Interpreter Session
Date Topic Reading and Events
Reading assignments are from the required textbook, Python Programming by Zelle, unless otherwise noted.
Fri. June 1 Syllabus and Course Introduction

Notes:
Course Information
1. Apply for your lab account before 5pm!
2. Read the course syllabus and schedule
3. Read Chapter 1 in the book

Mon. June 4 A Brief Python Tour

Notes:
Python Tour
"Hello, World!" example from class
1. Read over the Python style guide.
Coding style will be part of your assignment grades.
2. Purchase a memory stick (USB/flash drive) for permanent storage of your programs. You will need to save your programs on the memory stick before logging off the machines in the elements lab---otherwise your work will be lost!
Tue. June 5 Discussion Section: Getting comfortable with using software for this course
Meet your TA in the Elements lab, PAI 5.38.
1. In discussion, your TA will help you log on to a computer, and he or she will also help you enter and run your first Python program (which will count as Quiz 1)
Wed. June 6 Computers and Algorithms

Notes:
Computers and Algorithms
1. Read Sections 2.1-2.5 in the book.


Fri. June 8
Output to the screen, variables, arithmetic operators

Notes:
Python Basics
Camus.py
Interpreter Session
Average algorithm and program
Area algorithm and program
1. Read Chapter 3 in the book.


Assignment 1 released. Due on 6/14.
Mon. June 11
Data type conversions and input from the keyboard

Notes:
Type conversions and input
Interpreter Session
average.py
Tue. June 12
Discussion Section: Practice with algorithms, variables, input, output and types.

1. Quiz 2
2. Q&A Assignment 1
3. Practice Set 1


Wed. June 13
Decision structures and more output

Notes:
Decisions and Output
Updated average
Interpreter Session
Lucky Dozens program
Truth Tables
1. Read Chapter 7 in the book.


Assignment 1 due tomorrow.
Fri. June 15
Logical Operators and While Loops (Part I)

Notes:
Logical Ops and Loops
While loop example program
Another version of average
Max and Min program
1. Read Sections 8.2 and 8.4 in the book.


Assignment 2 released. Due on 6/21.
Mon. June 18
Logical Operators and While Loops (Part II)

Notes:
More While Exercises
Product of Odds Problem
Perfect Number Problem
Investment Problem
Tue. June 19
Discussion Section: Practice with decisions and loops. 1. Quiz 3
2. Q&A Assignment 2
3. Practice Set 2


Wed. June 20 Loops and Simple Functions

Notes:
Loops
Queen.py
Queen_readable.py
1. Read the rest of Chapter 2 (2.6 on), Sections 6.1-6.4, and the rest of Chapter 8 in the book (8.1,8.3,8.5-8.7).


Assignment 2 due tomorrow.
Fri. June 22
More functions

Notes:
More functions
printPower.py
call_me_al.py
Assignment 3 released. Due 6/30.
Mon. June 25
Practice with Functions

Notes:
Function Practice
Rectangle Area program
Math Quiz
1. Exams and Study Guide Posted
Tue. June 26
Discussion Section: Loops, Functions, and Exam Review
1. Quiz 4 and course feedback
2. Q&A Exam 1 Topics
3. Q&A Assignment 3
4. Practice Set 3
Wed. June 27
Exam 1 Review
1. Sample Exam 1 Solutions
Fri. June 29 Exam 1
Sat. June 30 1. Assignment 3 due.
(Delayed due to exam.)
Mon. July 2
Strings

Notes:
Strings
IDLE Examples
1. Read Sections 4.1-4.4 in the book.
Tue. July 5
Discussion Section: Strings 1. Quiz 5
2. Exams returned and reviewed
3. Practice Set 4
Wed. July 4
Holiday. No class.

Fri. July 6
Exams for other sessions. No class.

Assignment 4 released. Due 7/14.
Mon. July 9
More Strings

Notes:
More Strings
String Function Example
Substring Example
IDLE examples
Tue. July 10 Discussion Section: Functions and Strings
1. Quiz 6
2. Q&A Assignment 4
3. Practice Set 5
Wed. July 11 Nested Loops

Notes:
Nested Loops
10 Strings Example
Asterisk Triangle (all versions)
Every Other Character Example
Fri. July 13 Functions with Return Values

Notes:
Functions
power_of_two.py
reverseIt()
product_of_three()
1. Read the rest of Chapter 6 (6.5 on) in the book.


Assignment 4 due tomorrow.
Assignment 5 released. Due 7/21.
Sat. July 14 1. Assignment 4 due.
(Delayed due to class cancellation.)
Mon. July 16
Functions with Return Values and
Functions that (Sort Of) Return Multiple Values

Notes:
More Functions
changeIt.py
ret_multiple_values.py
minMax.py
digital_clock.py
1. Exams and Study Guide Posted
Tue. July 17 Discussion Section: Exam 2 Review
1. Quiz 7
2. Q&A Exam 2 Topics
3. Q&A Assignment 5
4. Practice Set 6
Wed. July 18 Review for Exam 2
1. Sample Exam 2 Solutions
3-letter Word Palindrome Example
isPrime Example
Fri. July 20
Exam 2 in class

Sat. July 21 1. Assignment 5 due.
(Delayed due to exam.)
Mon. July 23
File I/O

Notes:
File I/O
Write File Example
Read File Example
Text File for Read File Example
file_as_parameter.py
Files as Objects
1. Read the rest of Chapter 4 (4.5 on).

Tue. July 24 Discussion Section: File I/O and Lists
1. Quiz 8
2. Exams returned and reviewed.
3. Practice Set 7
Wed. July 25
Lists

Notes:
Lists
Interpreter Session
Doubling List Elements
1. Read Chapter 11, skipping sections 11.3-11.5, in the book.
Fri. July 27 Lists
A bit more about Strings (methods vs. functions)

Notes:
Lists and Strings
String Check example
Interpreter Session
Lists as Parameters Explanation (Messy!)
list_as_parameter.py
Assignment 6 released. Due 8/2.
Mon. July 30
Practice with Lists and Strings

Notes:
Practice
vowel_count.py
Top Movies file
pet_movies.py
Tue. Aug. 1
Discussion Section: Practice with Lists and Strings
1. Quiz 9
2. Q&A Assignment 6
3. Practice Set 8
Wed. Aug. 1

Beyond Lists: Other Data Structures

Notes:
Data Structures
Examples from class
Assignment 6 due tomorrow.
Fri. Aug. 3
Practice with Data Structures

Notes:
Data Structure Practice
wordlist.py

Assignment 7 released. Due on 8/11.
Mon. Aug. 6
Graphics

Notes:
Graphics
graphics_example.py
smile.py
concentric_circles.py

1. Study Guide and Sample Exams posted
Tue. Aug. 7 Discussion Section: Exam 3 Review
1. Quiz 10
2. Q&A Exam 3 Topics
3. Q&A Assignment 7
4. Practice Set 9
Wed. Aug. 7
Exam 3 Review

Notes:
Exam 3 review
1. Sample Exam 3 Solutions
Fri. Aug. 10 Exam 3
Sat. Aug. 11
1. Assignment 7 due (delayed due to exam)