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 | |
|---|---|---|
| 10110 -> 0100 | ATwo digits were swapped, so two pixels in the row change places. | |
| 20110 -> 0101 | Bdecode to check | |
| 3A row should have 4 digits, but a digit went missing, so the rest of the row shifts along. | CA wrong digit is hard to see in a string of 0s and 1s. Decode the code back into a picture to find the mistake. | |
| 4To check a coded picture, decode each row into pixels and look for a pixel that does not fit the picture. | DOnly one digit is wrong, so only one pixel needs fixing. Change the single digit instead of redrawing everything. | |
| 5Row 2 is 1001 but the picture needs 1011, so I will redraw the whole picture. | E011 (should be 0110) | |
| 6The code looks fine, so I will not decode it to check. | FOne digit changed from 1 to 0, so just one pixel in the row turns from black to white. |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
decode to check — One wrong digit in an image code changes just one pixel. Decode the code back into a picture to spot the wrong pixel, then fix that digit.Picture: B W W B
Wrong code: 1 1 0 1
Fixed code: 1 0 0 1Wanted row: 1 0 0 1
Typed row: 1 0 1 0
The last two digits are swappedRow should have 4 pixels: 1 0 1 0
Code with a digit missing: 1 0 0
Missing digit: row has 3 pixels, not 4code ← 1001
picture ← decode(code)
show(picture)Picture row: W B B B W
Code: 0 1 0 1 0
Wrong digit is number 3 from the left