Question 7
AQA Computer Science June 2023 Paper 2 (8525/2)GCSE8 marks
On the specification
- 7.1
- 3.3 Fundamentals of data representation
- 7.2
- 3.3 Fundamentals of data representation
- 7.3
- 3.3 Fundamentals of data representation
- 7.4
- 3.3 Fundamentals of data representation
Question text
7.1 The term pixel is short for Picture Element. box Define the term pixel. [1 mark] 7.2 Figure 1 shows a 5 pixel x 5 pixel image. A minimum colour depth of two bits is needed to store the image. Figure 1 Explain how the image in Figure 1 can be represented as a bitmap. [3 marks] 7 3 box . A 10 pixel x 10 pixel image contains five different colours. Calculate the minimum file size, in bits, of this image when represented as a bitmap. You should show your working. [2 marks] Answer bits 7.4 A black and white image has been compressed using run length encoding (RLE). The first bit in each byte of the bit pattern represents the colour and the remaining seven bits of the byte represent the number of pixels in the run. The image has a run of 60 black pixels followed by a run of 30 white pixels and is represented by the bit pattern shown in Figure 2. Figure 2 0 1 1 1 1 0 0 1 0 0 1 1 1 1 0 Using the same RLE method, give the bit pattern for a black and white image that has a run of 64 white pixels followed by a run of 15 black pixels. Write your answer in Table 1. [2 marks] Table 1