Session Details
Week 5,
Session 13 — Tue Jan 11
Prep
-
9.1-9.2
(6 pages)
HW Due
-
HW 11
There is no HW 12
Topics
-
Loop patterns for input
-
The max-min loop pattern
-
The wait-for-event loop pattern
-
Structure charts
-
Robot line following
Outline
-
[ 5 min] Recap definite and indefinite loops
-
[ 5 min] For loop patterns (including those that are interactive)
-
[15 min] While loop patterns (interactive, sentinel, loop-and-a-half)
-
[10 min] File Loops
-
[ 5 min] Break
-
[25 min] Interactive Graphics Loop example
-
[35 min] In-class exercise on loops (finish it for homework)
Resources
-
Slides
HW Assigned
-
HW 13