Ninth graders learn when to use each kind of loop — a FOR loop when you know how many times to repeat (or are looping over a collection), and a WHILE loop when you repeat until a condition changes. They check the ideas, then pick the right loop.
Students will be able to…
Which loop should you use — and when?
Project each one and have students answer about choosing a loop.
Tap any phase to open the teacher moves and student actions.
You want to repeat something — how do you decide which loop to use?
Students learn.
Students practice.
Students apply.
Students close.
Aligned to the CSTA K-12 Computer Science Standards and the ISTE Standards for Students.
Use for and while loops.
Justify the choice of loop.
Test and debug loops.
Reason about repetition.
Preview the three formative checks. Tap “Sample answer” to see what mastery looks like — hide them before you print for students.
Have students pick and write the right loop for a task. A printable loop sheet is in the CS library.
Tap a card to flip it, then rate whether you knew it. Built from this lesson’s vocabulary.
A quick self-check with instant feedback, drawn from this lesson’s key terms.
A print-and-go review sheet with a built-in answer key. Tap “Show answer key” to reveal answers, or print the clean version for students.