Session Details
Week 1,
Session 3 — Thu Dec 3
Reading
-
2.5-2.8
(14 pages)
HW Due
-
HW 2
Programming part due Friday; other parts Thursday
Topics
-
Program output
-
Variables and assignment
-
Definite Loops
-
Range function
-
Math library
-
Accumulator problem(s)
-
Pair Programming
Outline
-
[10 min] Hand-back quizzes, discuss questions
-
[5 min] Fix IDLE start-up directory using step 4 of the Installing Python 2.5 instructions
-
[15 min] Variables and assignments
-
[15 min] Definite loops, for loops, counted loops, examples using loops
-
[10 min] Range function, loops with range
-
[5 min] Break
-
[1o min] A loop with range() an accumulator
-
[5 min] Math library functions
-
[5 minutes] Pair programming
-
[30 min] Finish in-class quiz and begin loop practice.
Assignments and lops
HW Assigned
-
HW 3