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

Types of loops

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 tell the difference between count-controlled loops and infinite loops.

Key Notes

  • In programming, there are count-controlled loops and infinite loops.
  • An infinite loop is a sequence of instructions that is continuously repeated, without an end point.
  • Different types of loops are more suitable for different tasks.

Vocabulary To Learn

  • repeat: happen multiple times
  • count-controlled loop: a chunk of code that runs a section of the program a certain number of times
  • infinite loop: a chunk of code that runs a section of the program continuously

Common Mistakes To Avoid

  • A count-controlled loop repeats forever.

3 Quick Questions (With Answers)

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

In programming, there are count-controlled loops and infinite loops. An infinite loop is a sequence of instructions that is continuously repeated, without an end point.

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: A count-controlled loop repeats forever. Correction: An infinite loop repeats forever, unless the program is stopped.

More Lessons In This Unit

Browse all guides in the Year 4 Computing guide library.