Cambridge O Level Computer Science 2210 · 1.3 Data storage and compression

Q43 · 2210/12/M/J/25 Q2

Worked solution from the Data representation Paper 1 Computer Systems booklet, Part 3 of 3.

Q432210/12/M/J/25original Q2Structured · 9 marks
Question 2 from 2210/12/M/J/25

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: 232 (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 IDEALossless compression shrinks a file by storing repeats compactly, so nothing is lost.
TOTAL 9 marks

Official mark scheme

Mark scheme for 2210/12/M/J/25 question 2
VIDEO
▶ Whole paper

Video solution of the whole paper · by Virtual Help. Tap the picture to open it on YouTube.

Solutions follow the official Cambridge mark schemes; marks are shown in grey. Videos are from other YouTube channels. Paper codes read component / series / year: M/J = May/June, O/N = October/November. Past-paper questions © UCLES, reproduced for classroom practice.