Computational Thinking & AI · Algorithms & Programming
Variables in programs
Usually taught in Class 5-7. Estimated from the age it is usually learned (≈); CBSE schools may teach it a year earlier or later.
Create and use variables in visual programs to store and change values, such as a score, a timer, a counter or a user's answer, and use them in conditions
Find the missing step for your childFree. A few yes-or-no questions. No sign-up.
Can your child do it? Check at home
Your child can do this when they can:
- Create a 'score' variable in a game that starts at 0 and increases by 1 each time the player catches an object
- Store a user's typed name in a variable and use it in a message (e.g. 'Hello Sam!')
- Use a variable in a condition (e.g. 'if lives = 0 then game over') and explain what the variable holds at each stage
A question to ask: In a game your child made with block coding, can they make a score that goes up each time the player wins a point, and end the game when the lives run out?
What to learn before variables in programs
When a child finds variables in programs hard, the gap is often in one of these earlier steps. Check each one first.
- Decisions and input in programsClass 3-7 ≈
'Variables in programs' builds on 'Decisions and input in programs'
- Missing number problemsClass 2-4 ≈helps
'Missing number problems (age 7+)' supports 'Variables in programs'
Find the step your child is missing
Kalike asks you a few yes-or-no questions about the steps before variables in programs, and shows the one topic to practise first.
Start the free checkFree. A few yes-or-no questions. No sign-up.
Topic text adapted from the Marble Skill Taxonomy (v1), © Generative Spark, Inc., under CC BY-SA 4.0. Not endorsed by Marble, NCERT or CBSE.