Pixels, bits and sound
Answers are for parents and teachers.
1
A black-and-white picture is 14 pixels across and 8 pixels down. How many bits does it need?
14 × 8 × 1 = 112 bits.
2
On squared paper draw a 5 by 5 grid. Colour in the letter T in black. Write the code for each row (1 = black, 0 = white).
T is 11111, 00100, 00100, 00100, 00100. The picture needs 5 × 5 × 1 = 25 bits.
3
Write the number of bits needed for a picture 8 pixels across and 8 pixels down with (a) colour depth 1, (b) colour depth 2. Say how the answers compare.
(a) 8 × 8 × 1 = 64 bits. (b) 8 × 8 × 2 = 128 bits. Colour depth 2 needs twice as many bits.
4
Change these binary numbers into ordinary numbers using place values: (a) 00000111 (b) 00010010.
(a) 4 + 2 + 1 = 7. (b) 16 + 2 = 18.
5
A friend says: ‘A vector picture is always better than a bitmap.’ Give one case where a bitmap is better and one where a vector picture is better.
A bitmap is better for a photo with many tiny colour changes. A vector picture is better for a logo that must be printed small and big, because it stays sharp and uses little space.