Lesson 4: Making a variable

Children expand their knowledge further of why variables are so useful when coding, again using their tinkering skills to see how these variables work within specially created Scratch projects

Before the lesson

Learning objective

  • To understand how to make a variable in Scratch

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: encourage them to plan their questions in advance. Print out sheet of useful blocks and ask them where they think they should go within the code they are writing. Discuss the program and ask them what they think it does based on what the blocks say


Pupils working at greater depth: ask them to think about adding in another variable to be able to test a specific times table (for example: ‘Scratch Multiplication game’)

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