2210/12/M/J/25 question 2: worked solution (May/June 2025, paper 12)

Show as plain text

Cambridge O Level Computer Science 2210 · 1.3 Data storage and compression Worked solution from the Data representation Paper 1 Computer Systems booklet, Part 3 of 3. Q43 2210/12/M/J/25 original Q2 Structured · 9 marks Worked solution (a) A digital camera captures data, so it is an input device. Tick A . [1] (b)(i) 1 KiB = 1024 bytes. 3072 ÷ 1024 = 3 KiB [1] (b)(ii) A nibble is 4 bits and a byte is 8 bits, so 1 byte = 2 nibbles . [1] (c)(i) 32 bits are used to represent each colour in the image. [1] Also accepted: 2³² (about 4.3 billion) different colours are available. (c)(ii) The file size increases . [1] This is because more bits are used to store each colour (64 instead of 32). [1] (d) Lossless compression makes the file smaller without permanently removing any data . [1] A compression algorithm is used, such as run length encoding (RLE) . [1] Repeating pixels (or patterns) are found and stored once with the number of times they repeat (or indexed). [1] Any three of the points score. KEY IDEA Lossless compression shrinks a file by storing repeats compactly, so nothing is lost. TOTAL 9 marks Official mark scheme VIDEO ▶ Whole paper Video solution of the whole paper · by Virtual Help. Tap the picture to open it on YouTube.