9618/12/M/J/22 question 1: worked solution (May/June 2022, paper 12)
Show as plain textHide plain text
Cambridge AS Level Computer Science 9618 · 1.2 Multimedia Worked solution from the Information representation Paper 1 Theory Fundamentals booklet, Part 2 of 3. Q29 9618/12/M/J/22 original Q1 Structured · 10 marks Worked solution (a) Draw one line from each term to its definition: Pixel → the smallest identifiable component of an image Bit depth → the number of bits used to represent each colour Image resolution → the number of pixels wide by the number of pixels high File header → stores data about the image file (for example file format, bits per pixel, file size) One line correct [1] Two or three lines correct [1] All four lines correct [1] (b)(i) 256 colours need 2⁸ = 256 values, so 8 bits . [1] (b)(ii) Pixels = 10 × 5 = 50. Bits = 50 × 8 = 400. [1] 400 ÷ 8 = 50 bytes [1] (c) A higher colour depth means more bits per pixel , so the file size increases . [1] A lower colour depth means fewer bits per pixel, so the file size decreases. [1] (d) Use run-length encoding (RLE) . [1] Store the colour Blue once, with the number of times it repeats: 10 . [1] KEY IDEA File size = pixels × bit depth; RLE stores a colour and how many times it repeats. TOTAL 10 marks Official mark scheme VIDEO ▶ Whole paper Video solution of the whole paper · by Exam Ninja. Tap the picture to open it on YouTube.