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 | |
|---|---|---|
| 1off = 0, on = 1 | AA light switch only has two states, off and on, so it uses only 0 and 1. There is no state 2. | |
| 2light switch: 0 or 1 | BA light switch has only two states, so it can be shown with one binary digit. | |
| 3Three light switches in a row can show a binary pattern, where off is 0 and on is 1. | CThe usual rule is the other way round: off is 0 and on is 1. | |
| 4A binary bracelet uses two bead colours: one colour means 0 and the other means 1. | Doff on on = 011 | |
| 5A light switch has 3 states: 0, 1, 2 | EA two-state system written in binary: off is 0 and on is 1. | |
| 6off = 1, on = 0 (in the usual binary rule) | Fwhite = 0, black = 1: black white black = 101 |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
two-state system — A system with only two possible conditions, like a light switch being off or on. We write the two states as 0 and 1, which is the idea behind binary.light ← 0 // the light is offbead ← 1 // the bead is onIF switch = 1 THEN
DISPLAY "Light is on"
END IFstates ← 2 // off and onswitch ← NOT switch // flip the state