Session Details

Week 2, Session 4 — Tue Dec 7

Prep

  1. Zelle, §3.1–3.3

HW Due

  1. HW 3

Topics

  1. Review and Practice at topics we have covered
  2. Practice at functions with parameters that return values, and calling them with actual arguments
  3. Variables and assignment
  4. Introduction to using a debugger
  5. Counted Loops, including the range function
  6. Accumulator loops

Outline

  1. [5 min] Angel for attendance. Questions?
  2. [15 min] Definite loops, for loops, counted loops, examples using loops
  3. [10 min] Range function, loops with range
  4. [5 min] Break
  5. [10 min] A loop with range() an accumulator
  6. [30 min] Finish in-class quiz and begin loop practice.

Resources

  1. Slides: Loops — Counted and Accumulator

HW Assigned

  1. HW 4