Pip
Lesson 8 of 12

How does a computer work?

4–6 min+100 XP

Your mission

Grace shrinks inside a computer and follows one press of the jump button through input, processing, memory and output. Fetch, decode, execute!

Power-ups

  • Input → process → outputButtons go in, the processor thinks, the screen shows the result.
  • Fetch, decode, executeThe processor fetches an instruction, works out what it means, then does it: billions of times a second.
  • Memory vs storageMemory holds what's happening now and forgets at power-off. Storage keeps your saves.

Your turnTry it yourself

Quick checkThree questions

1Which part follows the instructions?

The CPU does the work.

2What happens to memory when you switch off?

Save to storage to keep things.

3Jump adds 10 to height 10. New height?

10 + 10 = 20.

Off-screen challenge: Be the computer

One person is input (calls out numbers), one is the processor (adds them), one is output (writes the answer).

Last time: coding. Next time: how does the internet work?