---
title: "Working together"
subtitle: "Starting out · The parts inside · Lesson 6"
---

# Working together

**Name:** {{field-24}} **Date:** {{field-15}} **Class:** {{field-15}}

> **Key question:** You press a button and the score goes up. In that moment, four parts take turns.


:::teacher-note

**In one sentence:** Students follow one button press through the parts in order, take parts out to see which jobs stop, and plan the whole chain to get a saved score back after turning the console off and on (AC9TDI6K01 node 2).

**Students should be able to say:** I can describe the order the parts take turns when I press a button. I can say which part a job needs. I can work out which part is missing from what goes wrong.

**Width:** the unmarked parts are the floor every student does (predict, run, investigate and make). Typical adds the modify practice; wider adds the real-world contexts. They add contexts, not difficulty. Students work in the online tutorial alongside this sheet.

:::


## Predict


:::keep-together

**You take the screen out of the console and press A. What happens to the score?**

☐ The game stops

☐ The buttons stop working

☐ It goes back to 0

☐ It still goes up in memory, but you can't see it

My prediction, and why:

{{lines-3}}

:::


:::teacher-note

**What happens:** It still goes up. The buttons, processor and memory all still work; there's just nothing to show the score on.

:::


## Run

Try it on the board in the tutorial. Was your prediction right? What was different?

{{lines-2}}

## Worked example: one press, step by step


:::keep-together

### Press A

1. $\text{1. Buttons}$ — Take in the press.
2. $\text{2. Processor}$ — Works out what the press means: add one to the score.
3. $\text{3. Memory}$ — The score changes here, from 0 to 1.
4. $\text{4. Processor}$ — Fetches the new score to show.
5. $\text{5. Screen}$ — Shows Score 1.

Now: in what order do the parts take turns?

**You press A. In what order do the parts take turns?**

☐ Buttons, screen

☐ Processor, buttons, storage

☐ Screen, processor, buttons

☐ Buttons, processor, memory, processor, screen

:::


:::teacher-note

**Answer:** Buttons, processor, memory, processor, screen

In from the buttons, worked out by the processor, kept in memory, then out to the screen.

:::


:::keep-together

### Find the mistake

**Sam's screen breaks. Click the line where the reasoning first goes wrong.**

```
 1  The screen on Sam's console breaks.
 2  The screen is where the game actually happens.
 3  So the console stops working.
 4  So the score is lost.
```

Line: {{field-15}}

Why is it wrong?

{{lines-2}}

:::


:::teacher-note

**Answer:** line 2

Line 2: the game happens in the processor and memory. The screen only shows it, so the score is safe in memory.

:::


:::keep-together

### Every job

**Which part does every job need: playing, saving and loading?**

☐ The screen

☐ The processor

☐ Storage

☐ The buttons

:::


:::teacher-note

**Answer:** The processor

The processor follows every instruction, so nothing happens without it.

:::


:::typical

## Vary: take out a part


**No memory.** 

**No buttons.** 

**No storage.** 

Work in the tutorial. Plan first: what will you change, and how will you test it?

{{box-4}}

:::


## Which part stopped?


:::keep-together

### Can't save

**A console's game runs and the score goes up, but you can't save. Which part is missing?**

☐ Memory

☐ The processor

☐ Storage

☐ The screen

:::


:::teacher-note

**Answer:** Storage

Saving needs storage.

:::


:::keep-together

### Nothing happens

**You press buttons and nothing at all happens, not even a sound. Which part might be missing?**

☐ The processor or the buttons

☐ Memory only

☐ Storage

☐ The screen only

:::


:::teacher-note

**Answer:** The processor or the buttons

If nothing hears the press, or nothing works it out, nothing happens.

:::


:::keep-together

### Review: off and on

**Review: what is in memory just after you turn the console off and on?**

☐ Nothing: memory is empty

☐ Everything from before

☐ The saved game

☐ The screen

:::


:::teacher-note

**Answer:** Nothing: memory is empty

Memory empties; storage keeps.

:::


## Make: get it back

Then: explain to a partner what each part did in your plan.

Work in the tutorial. Plan first: what will you change, and how will you test it?

{{box-4}}

## Exit ticket

:::keep-together

**The game runs and you can save, but the screen stays blank. Which part is missing? Is the score lost?**

{{lines-3}}

:::


:::teacher-note

**Answer:** The screen (output); no, it's in memory.

:::

