New
New
Year 1
Changing values in a program
I can change the value in a command block and explain its effect.
New
New
Year 1
Changing values in a program
I can change the value in a command block and explain its effect.
These resources will be removed by end of Summer Term 2025.
Switch to our new teaching resources now - designed by teachers and leading subject experts, and tested in classrooms.
Lesson details
Key learning points
- Some command blocks can have number values on them.
- Values can be changed, causing different effects.
- Programs can be made shorter by deleting blocks and changing values.
Keywords
Delete - to remove something on a screen
Value - a number that can be changed
Effect - the result of changing something
Common misconception
The value is always how many times the command should run.
Different values cause different effects depending on the underlying command. These might not always be numerical values either.
Use mini whiteboards or another similar tool to check that pupils understand the effect that the order of operations has on a program. Pupils can trace out the movement of a sprite before actually coding to visualise what the correct output should look like.
Teacher tip
Equipment
Children will need access to a tablet device with the ScratchJr app installed.
Licence
This content is © Oak National Academy Limited (2025), licensed on
Open Government Licence version 3.0
except where otherwise stated. See Oak's terms & conditions (Collection 2).Starter quiz
Download starter quiz
4 Questions
Q1.
In ScratchJr, what is the still picture on the stage called?
behind
backstreet
Q2.
What is the green flag used for?
to choose a colour
to change the sprite
Q3.
What is an algorithm?
a blocks palette
a sprite
Q4.
What does a program need to have at the end?
a sprite
an algorithm
Exit quiz
Download exit quiz
4 Questions
Q1.
What is a value?
a number on a sprite
a sprite
Q2.
Where do you drag blocks to delete them?
into the stage
into the programming area
Q3.
What happens when you change a value on a movement block?
It changes a sprite's colour.
It changes the background.
Q4.
What is one way to make a program shorter?
use fewer backgrounds
take out the sprite