Programming & Algorithms (Computing): what to learn from 5 to 14, in order
Computing, Programming & Algorithms: 15 concepts from age 5 to 14, including Programming a Sequence, Step-by-Step Instructions, Finding and Fixing Bugs, Repeating with Loops, Breaking Problems into Parts, Events and Inputs…. Each says what comes first and how to check it.
Starting at 5
Your child is learning that computers follow exact instructions, by giving step-by-step directions and programming a toy robot or on-screen character to reach a goal.
- Programming a Sequence (ages 5–7): Giving a floor robot or an on-screen character a sequence of moves (forward, turn, repeat) to reach a goal, using cards, arrows or a tool like ScratchJr; predicting where it will end up before pressing go
- Step-by-Step Instructions (ages 5–7): Step-by-step instructions for everyday tasks (making a sandwich, brushing teeth); that if instructions are wrong or missing, things go wrong; computers follow instructions exactly
Starting at 6
- Finding and Fixing Bugs (ages 6–9): Debugging: when a program does something unexpected, comparing what it did with what it should do, finding the step that went wrong, fixing it and testing again; treating bugs as normal, not as failure
- Repeating with Loops (ages 6–9): Using a loop (repeat 4 times, repeat forever) instead of writing the same steps again and again; spotting the repeating part of a pattern, a dance or a drawing and turning it into a loop
Starting at 7
Your child is building real programs in a block language like Scratch, using events, loops and 'if' decisions, and learning to break a big project into parts.
- Breaking Problems into Parts (ages 7–10): Decomposition and abstraction: splitting a big job (making a game, planning a party) into smaller parts that can be solved one at a time, and leaving out details that don't matter for the task
- Events and Inputs (ages 7–9): Programs that respond to things happening: when a key is pressed, when the sprite is clicked, when a sensor detects light; making an interactive story or game in a block language such as Scratch
- Making Decisions with If (ages 7–10): Using if … then … else so a program chooses what to do: if the cat touches the wall, turn around; if the answer is right, add a point; tracing which branch runs for a given input
Starting at 8
- Variables: Programs That Remember (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
Starting at 9
Your child is learning to see algorithms everywhere, describe them precisely and compare them, and to control real devices with sensors.
- Everyday Algorithms (ages 9–11): Algorithms all around us: a recipe, the route a delivery rider takes, how a lift decides which floor to go to next; describing an algorithm clearly, and comparing two algorithms for the same job by how many steps they take
Starting at 10
- Functions and Reusable Code (ages 10–13): Packaging steps into a named function (a custom block, a 'def') that can be reused, with inputs (parameters) that change what it does; keeping programs short and readable
- Searching and Sorting (ages 10–12): Why order helps: checking items one by one versus halving the search each time (the guess-the-number game, binary search); simple ways to sort a pile of cards; how sorted data makes searching fast
- Sensors, Feedback and Control (ages 10–12): Process and control: a system reads a sensor (light, temperature, distance), decides, and acts (turn on a light, sound an alarm); feedback loops like a thermostat; programming a micro:bit or similar board to control something real
Starting at 11
Your child is moving from blocks to text code such as Python, working with lists and functions, and building programs for other people to use.
- Lists and Data in Programs (ages 11–14): Storing many values in a list, going through it with a loop, and computing something from it: the highest score, an average, how many words start with a letter
- Writing Code in Text (ages 11–14): Moving from blocks to a text language such as Python: print and input, variables, if, loops; reading error messages and fixing typos; writing small programs like a quiz or a times-table tester
Starting at 12
- Building a Program Others Can Use (ages 12–14): A full small project: choosing a problem for a real user, planning, building in stages, testing with other people, and improving it from their feedback; a game, a quiz, a tool for the family or class
Where to learn it
- ScratchJr (App · No words needed · ages 5–7 · Free): Picture blocks that need no reading: young children sequence a character's actions and learn ordering and breaking problems down.
- 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.