ComputingYears 5–9Python
Variables and Data Types
Learn Variables and Data Types for Years 5–9 pupils (ages 9–14). Free practice questions, lessons and worked examples — aligned to the UK National Curriculum.
What you'll learn
- 1
Imagine your toy box. You put a label on it saying 'cars'. The label tells you what's inside — that's a variable!
- 2
What does a variable hold?
- 3
Drag the right data type to the variable 'age'.
- 4
Let's store your name in a variable called 'myName'.
- 5
What type of data is 'Emma'?
- 6
Store the number 10 in a variable called 'score'.
- 7
If myAge = 9, what type is it?
Practise Variables and Data Types with Whizlo
Free AI-tutored lessons, unlimited practice questions, and progress tracking for ages 9–14. Aligned to the UK National Curriculum.