Cambridge AS Level Computer Science 9618 · 1.2 Multimedia

Q29 · 9618/12/M/J/22 Q1

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

Q299618/12/M/J/22original Q1Structured · 10 marks
Question 1 from 9618/12/M/J/22

Worked solution

(a)

Draw one line from each term to its definition:

Pixel → the smallest identifiable component of an image

Bit depth → the number of bits used to represent each colour

Image resolution → the number of pixels wide by the number of pixels high

File header → stores data about the image file (for example file format, bits per pixel, file size)

One line correct [1]

Two or three lines correct [1]

All four lines correct [1]

(b)(i)

256 colours need 28 = 256 values, so 8 bits. [1]

(b)(ii)

Pixels = 10 × 5 = 50. Bits = 50 × 8 = 400. [1]

400 ÷ 8 = 50 bytes [1]

(c)

A higher colour depth means more bits per pixel, so the file size increases. [1]

A lower colour depth means fewer bits per pixel, so the file size decreases. [1]

(d)

Use run-length encoding (RLE). [1]

Store the colour Blue once, with the number of times it repeats: 10. [1]

KEY IDEAFile size = pixels × bit depth; RLE stores a colour and how many times it repeats.
TOTAL 10 marks

Official mark scheme

Mark scheme for 9618/12/M/J/22 question 1
VIDEO
▶ Whole paper

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