Today you will loop until a condition becomes true.
1 Warm-Up
2 Predict
3 Try It
4 Plan
5 Build
6 Fix It
7 Extend
8 Math Challenge
For teachers · goals · guide
Lesson Outcomes · for teachersCSTA 1B
✦ CSTA 1B-AP-10 · CSTA 1B-AP-15 · ISTE 1.5.a · Standards
| 🎯 I can | loop until a condition becomes true |
| 🧩 New blocks | 1 block |
| 📝 New words | 6 words |
| ⏱ Lesson time | ~35 min |
Teacher Guide
📋 Before class
⚠️ Common misconceptions
- Students may think 'repeat until' keeps going after the condition is true — clarify: it STOPS when true.
- Students may confuse the condition placement — the diamond block goes INSIDE the hexagonal slot, not outside the loop.
🎯 Differentiation
🐢 Struggling: Cover the screen and ask: 'Does the cat stop when it hits the wall, or keep going?' Act it out physically — walk until you touch the classroom wall. Then connect to the block.
🚀 Advanced: Challenge them to use two conditions: repeat until touching edge OR touching a colored wall. They will need to explore the 'or' operator block.
💡 During the lesson
- Warm-UpAsk students: "If I tell you to walk forward — when do you stop?" Let them suggest answers (wall, door, sign). Connect: "A
repeat untilloop does the same thing. It walks until something happens." Activates prior knowledge of loops from earlier chapters. The stop is automatic 🤖 — the loop finds its own exit 🚪 when the condition becomes true.
Point to each frame. At frame 3 ask: "What is the cat about to do?" At frame 4 ask: "Why did the loop stop?" (Because it touched the edge.) Reinforce: the loop exits automatically. - Try ItEach experiment changes one block in the loop. Experiment 1 changes the step size (the cat always stops at the edge — the loop finds its own exit). Experiment 2 dials the turn: 0 = no turn, so the cat reaches the edge; 15 = the cat walks in a circle and may never reach the edge, so the loop never ends — a good talking point. Experiment 3 dials the wait inside the loop (slower walking, same stop). Ask after each: "What number did you change? What changed?"
- PlanDo the first box together. Before each pick, have students say what the GOAL cat does: "First the cat starts. Then it moves. Then it hits the edge. Then it says I made it." Then pick, and watch both stages. The verbal rehearsal locks in the sequence before coding.
- BuildStep 3 is the critical snap. Show students that the diamond-shaped sensing block fits into the hexagonal slot in
repeat until. If they place it outside, the loop has no condition. Walk the room and check every student's block placement before they click the.
Show the picture first. Ask what will happen — everyone points or says one word.
Everyone picks an answer first. Then press the flag together.
Change one thing at a time. Run it, watch, then change the next thing.
Pairs put the cards in order before anyone opens Scratch.
Students build step by step. Walk around — help with questions, not with the mouse.
Ask: what did we want, and what did it do? Let them find it.
Fast finishers pick the next tier. Everyone else finishes their build.
Work it out on paper first. Then check it on the stage.