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 | |
|---|---|---|
| 1keyboard | AThe number the keyboard sends to the computer to show which key was pressed | |
| 2character code | BPressing a key closes (completes) the circuit, not opens it. The completed circuit is what lets the keyboard detect the key press. | |
| 3Pressing a key closes a circuit, so the keyboard controller can identify which key was pressed | Ckey press -> circuit closed -> controller identifies key | |
| 4A keyboard is used to enter text and commands by sending a key's character code to the computer | DAn input device where pressing a key completes a circuit and sends that key's character code to the computer | |
| 5Pressing a key opens the circuit, so the keyboard sends the code | Epress 'A' -> code sent -> 'A' appears on screen | |
| 6The computer works out which key was pressed by checking the screen | FThe keyboard controller identifies the key and sends its character code to the computer. The screen is an output device and plays no part in identifying keys. |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
keyboard — An input device where pressing a key completes a circuit. The controller identifies the key and sends its character code to the computer, so text and commands can be entered.IF keyPressed = TRUE THEN
circuit ← CLOSED
ENDIFcharacter ← "A"
keyCode ← ASC(character)keyCode ← ASC("A")
SEND keyCode TO computerINPUT text
OUTPUT textkeyCode ← 72
character ← CHR(keyCode)