Count-controlled iteration
I can use count-controlled iteration to repeat a sequence of commands a set number of times.
Count-controlled iteration
I can use count-controlled iteration to repeat a sequence of commands a set number of times.
These resources will be removed by end of Summer Term 2025.
Lesson details
Key learning points
- Iteration can be used to repeat sequences of commands in a program.
- Condition-controlled iteration will execute until a condition is met or is no longer met.
- Count-controlled iteration will execute a set number of times.
Keywords
Iteration - the process of repeating a sequence of instructions.
Count-controlled - a command that repeatedly runs a sequence of instructions a predefined number of times
Condition-controlled - a command that repeatedly runs a sequence of instructions until a condition is no longer being met
Common misconception
Iteration means a program will repeat something a set number of times.
Count-controlled iteration will repeat a sequence of commands a set number of times. Condition-controlled iteration will repeat a sequence of commands until a condition is met and so the number of times it will repeat can never be predicted.
To help you plan your year 7 computing lesson on: Count-controlled iteration, download all teaching resources for free and adapt to suit your pupils' needs...
To help you plan your year 7 computing lesson on: Count-controlled iteration, 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 3 computing lessons from the Using fundamental programming constructs in a block-based language unit, dive into the full secondary computing curriculum, or learn more about lesson planning.
Equipment
All pupils require access to devices that have or can access the online version of Scratch. Starter programs are linked to the lesson and can be remixed as required.
Licence
Starter quiz
6 Questions







True when both values are True
True when either or both values are True
True when the value is False
Exit quiz
4 Questions
repeatedly runs a sequence of instructions a set number of times
repeatedly runs a sequence of instructions until a condition is met



