← How computers work

Numbers, switches, parts and pieces: how a computer works underneath.

Start1. Letters are numbers
For teachers For Years 5–7 · 8 lessons

For Years 5–6, and for anyone in Year 7 who missed it: letters are numbers, text and numbers do different things, switches make patterns, dot cards turn switches into numbers, the five parts inside a computer and how they work together, how computers join into networks, and how a message travels in pieces. No coding needed.

  • For Years 5–7
  • Lessons 8
  • Do first No earlier course needed
Teacher guide

Numbers and switches

Letters are stored as numbers, text and numbers do different things, and switches that are only on or off make patterns and numbers.

1Letters are numbersNot started

A computer can only store numbers, so every letter has its own number, called its code. Capital A is 65, B is 66, and they go up in order. Small letters have their own codes (a is 97), and so do spaces and digits. A word is stored as a list of codes.

  1. What number is D?
  2. Try: type a word
  3. Worked example: a word as numbers › CAT
  4. Worked example: a word as numbers › Find the mistake
  5. Vary: other characters › A space
  6. Vary: other characters › Small letters
  7. Vary: other characters › The digit 7
  8. Practise: codes › E
  9. Practise: codes › Read it back
  10. Practise: codes › Count them
  11. Spell a word
Start lesson
2Text or number?Not started
3On or offNot started
4Counting dotsNot started

Dot cards turn switches into numbers. Each card has double the dots of the card on its right: 1, 2, 4, 8 and so on. Turn some face up and add their dots to get the number. Seven cards can make 65, the code for the letter A, so a letter is stored as switches too.

  1. How many dots?
  2. Try: show 5
  3. Worked example: make 10 › 10 on four cards
  4. Worked example: make 10 › Find the mistake
  5. Worked example: make 10 › All four up
  6. Vary: other numbers › 10
  7. Vary: other numbers › 12
  8. Vary: other numbers › The letter A
  9. Practise: dots › Total
  10. Practise: dots › Next card
  11. Practise: dots › Review: B
  12. Store a letter
Start lesson

The parts inside

Input, processor, memory, storage and output: what each part does, and how they take turns when you press a button.

5The parts insideNot started

Every computer, from a games console to a phone, has five kinds of parts. Input takes in what you do, the processor works out what happens, memory holds what's being used right now, storage keeps things when the power is off, and output shows the result. Memory and storage both remember, but only storage keeps things when you turn it off.

  1. Where's my saved game?
  2. Try: match the jobs
  3. Worked example: one game, five parts › Five parts, five jobs
  4. Worked example: one game, five parts › Find the mistake
  5. Vary: memory or storage? › Play
  6. Vary: memory or storage? › Save, then off and on
  7. Vary: memory or storage? › Load
  8. Practise: which part? › Keyboard
  9. Practise: which part? › Photos
  10. Practise: which part? › Output
  11. Play but can't save
Start lesson
6Working togetherNot started

Joining up

Cables, Wi-Fi and mobile data join computers into networks, and messages travel through them in numbered pieces.

7Joining computersNot started

A network is computers joined so they can send each other data. They can be joined by a cable, by Wi-Fi (radio waves to a router) or by mobile data (radio waves to a phone tower). Cables are fastest and most reliable; Wi-Fi lets you move but slows with distance and walls. The internet is lots of networks joined together.

  1. Is Wi-Fi a network?
  2. Try: cable or Wi-Fi
  3. Worked example: three ways to join › Three ways to join
  4. Worked example: three ways to join › Find the mistake
  5. Worked example: three ways to join › At home
  6. Vary: on the move › Further away
  7. Vary: on the move › Walls
  8. Vary: on the move › Mobile data
  9. Practise: which way? › Slow Wi-Fi
  10. Practise: which way? › The internet
  11. Practise: which way? › Review: parts
  12. Plan the club's network
Start lesson
8Messages in piecesNot started

A message doesn't travel in one piece. It's cut into small numbered pieces, and each piece travels through several devices (routers) on the way. Pieces can take different paths and arrive in a different order, so the computer at the end uses the numbers to put them back together.

  1. In order?
  2. Try: send it
  3. Worked example: cut, send, rebuild › Four pieces
  4. Worked example: cut, send, rebuild › Find the mistake
  5. Worked example: cut, send, rebuild › How many pieces?
  6. Vary: smaller pieces, broken links › Smaller pieces
  7. Vary: smaller pieces, broken links › A broken link
  8. Practise: pieces › Why pieces
  9. Practise: pieces › Routers
  10. Practise: pieces › Review: walls
  11. Get it through
Start lesson

Progress is saved in this browser only. Nothing is sent anywhere.

For teachers: Teacher guide (notes, answers, solutions, slides and worksheets)