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 | |
|---|---|---|
| 1colours = 2^n | AAn 8-bit colour depth allows 256 different colours | |
| 22^8 = 256 | B2^4 = 2 * 2^3 | |
| 3A 2-bit colour depth gives 4 different colours | C2^2 = 4 | |
| 4Adding one extra bit doubles the number of colours (3 bits to 4 bits: 8 to 16 colours) | DThe wrong power was used. The power is the number of bits, so 2 bits give 2^2 = 4 colours. | |
| 5colours = 2 * n (n = 8 gives 16 colours) | EThe colours are found by multiplying n by 2, but the correct rule is 2 to the power n. 8 bits give 2^8 = 256 colours, not 16. | |
| 62 bits = 2^3 = 8 colours | FA colour depth of n bits gives 2 to the power n different colours |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
colours = 2^n — A colour depth of n bits gives 2^n different colours, so each extra bit doubles the number. For example, 2 bits give 4 colours and 8 bits give 256 colours.colours = 2 ^ bits2 bits give 2 ^ 2 = 4 colours8 bits give 2 ^ 8 = 256 coloursbits = bits + 1
colours = colours * 2bits = 4
colours = 2 ^ bits
print(colours)