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

Using loops in a program

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 use count-controlled loops.

Key Notes

  • 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.

Vocabulary To Learn

  • 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 Mistakes To Avoid

  • Changing the value in the repeat block changes the shape's size.

3 Quick Questions (With Answers)

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

Repetition can be seen in real-life examples. Count-controlled loops are used to repeat actions a set number of times.

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

happen multiple times. Add one real device or system example to prove understanding.

3. Correct this common computing misconception.

Mistake: Changing the value in the repeat block changes the shape's size. Correction: The repeat block sets the number of sides (how many times the sprite moves and turns). The move x steps value controls the size.

More Lessons In This Unit

Browse all guides in the Year 4 Computing guide library.