Session Details

Week 5, Session 14 — Tue Apr 13

Reading

  1. 8.4-8.6
    (14 pages)

HW Due

  1. HW 13

Topics

  1. Top-down design: the Blackjack example, Part 1
  2. More loop patterns:

Outline

  1. [ 5 min] Hand back quizzes; ask for student questions.
  2. [10 min] Description of Blackjack
  3. [10 min] Brainstorming and collecting list of top-level tasks
  4. [10 min] Collect top-level tasks into main() function.
  5. [20 min] Nested loops intro
  6. [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

  1. Slides: Top design design and more loop patterns: nested loops and the wait-until-event loop pattern

HW Assigned

  1. HW 14