Tip: Choose Save as PDF in the print dialog to download. Use A4 paper size.
Shade in the A or B circle for each question.
Draw a line connecting each item on the left to its match on the right.
| Left column | Right column | |
|---|---|---|
| 1tap = screen.sense() | AThe CPU works out what the tap means and decides what the game should do next. | |
| 2result = cpu.decide(tap) | Bstorage.save(score) | |
| 3RAM holds the running game and its current score while you play, so the CPU can reach them quickly. | CThe screen only shows the result. Storage is the part that keeps the saved score. | |
| 4Storage keeps the saved score even after the device is turned off. | Dram.hold(game) | |
| 5cpu.sense(tap) | EThe touchscreen is the input device. It senses your finger tap on the game button. | |
| 6screen.save(score) | FThe CPU does not sense taps. The touchscreen (input device) senses the tap, and then the CPU decides what to do with it. |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
trace an action — Follow one action, like a game tap: the screen senses it, the CPU decides, RAM holds the game, storage keeps the saved score and the screen shows the result.Tap the game button
The screen senses the tap (input)Tap sensed
The CPU decides what happens nextGame is running
RAM holds the game while you playLevel finished
storage keeps the saved scoreScore changes
The screen shows the result (output)