Cambridge AS Level Computer Science 9618 · 1.2 Multimedia

Q31 · 9618/12/O/N/22 Q8

Worked solution from the Information representation Paper 1 Theory Fundamentals booklet, Part 2 of 3.

Q319618/12/O/N/22original Q8Structured · 8 marks
Question 8 from 9618/12/O/N/22

Worked solution

(a)

Work out each action. A lower colour depth means fewer bits per pixel, so the file is smaller. The screen resolution is how the monitor shows the image, so the file does not change. Changing a colour keeps the same number of pixels and bits, so no change.

ActionIncreasesDecreasesNo change
Colour depth changed to 16 bits per pixeltick
Screen resolution changed to 1366 × 768tick
Rectangle colour changed from black to redtick

At least one row correct [1]

All three rows correct [1]

(b)

Any two of these benefits:

A vector graphic can be enlarged without pixelation or loss of quality [1]

Each individual component can be edited [1]

Or: the file size is generally smaller.

(c)(i)

Each run is written as a count followed by the value.

Row 2: 2AB = AB AB, 2FF = FF FF, 11D = 1D, 167 = 67. Uncompressed: AB AB FF FF 1D 67 [1]

Row 3: 32 32 = 232, 80 = 180, 81 81 = 281. Compressed: 232 180 281 [1]

(c)(ii)

Write the point and the reason:

Lossless compression keeps all the data, so no data is lost [1]

With lossy compression data would be lost, so the text file would be corrupted or would not make sense [1]

KEY IDEACount the run first, then write the value. Lossless keeps every bit, which text needs.
TOTAL 8 marks

Official mark scheme

Mark scheme for 9618/12/O/N/22 question 8
VIDEO
▶ Whole paper

Video solution of the whole paper · by Audere Prep. 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.