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

Creating a program that uses loops

Repetition in programs

Unit Summary

In this unit pupils will create text-based programs which use repetition. They will plan, modify, and test commands to create shapes and patterns. They will explore the different types of loops that can be used to repeat commands in a program.

Lesson Summary

You will learn to create a program, using count-controlled loops, to produce a given outcome.

Key Notes

  • Programs are designed to include count-controlled loops.
  • Designs are used to write programs.
  • Programs are improved through debugging.

Vocabulary To Learn

  • procedure: a named set of commands that can be called multiple times throughout a program
  • count-controlled loop: a chunk of code that repeatedly runs a section of the program a certain number of times

Common Mistakes To Avoid

  • Repeating a shape many times will always create a pattern.

3 Quick Questions (With Answers)

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

Programs are designed to include count-controlled loops. Designs are used to write programs.

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

a named set of commands that can be called multiple times throughout a program. Add one real device or system example to prove understanding.

3. Correct this common computing misconception.

Mistake: Repeating a shape many times will always create a pattern. Correction: The turn angle must be correct to form a repeating design. With the wrong choice of value a pattern might not appear.

More Lessons In This Unit

Browse all guides in the Year 4 Computing guide library.