9618/13/M/J/24 question 2: worked solution (May/June 2024, paper 13)
Show as plain textHide plain text
Cambridge AS Level Computer Science 9618 · 1.3 Compression Worked solution from the Information representation Paper 1 Theory Fundamentals booklet, Part 3 of 3. Q46 9618/13/M/J/24 original Q2 Structured · 9 marks Worked solution (a) Bit depth is 4 bytes per pixel, so no division by 8 is needed. File size = 4000 × 3000 × 4 = 48 000 000 bytes Working shown: 4000 × 3000 × 4 [1] 48 000 000 ÷ 1 000 000 = 48 megabytes [1] (b)(i) Write any three of these, each compared with lossless: The file takes less storage space on the web server. [1] The file is faster to upload and download. [1] It uses less bandwidth to send. [1] It uses less of the data allowance. (b)(ii) RLE finds consecutive pixels of the same colour . [1] It stores the colour once and the number of times it repeats. [1] (c) Write any two: Colour depth (bit depth) [1] Image resolution [1] KEY IDEA Lossy compression gives much smaller files; RLE stores a colour and a count instead of repeating pixels. TOTAL 9 marks Official mark scheme VIDEO ▶ Starts at Q2 (8:31) Starts at Q2 (8:31) · by Pseudocode Pro. Tap the picture to open it on YouTube.