Everything you need before the bell rings
Learning Objectives
Students will be able to…
- ✓Tell for from while.
- ✓Use range().
- ✓Avoid an infinite loop.
- ✓Replace repetition with a loop.
How do loops let a program repeat work without copy-paste?
Match the Loop Term
Project this and match each loop term to its meaning — tap the term, then tap the meaning.
55 minutes, five moves
Tap any phase to open the teacher moves and student actions.
Hook — Say It 10 Times
How would you print a word ten times without 10 lines?
👩🏫 Teacher Moves
- Show 10 copy-pasted lines.
- Ask for a shorter way.
- Set the goal.
🎒 Student Actions
- Look.
- Guess.
- Get ready.
Use — Loops
Students use loops.
👩🏫 Teacher Moves
- Send students to Match the Loop Term.
- Match each one.
- Note for vs while.
🎒 Student Actions
- Match.
- Say.
- Note it.
Modify — Change the Count
Students modify.
👩🏫 Teacher Moves
- Change range(5) to range(10).
- Convert a for to a while.
- Spot an infinite loop risk.
🎒 Student Actions
- Change.
- Convert.
- Spot.
Create — Loop It
Students create.
👩🏫 Teacher Moves
- Replace 5 repeated lines with a loop.
- Loop over a list.
- Test the output.
🎒 Student Actions
- Replace.
- Loop.
- Test.
Reflect — Reflect
Students close.
👩🏫 Teacher Moves
- Say when to use for vs while.
- Say what causes an infinite loop.
- Complete the exit ticket.
🎒 Student Actions
- Say it.
- Say.
- Complete the exit ticket.
Built to the standards you report on
Aligned to the CSTA K-12 Computer Science Standards and the ISTE Standards for Students.
Iteratively develop programs using loops.
Combine control structures to express ideas in code.
Evaluate and refine computational artifacts.
Automate repetition to solve problems.
One lesson, every learner
Multilingual Learners
- Clap-count a loop.
- Frame: repeat N times.
- Trace a loop by hand.
Support & Access
- Start with for + range.
- Small counts (3).
- Use a counter chart.
Stretch & Extend
- Nest two loops.
- Use while with user input.
- Loop with a break condition.
What to gather
- 📽️Screen / board
- 🔄Loop term cards
- 💻Match the Loop Term
- 🐍Python / editor
- 📓Notebooks
- 🎫Exit-ticket slips
Key terms — hover for a quick definition
Exit Ticket
Preview the three formative checks. Tap “Sample answer” to see what mastery looks like — hide them before you print for students.
Reflect: loops.
Have students rewrite 5 repeated lines as one loop. A printable loops worksheet is in the Computer Science library.
Study the key terms
Tap a card to flip it, then rate whether you knew it. Built from this lesson’s vocabulary.
Nice work!
Check your understanding
A quick self-check with instant feedback, drawn from this lesson’s key terms.
Nice work!
Printable worksheet
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.
Part A · Write the word that matches each meaning
- repeats until a condition is false
- a sequence of numbers to loop over
- a loop that never ends (a bug)
- the code that repeats inside a loop
- code that repeats
- one pass through the loop
- a variable that tracks repeats
- repeats a set number of times
Part B · Show what you learned
- When do you use a for loop?
- When do you use a while loop?
- What is an infinite loop?
Part B: 1) When you know how many times to repeat. 2) When you repeat until a condition is false. 3) A loop that never stops — usually a bug.