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 6 - Computing

Introducing variables

Using variables in programming to develop a game

Unit Summary

This unit explores the concept of variables in programming through the development of games. Pupils will investigate what variables are and relate them to real-world examples of values that can be set and changed. Then they use variables to create a simulation of a scoreboard.

Lesson Summary

You will learn to define a variable as something that is changeable.

Key Notes

  • Data can be stored as a variable.
  • The way a variable changes is defined by the programmer.
  • Variables can be used to store numbers or letters.

Vocabulary To Learn

  • change: to update the value of something in a program
  • variable: a named piece of data stored in a computer's memory which can be accessed and changed by a computer program
  • name: the label given to a variable so that the programmer knows what it is for
  • value: the numbers or text stored in a programming variable which can be used or changed

Common Mistakes To Avoid

  • Variables are only for numbers.

3 Quick Questions (With Answers)

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

Data can be stored as a variable. The way a variable changes is defined by the programmer.

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

to update the value of something in a program. Add one real device or system example to prove understanding.

3. Correct this common computing misconception.

Mistake: Variables are only for numbers. Correction: Variables aren't just for numbers, they can also hold letters.

More Lessons In This Unit

Browse all guides in the Year 6 Computing guide library.