Year 6 - Computing
Design to code
Using variables in programming to develop a game
Study Hub
This pupil-friendly study guide includes a unit summary, clear notes, common mistakes, and quick questions with answers.
Year 6 - Computing
Using variables in programming to develop a game
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.
You will learn to follow a design to create a program that uses variables.
Artwork can be created for a project. Variable names should be chosen to identify their role.
a plan that shows how a program should work. Add one real device or system example to prove understanding.
Mistake: A variable can hold lots of different scores at the same time, like all the scores from a whole football match. Correction: A variable can only hold one value at any one time. Variables are always changeable, meaning their value can be updated.
Browse all guides in the Year 6 Computing guide library.