Session Details

Week 1, Session 3 — Thu Dec 3

Reading

  1. 2.5-2.8
    (14 pages)

HW Due

  1. HW 2
    Programming part due Friday; other parts Thursday

Topics

  1. Program output
  2. Variables and assignment
  3. Definite Loops
  4. Range function
  5. Math library
  6. Accumulator problem(s)
  7. Pair Programming

Outline

  1. [10 min] Hand-back quizzes, discuss questions
  2. [5 min] Fix IDLE start-up directory using step 4 of the Installing Python 2.5 instructions
  3. [15 min] Variables and assignments
  4. [15 min] Definite loops, for loops, counted loops, examples using loops
  5. [10 min] Range function, loops with range
  6. [5 min] Break
  7. [1o min] A loop with range() an accumulator
  8. [5 min] Math library functions
  9. [5 minutes] Pair programming
  10. [30 min] Finish in-class quiz and begin loop practice.

Assignments and lops

HW Assigned

  1. HW 3