Lesson 2 of 6
  • Year 6
Lesson 2 of 6
  • Year 6

Variables in programming

These resources will be removed by the end of the Spring Term 2026.

Start using our brand new teaching resources now. Designed by teachers and subject experts, with real classrooms in mind.

The older resources below were created for lockdown learning during the pandemic and are not designed for classroom teaching.

Lesson details

Key learning points

  1. In this lesson, we will learn how variables are updated, and we will learn the importance of naming our variables carefully.

Licence

This content is made available by Oak National Academy Limited and its partners and licensed under Oak’s terms & conditions (Collection 1), except where otherwise stated.

Loading...

3 Questions

Q1.
How many values can a variable hold at one time?

An image in a quiz
Correct answer: 1
2
Any number

Q2.
What do all variables have?

An image in a quiz
Correct answer: A name and a value
A name only
A value only

Q3.
When running a program, which part or parts of a variable can be updated?

An image in a quiz
Name and value
Name only
Correct answer: Value only