Everything you need before the bell rings
Learning Objectives
Students will be able to…
- ✓Explain that a loop repeats commands.
- ✓Rewrite repeated commands using a loop.
- ✓Predict how many times a loop runs.
- ✓Explain why loops make code shorter and clearer.
To move 8 steps you could write “move” eight times… or you could use one loop. Why do coders love loops so much?
Run a Loop
Project this and change how many times the loop repeats. Have students compare the short loop version to the long “write it every time” version, then run it.
45 minutes, five moves
Tap any phase to open the teacher moves and student actions.
Warm-Up — Write It Eight Times
Write “move” eight times — tiring, right?
👩🏫 Teacher Moves
- Ask students to write “move” 8 times.
- Note how repetitive it is.
- Set the goal: loops.
🎒 Student Actions
- Write the repeated command.
- Feel the repetition.
- Predict a shortcut.
Learn — Meet the Loop
Teacher introduces loops.
👩🏫 Teacher Moves
- Show “repeat 8 times: move.”
- Compare loop vs. the long way.
- Explain the repeat number.
🎒 Student Actions
- Learn the loop.
- Compare short vs. long.
- Read the repeat number.
Use It — Run a Loop
Students use the tool.
👩🏫 Teacher Moves
- Have students change the repeat count.
- Compare loop code to the long way.
- Run and count the steps.
🎒 Student Actions
- Change the repeats.
- Compare the two versions.
- Run and count.
Create — Loop It
Students create with loops.
👩🏫 Teacher Moves
- Give repeated tasks to rewrite as loops.
- Ask how many times each loop runs.
- Combine a loop with other commands.
🎒 Student Actions
- Rewrite commands as a loop.
- Say how many times it runs.
- Mix a loop with commands.
Share — Share
Students share a loop.
👩🏫 Teacher Moves
- Invite a loop example.
- Have the class predict its output.
- Hand out the exit ticket.
🎒 Student Actions
- Show a loop.
- Predict the output.
- Complete the exit ticket.
Built to the standards you report on
Aligned to the ISTE Standards for Students and the CSTA K-12 Computer Science Standards.
Create programs that include sequences, events, loops, and conditionals.
Develop programs with sequences and simple loops.
Use algorithmic thinking and automation to solve problems efficiently.
Describe steps in a procedure using sequence language.
One lesson, every learner
Multilingual Learners
- Show a loop with a repeat-arrow visual.
- Sentence frame: “Repeat ___ times: ___.”
- Clap a repeated pattern to feel a loop.
Support & Access
- Start with a repeat of 2 or 3.
- Provide the loop frame to fill in.
- Use physical repetition before code.
Stretch & Extend
- Nest a small pattern inside a loop.
- Rewrite a long program using loops.
- Predict the output of a loop with two commands.
What to gather
- 📽️Projector / board
- 📓Notebooks
- 💻Run a Loop
- 🔁Repeat-pattern cards
- ✏️Pencils
- 🎫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.
Going deeper? Loop a dance.
Have students write a short movement “program” using a loop (repeat 4 times: clap, stomp) and perform it — then change the repeat number and see the difference. A printable loop-dance sheet is in the CS 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
- doing more with less
- a single instruction
- instructions a computer runs
- to do again
- a way to repeat commands
- something that repeats
- a sequence of commands
- the number of repeats
Part B · Show what you learned
- What does a loop do in a program?
- Rewrite “move, move, move, move” using a loop.
- Why do coders use loops?
Part B: 1) It repeats a command (or commands) a set number of times, so you don’t have to write them over and over. 2) repeat 4 times: move. 3) Loops make programs shorter, easier to read, and easier to change — you edit the repeat number in one place.