Browse topics

Curriculum

Explore all 1,858 open curriculum concepts.

Advanced filters 2

Computing Algorithms & Programming Ages 8–13

Loops in programs

Use loop blocks in a visual program to repeat actions a set number of times, forever, or until a condition is true, and identify where a loop makes a program shorter

Teach
Share

Activity

Loops save rewriting the same steps. We count repeats or stop when a condition is met.

Materials

  • Loop card with blank count
  • Three action tiles
  • Goal token
  • Paper robot path

Steps

  1. Adult shows forward×3 as a loop instead of three separate forwards.
  2. Child builds a loop that moves the robot to the goal and counts aloud.
  3. Child changes the count by one and predicts the new stop square.
  4. Fresh check: cover the loop card; child says how many times and why. Record and stop.

Done

Ask why a loop beats writing steps thrice. Success: shorter / same action.

Example. “Repeat forward 3 times lands on the star.”

2 before 2 after

Loading map…
List nearby topics

Ways to teach

Pick a way to teach this topic. Come back here afterward to record progress.

BBC Bitesize

Repetition in programming

Open (new tab)
About this link

Repetition in programming supports Loops in programs. An adult picks one article or section; this is a learning page, not a scored quiz.

BBC Bitesize. “Repetition in programming.” External page; Gakuva does not copy, host, embed, or redistribute materials.

Unknown — link only

Check understanding and curriculum record

Family records and proof options

Keep a record of your learning

Save photos, notes, and attendance. Export a proof packet for compliance or portfolio reviews.

Check understanding

“In a coding app, can your child use a 'repeat' block to make a character draw a square or dance — instead of dragging the same blocks over and over?”
Full curriculum checks
  • Rewrite a program that repeats 'move 10 steps' four times so that it uses one repeat block
  • Use a 'repeat until' block so a quiz keeps asking until the correct answer is given, or a sprite moves until it touches the edge
  • Explain the difference between 'repeat 10', 'forever' and 'repeat until' blocks with an example of when to use each
Curriculum record
Type
Procedural
Subject
Computing
Domain
Algorithms & Programming
Age range
Ages 8–13

Standards

acara-v9:AC9TDI4P04acara-v9:AC9TDI6P05the-ontario-curriculum-mathematics-2020:ON-MATH-2020-G3-C3.1the-ontario-curriculum-mathematics-2020:ON-MATH-2020-G3-C3.2the-ontario-curriculum-mathematics-2020:ON-MATH-2020-G4-C3.1the-ontario-curriculum-mathematics-2020:ON-MATH-2020-G4-C3.2the-ontario-curriculum-mathematics-2020:ON-MATH-2020-G5-C3.1the-ontario-curriculum-mathematics-2020:ON-MATH-2020-G5-C3.2the-ontario-curriculum-mathematics-2020:ON-MATH-2020-G6-C3.1the-ontario-curriculum-mathematics-2020:ON-MATH-2020-G6-C3.2the-ontario-curriculum-mathematics-2020:ON-MATH-2020-G7-C3.1the-ontario-curriculum-mathematics-2020:ON-MATH-2020-G7-C3.2