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

Q38 · 2210/12/M/J/23 Q3

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

Q382210/12/M/J/23original Q3Structured · 10 marks
Question 3 from 2210/12/M/J/23

Worked solution

(a)

Any three points:

A character set is used [1]

Such as ASCII or Unicode [1]

Each character has its own unique binary value [1]

(b)(i)

The file size is reduced (made smaller) [1]

(b)(ii)

Any four points:

A compression algorithm is used, such as run length encoding [1]

Repeated words, characters or patterns are found [1]

They are stored once in an index [1]

With the number of times they occur or their positions [1]

(b)(iii)

Any two reasons:

To save storage space [1]

To make it quicker to send (or small enough to attach to an email, or use less bandwidth) [1]

KEY IDEACharacters are stored as unique codes; lossless compression shrinks files by storing repeats once and loses no data.
TOTAL 10 marks

Official mark scheme

Mark scheme for 2210/12/M/J/23 question 3
VIDEO
▶ Topic lesson

A lesson on this topic · by Mr Bulmer's Learning Zone. 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.