Year 6 – Programming A – Variables in games

Curriculum KS2 Unit


This unit explores the concept of variables in programming through games in Scratch. First, learners find out 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. In Lessons 2, 3, and 5, which follow the Use-Modify-Create model, learners experiment with variables in an existing project, then modify them, before they create their own project. In Lesson 4, learners focus on design. Finally, in Lesson 6, learners apply their knowledge of variables and design to improve their games in Scratch.

Unit guide

Updated: 10 Feb 2023

Learning graph

Updated: 10 Feb 2023

Summative assessment

Updated: 10 Feb 2023

Summative answer

Updated: 10 Feb 2023


Lesson 1

Introducing variables

Lesson 2

Variables in programming

Lesson 3

Improving a game

Lesson 4

Designing a game

Lesson 5

Design to code

Lesson 6

Improving and sharing