Year 4 - Computing
Modifying a game
Using repetition in programming to create a game
Study Hub
This pupil-friendly study guide includes a unit summary, clear notes, common mistakes, and quick questions with answers.
Year 4 - Computing
Using repetition in programming to create a game
In this unit, pupils will explore the concept of repetition in programming in the Scratch environment. Pupils will look at the difference between count-controlled and infinite loops. They will use their knowledge to modify, design and create games and animations that involve repetition.
You will learn to modify an infinite loop in a given program.
An infinite loop can be modified. Changing values within loops can affect how the game plays.
to break down a task into smaller, more achievable steps. Add one real device or system example to prove understanding.
Mistake: Using a 'repeat 1000' block is just the same as using a 'forever' block to make a character keep doing something in a game. Correction: Even though a repeat 1000 runs many times, a forever loop runs without an end point, which is better for actions that need to continue through the entire game.
Browse all guides in the Year 4 Computing guide library.