Lesson 4 - Program Flow: While and For Loops - Jeannie
Leader Notes pages 64-70
Stage 1: Plan
- if statement
- while, do..while, for loops
- break, continue
Stage 2: Teach
Anticipatory Set - Number Guesser Game Introduction
Modeling - Discuss appropriate situations for each type of loop, their entry and exit conditions.
Checking for Understanding
- Help students write the various loops using the student worksheet.
- Show students the main method for the NumberGuesser in Java. Then show them the NumberGuesserFinal.html game running in the browser. Discuss the logic needed to implement the game.
Stage 3: Assess
Stage 4: Act - Supplemental Resources - W3Schools Tutorials for Loops: