Session Details

Week 5, Session 13 — Tue Jan 11

Prep

  1. 9.1-9.2
    (6 pages)

HW Due

  1. HW 11
    There is no HW 12

Topics

  1. Loop patterns for input
  2. The max-min loop pattern
  3. The wait-for-event loop pattern
  4. Structure charts
  5. Robot line following

Outline

  1. [ 5 min] Recap definite and indefinite loops
  2. [ 5 min] For loop patterns (including those that are interactive)
  3. [15 min] While loop patterns (interactive, sentinel, loop-and-a-half)
  4. [10 min] File Loops
  5. [ 5 min] Break
  6. [25 min] Interactive Graphics Loop example
  7. [35 min] In-class exercise on loops (finish it for homework)

Resources

  1. Slides

HW Assigned

  1. HW 13