Events and Inputs
Computing · Programming & Algorithms · 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
At what age?
Usually at ages 7–9. 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?
- Build a program in Scratch or similar that reacts to a key press or click
- Explain that the program waits for an event and then runs the matching instructions
- Give everyday examples of devices that respond to events (lift buttons, automatic doors)
A quick check
Could your child make a simple Scratch game where pressing the arrow keys moves a character?
What comes first?
- Programming a Sequence (needed): Each event triggers a sequence of instructions
- Computers in Everyday Life (helps): Inputs are how a computer senses the world
What it leads to
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.