Using loops in a program
I can use count-controlled loops.
Using loops in a program
I can use count-controlled loops.
These resources will be removed by end of Summer Term 2025.
Switch to our new teaching resources now - designed by teachers and leading subject experts, and tested in classrooms.
These resources were created for remote use during the pandemic and are not designed for classroom teaching.
Lesson details
Key learning points
- Repetition can be seen in real-life examples.
- Count-controlled loops are used to repeat actions a set number of times.
- You can modify code snippets to create given results.
Keywords
Repeat - happen multiple times
Command - a single instruction that can be used in a program to control a computer
Count-controlled loop - a chunk of code that runs a section of the program a certain number of times
Common misconception
Changing the value in the repeat block changes the shape’s size.
The repeat block sets the number of sides (how many times the sprite moves and turns). The move x steps value controls the size.
To help you plan your year 4 computing lesson on: Using loops in a program, download all teaching resources for free and adapt to suit your pupils' needs...
To help you plan your year 4 computing lesson on: Using loops in a program, download all teaching resources for free and adapt to suit your pupils' needs.
The starter quiz will activate and check your pupils' prior knowledge, with versions available both with and without answers in PDF format.
We use learning cycles to break down learning into key concepts or ideas linked to the learning outcome. Each learning cycle features explanations with checks for understanding and practice tasks with feedback. All of this is found in our slide decks, ready for you to download and edit. The practice tasks are also available as printable worksheets and some lessons have additional materials with extra material you might need for teaching the lesson.
The assessment exit quiz will test your pupils' understanding of the key learning points.
Our video is a tool for planning, showing how other teachers might teach the lesson, offering helpful tips, modelled explanations and inspiration for your own delivery in the classroom. Plus, you can set it as homework or revision for pupils and keep their learning on track by sharing an online pupil version of this lesson.
Explore more key stage 2 computing lessons from the Using repetition in programming to create a game unit, dive into the full primary computing curriculum, or learn more about lesson planning.
Equipment
Licence
Prior knowledge starter quiz
6 Questions
pattern of bricks
pattern of stripes
pattern of hexagons
pattern of panels
moves the turtle forward
moves backward
turns right
turns left
Assessment exit quiz
6 Questions
something happening multiple times
a single instruction in a program
repeats a section of code a set number of times
a character or object in Scratch