Repeat blocks
Use one repeat block instead of writing the same instruction again and again.
A sample lesson from this module is playable in the demo. The full module is not written yet; it is not a finished course.
Why it matters
Sweeping the compound means doing the same stroke again and again. A repeat block lets a program do the same thing many times without writing it out each time.
Draft outline · in review- For
- Level 3–5 · Primary 3 to Primary 5
- Inside
- 5 lessons and a test · about 45 minutes
- Topic
- Loops · foundation, 1 of 4
Inside the module.
5 lessons in order, about 45 minutes in all, then a short test. Learners go at their own pace; the minutes are a guide, not a timetable.
Draft outline · in review
Lesson 1: Same thing, many times
Spot the repeated steps in a long program and in daily chores.
Explain10 min, from minute 0
Lesson 2: Your first repeat block
Turn eight 'move forward' blocks into one repeat block.
Worked example10 min, from minute 10
Lesson 3: Change the count
Change the number in the repeat block and predict where the character ends up.
Practice15 min, from minute 20
Lesson 4: Why loops are clearer
Compare a long program with its loop version: which is easier to read and fix?
Discussion5 min, from minute 35
Lesson 5: Check your skills
Mixed loop puzzles.
Review5 min, from minute 40
End-of-module test
Use repeat blocks to solve puzzles, change repeat counts to hit a target, and say why a loop beats copying the same block.
Mastered at 85% or more. Retake it until you pass; nothing is lost, and each try gives feedback.
Already know it? A Challenge Test (planned) clears the whole module: 90% overall, no objective below 75%.
Last stageafter about 45 min
Practicalities
Draft outline · in reviewBuilt to run offline
Planned to run on the Lantern's own computer, with no internet needed.
Languages
Planned first in English; every module aims to reach all of the Lantern's languages.
Try a question.
One question from the module, as a learner would meet it. Have a go, then open the worked solution a step at a time.
Draft outline · in review
A program says: repeat 4 times [move forward 2 steps]. How many steps forward does the character move in total?
Particulars
Where it sits
Coding · Block coding · Loops
What a learner can do after it
- Use a repeat block to run an instruction a set number of times.
- Change the repeat count to change the result.
- Explain why a loop is clearer than repeating the same instruction.
Needs first
Level
Level 3–5 · Primary 3 to Primary 5
Level mappings are approximate. A qualified teacher or lecturer in each country must check them before they appear in the app.
Difficulty for its level
1 of 4 · Foundation
Time
About 45 minutes
Alignments
- Aligned to CSTApartial · in review1A-AP-10
Alignment in review until a qualified teacher or lecturer checks it. No exam body, university or vendor endorses us; learners still sit the real exam.
Challenge Test
Planned: a Challenge Test to prove you know it and skip it. Pass at 90% overall, with no objective below 75%.
On these pathways
The route here.
Everything this module builds on, drawn as a route from its foundations. Solid lanes must be mastered first, or cleared by a Challenge Test; dashed lanes are suggestions that never lock anything.
- CO-BLK-SEQ-01Instructions in orderCoding · Primary 1 to Primary 4 (Level 1–4) · Planned
- CO-BLK-LOP-01Repeat blocksCoding · Primary 3 to Primary 5 (Level 3–5) · Sample lesson in the demo · the destination Needs Instructions in order (required).Try the sample lesson: Repeat blocks
Help light the room where this is learned.
Every route on this map starts in a classroom with 24 stations, a tutor that works offline and a facilitator upstairs. Four are planned and waiting for light.