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 | |
|---|---|---|
| 15,3,2 | AThe last run of 2 white pixels is missing. Every run must be counted, so it should be 3,2,2. | |
| 20,4,2 | BThe row starts with black, but the first count always means white pixels. A 0 is needed first, so it should be 0,2,2. | |
| 3Encoding a row of 4 white pixels followed by 6 black pixels | C001000 | |
| 4Rebuilding a row from the counts 2,1,3 (white first, then alternating, 0 = white, 1 = black) | D4,6 | |
| 5Row 1100 encoded as 2,2 | E5 white pixels, then 3 black, then 2 white: the row 0000011100 | |
| 6Row 0001100 encoded as 3,2 | FThe row starts with black: 0 white pixels, then 4 black, then 2 white (111100) |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
run-length encoding — Compress a black-and-white image by writing each row as counts of same-coloured pixels in a run, starting with white. Row 00000 111 00 becomes 5,3,2. Counts can rebuild the grid.Row: 0000011100
Runs: 5,3,2Row: 1110000
Runs: 0,3,4Runs: 2,3,1
Row: 001110Row: 00110000
Runs: 2,2,4
Width: 8Runs alternate: white, black, white