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 | |
|---|---|---|
| 13W2B | AThe final run of one red pixel is missing, so the row cannot be rebuilt correctly. | |
| 24R1G3R | BThree white pixels followed by two black pixels along the row (W = white, B = black) | |
| 3A black and white row with 5 white pixels then 3 black pixels is stored as one count and colour code per run (W = white, B = black) | C3R2G1Y | |
| 4Using the table R = red, G = green, Y = yellow, the row RRRGGY is encoded run by run, in order | D5W3B | |
| 5WWWWBB encoded as 4B2W | EThe colour codes are swapped. The four pixels are white, not black, and the two pixels are black, not white. | |
| 6RRGGGR encoded as 2R3G | FFour red pixels, one green pixel, then three red pixels (R = red, G = green) |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
RLE pixel row — Run-length encoding of a pixel row stores each run of same-coloured pixels as a count then a colour code, in order along the row. E.g. WWWBB becomes 3W2B.Row: WWWBB
RLE: 3W2BTable: R=red, G=green, B=blue
Row: RRGGGB
RLE: 2R3G1BRow 1: BBBW RLE: 3B1W
Row 2: WWBB RLE: 2W2BRow: BBBBWWB
RLE: 4B2W1BRow: BBWWWWWB
RLE: 2B5W1B