Skip to content

Study Hub

Study Guides

This pupil-friendly study guide includes a unit summary, clear notes, common mistakes, and quick questions with answers.

Year 4 - Computing

Modifying a game

Using repetition in programming to create a game

Unit Summary

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.

Lesson Summary

You will learn to modify an infinite loop in a given program.

Key Notes

  • An infinite loop can be modified.
  • Changing values within loops can affect how the game plays.
  • Existing code can be reused and modified for new sprites.

Vocabulary To Learn

  • decompose: to break down a task into smaller, more achievable steps
  • modify: to make changes to something
  • predict: to say what you think will happen before it happens, based on what you already know or can see

Common Mistakes To Avoid

  • Using a 'repeat 1000' block is just the same as using a 'forever' block to make a character keep doing something in a game.

3 Quick Questions (With Answers)

1. Describe the system or process from this lesson in clear steps.

An infinite loop can be modified. Changing values within loops can affect how the game plays.

2. Define this computing term and give one practical example. 'decompose'

to break down a task into smaller, more achievable steps. Add one real device or system example to prove understanding.

3. Correct this common computing misconception.

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.

More Lessons In This Unit

Browse all guides in the Year 4 Computing guide library.