Session Details
Week 5,
Session 14 — Tue Apr 13
Reading
-
8.4-8.6
(14 pages)
HW Due
-
HW 13
Topics
-
Top-down design: the Blackjack example, Part 1
-
More loop patterns:
- Nested loops
- Wait-until-event loop pattern
Outline
-
[ 5 min] Hand back quizzes; ask for student questions.
-
[10 min] Description of Blackjack
-
[10 min] Brainstorming and collecting list of top-level tasks
-
[10 min] Collect top-level tasks into main() function.
-
[20 min] Nested loops intro
-
[40 min] Begin HW 14 in which you should develop your solutions by reusing functions, developing good decision structures and loops, and using booleans
Resources
-
Slides: Top design design and more loop patterns: nested loops and the wait-until-event loop pattern
HW Assigned
-
HW 14