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 | |
|---|---|---|
| 13 x 8 = 24 | AThe number of different colours a 24-bit pixel can show, about 16.7 million | |
| 2256 x 256 x 256 | BThree colour channels (red, green, blue) with 8 bits each gives 24 bits for every pixel | |
| 3A 24-bit pixel uses 3 bytes, because each channel (red, green, blue) takes 1 byte of 8 bits | C24 bits / 8 = 3 bytes | |
| 4The colour white in 24-bit colour uses the largest value in every channel, written as three bytes | D3 x 8 equals 24, not 32. A 24-bit pixel has three channels of 8 bits each. | |
| 53 x 8 = 32 bits per pixel | EThe channel values must be multiplied, not added. Adding gives only 768. | |
| 6256 + 256 + 256 = 16.7 million colours | F11111111 11111111 11111111 |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
24-bit colour — Each pixel uses 8 bits for red, 8 for green and 8 for blue. That is 3 bytes (24 bits) per pixel, giving 256 x 256 x 256 = about 16.7 million possible colours.bitsPerPixel = 3 * 8colours = 256 * 256 * 256red = 8 bits
green = 8 bits
blue = 8 bits24 bits per pixel = 3 bytes per pixelcolours = 2 ^ 24