Tip: Choose Save as PDF in the print dialog to download. Use A4 paper size.
This On and off switches in everyday things worksheet is part of the ACARA Digital Technologies Years 5–6 — Representing Data with Numbers journey. Print it as a booklet?
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 | |
|---|---|---|
| 10 | AThe third LED is on, so it should be 1, not 0. The correct row is 1 0 1 1. | |
| 21 | BThe switch, torch or LED is on | |
| 3A row of four LEDs where the first and third are on and the others are off | CThe switch, torch or LED is off | |
| 4Three light switches in a row that are all turned off | D0 means off, not on. A torch that is on should be written as 1. | |
| 5A torch that is switched on is written as 0 | E0 0 0 | |
| 6LEDs: on, off, on, on written as 1 0 0 1 | F1 0 1 0 |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
0 = off, 1 = on — A switch has two states. We write 0 for off and 1 for on, so a row of switches or LEDs can be written as binary digits, like 1 0 1 1.torch ← 1
IF torch = 1 THEN
display "The torch is on"lamp ← 0
display "The lamp is off"// LED row: on, off, on, on
LEDs ← [1, 0, 1, 1]// kettle on, toaster off, fan on
switches ← [1, 0, 1]lightSwitch ← 0
lightSwitch ← 1
// someone flips the switch on