Loading concepts…

Variables: Programs That Remember

Computing · Programming & Algorithms · ages 8–11

A variable is a named box that stores a value the program can change: a score, a timer, a player's name; setting, changing and showing a variable

At what age?

Usually at ages 8–11. The age is a guide: what decides whether a child is ready is the foundations below.

How do you know your child has learned it?

  • Create a variable such as 'score' and change it when something happens
  • Explain what a variable is in their own words (a named place to store a value)
  • Predict the value of a variable after a few steps of a program

A quick check

Could your child add a score to a game that goes up by one each time the player catches something?

What comes first?

What it leads to

Where to learn it

  • Hello Ruby (Book · English · ages 4–8): Picture books by a Finnish coder that teach computational thinking through story and unplugged play rather than a particular language.
  • Raspberry Pi Projects (Course · Chinese & English · ages 8–14 · Free): The Raspberry Pi Foundation's free project library (in Chinese too): build something that works, step by step, in Scratch, Python or HTML.
  • Hello World! Computer Programming for Kids and Other Beginners (3rd edition) (Book · Chinese · ages 10–14): A Python introduction written by a father and son, in conversation, for parent and child to read and type along together; the third edition is fully updated to Python 3 and adds a chapter on the internet.

Everything a child learns · Built on Marble's open skill taxonomy (ODbL 1.0), recurated with ideas from China's current national standards (2022 edition). concepts.txt · taxonomy.json · llms.txt