How to run it in class
10 min- 1Explain the boxA variable is a named box that holds a value.
- 2Run itPress Run and see.
- 3Change itChange the name and age and run again.
Why it works
Thinking of a variable as a named box helps beginners understand it. Changing the values and running again shows how a program uses them.
Ideas to adapt it
- Add a variable for a favourite colour.
- Add two numbers stored in variables.
- Print a sentence using several variables.
Questions
How long does it take?
About 10 minutes. It stays saved in your lesson, so you can come back to it next time.
Can I use it with one student?
Yes. Use their name and age.
Do students need an account?
No. Go live and share the link or the code. Students join from any device with nothing to install, and you can give each of them their own copy.
Is this starter free?
Yes. Open it, change anything and teach with it on the free plan, which has every feature and live lessons with up to 5 students. Try it first needs no account.
More coding starters
See all
Your first program
Print a message, then change it
Use this starter
Predict the output
Guess first, then run it
Use this starter
Trace a loop
Fill in a table step by step
Use this starter



