Year 6 - Computing
Improving a game
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 choose how to improve a game by using variables.
Variables can be updated at specific points in a program. An event in a program can be used to set a variable.
a named value which will track player points. Add one real device or system example to prove understanding.
Mistake: I put the "change score by" block in my code, but the score isn't changing when I expect it to. Correction: The location of your "change score by" block dramatically affects when and how often the score changes.
Browse all guides in the Year 6 Computing guide library.