← Starting out

The parts inside

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.

A games console, a laptop and a phone look different, but inside they have the same five kinds of parts.

Every computer has the same five kinds of parts, each with its own job. This one is a games console.

How this lesson works: Predict, Try, Investigate, Modify, Practise, Make
PredictRead the problem and decide what you think before you try anything. A wrong guess is fine: it shows you what to look for.

Where's my saved game?

You save your game and turn the console off. Tomorrow, your saved game is still there. Which part kept it?

TryTry it on the board and compare the result with your prediction.

Try: match the jobs

Was your guess right?

Try it yourselfYour edits are saved in this browser.

Match each part to its job. Press the buttons on the console if it helps you decide.

Use the board. This ticks when you get there.

InvestigateWork out why it happens, one step at a time.

Worked example: one game, five parts

Worked exampleBefore each step, say what you think comes next.
  1. Buttons (input)\text{Buttons (input)}Take in what you do: press A.

Now: which part works out what happens?

You press A. Which part works out that the score should go up?

Sam explains memory and storage. Click the line where it first goes wrong.

ModifyChange the problem on purpose and see what happens.

Vary: memory or storage?

Try it yourselfYour edits are saved in this browser.

Press A three times. Which part is holding the score now?

Use the board. This ticks when you get there.

Save the game, then turn the console off and on. What's left?

Use the board. This ticks when you get there.

Load the game.

Use the board. This ticks when you get there.

PractiseA few on your own, to check you have it.

Which part?

On a laptop, which part is the keyboard?

Your phone's photos are still there after it goes flat. Where are they kept?

Which of these is output?

MakeMake your own problem using what you have learned. Expect a few tries; that is normal.

Play but can't save

Then: look at a device at home. Can you find each of the five kinds of part?

Try it yourselfYour edits are saved in this browser.
Need a hint?

Before a hint: what kind of stuck is this? Try a strategy first

Which part's only job is keeping things when the power is off?

Another hint

Take that part out, press A, then try to save.

Take out one part so you can still play, but you can't save. Then try to save.

Use the board. This ticks when you get there.

Now you can
Next lesson6. Working togetherThe parts take turns. Press A: the buttons pass the press to the processor, the processor adds one to the score in memory, then sends it to the screen. Every job needs the processor, and most need memory. Take a part out and only the jobs that need it stop.
For teachers

Students match the five parts of a games console to their jobs, follow a game through them, see memory empty and storage keep a save when the console is turned off and on, and take out the one part that stops saving but not playing (AC9TDI6K01 node 1). About 40 minutes.

Open the teacher guide: answers, solutions, slides and a worksheet.

Students will be able to

Before class

Do the boards yourself first: press A, save, turn off and on, load.

The one idea: five kinds of parts, one job each, and memory (empties without power) is not storage (keeps without power).

Simplifications (say so if asked): one processor, one memory and one storage; no operating system; the game itself also sits in storage and is loaded into memory to run.

Year 7–8 catch-up: Inside a computer (8K01) starts at specifications. A student who can say which part keeps a saved game and which empties can start there.

Unplugged: five students as the parts, passing a card that says "score" between them.

Running the lesson

  1. Predict: students who chose memory are the lesson; don't correct yet.
  2. Try: ask pairs to test one guess on the console before they match it.
  3. Vary: before Turn off and on, ask what will be left in memory and in storage.
  4. Make: ask why the game still runs with no storage.

The hard part (on purpose)

Memory and storage both 'remember'. Use Turn off and on every time it comes up: memory empties, storage keeps.

When students get stuck

Stretch and support

Stretch: A phone is both a computer and a camera. Which of its parts are input, and which are output?

Support: A card with five boxes: Input (takes in), Processor (works out), Memory (now), Storage (keeps), Output (shows).

Where it leads

Next: Working together (the order the parts take turns).

Year 7–8: Inside a computer › What the specs mean.

What each step is for