Lesson 3: Introduction to variables

Through tinkering with some specifically Scratch projects, pupils learn the importance and use of variables

Before the lesson

Learning objective

  • To understand what a variable is and how to make one

National curriculum

Pupils should be taught to:

  • Design, write and debug programs that accomplish specific goals, including controlling or simulating physical systems; solve problems by decomposing them into smaller parts

Success criteria

Cross-curricular links

Attention grabber

Main event


Pupils needing extra support: support pupils with finding the ‘ask and answer’ block. 


Pupils working at greater depth: encourage pupils to see if they can figure out how to get the computer to join together the answer with a phrase to make a single sentence ( you may want to give them a clue of looking at the green blocks and perhaps emphasise the word ‘join’). Also, encourage them to create a few different questions and think about ways to make sure their responses are interesting for the player.

Wrapping up

Assessing pupils' progress and understanding


Created by:
Cat Lamin,  
Computing specialist
Cat was a committed primary school teacher for twelve years. After starting her independent consultancy ‘Crossover Solutions’ she has travelled to Argentina, Brazil and America to share her wealth of knowledge of computer science with other teachers. Her enjoyment for…
Find out more