Variables in Games · Algorithms & Programming

Defining and Initialising Variables

Learning how to create placeholders for data that changes during a program's execution.

Key Questions

  1. 1Why must we set a variable to a starting value at the beginning of a game?
  2. 2How can one variable be used to control multiple different sprites?
  3. 3What would happen if a variable name was confusing or inaccurate?

National Curriculum Attainment Targets

KS2: Computing - Programming and Algorithms
Year: Year 5
Subject: Computing
Unit: Variables in Games
Period: Algorithms & Programming

Ready to teach this topic?

Generate a complete, classroom-ready active learning mission in seconds.

Browse curriculum by country

AmericasUSCAMXCLCOBR
Asia & PacificINSGAU