Cambridge AS Level Computer Science 9618 · 1.2 Multimedia

Q33 · 9618/11/M/J/23 Q1

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

Q339618/11/M/J/23original Q1Structured · 13 marks
Question 1 from 9618/11/M/J/23

Worked solution

(a)

Write a short definition for each term:

TermDefinition
Drawing listA list of all the drawing objects in the image, with the commands needed to draw each one
PixelThe smallest part of an image, one dot of a single colour
Colour depthThe number of bits used for each pixel, which decides how many colours can be shown

Drawing list correct [1]

Pixel correct [1]

Colour depth correct [1]

(b)(i)

Any two items that are not colour depth or resolution:

The file type (to show it is a bitmap) or the compression type [1]

The location (offset) of the image data in the file, or the dimensions of the image [1]

(b)(ii)

Bit depth 8 bytes = 8 × 8 = 64 bits per pixel.

File size = 1500 × 3000 × 64 = 288 000 000 bits

288 000 000 ÷ 8 = 36 000 000 bytes

Working shown (for example 1500 × 3000 × 8 bytes) [1]

36 000 000 ÷ 1000 ÷ 1000 = 36 MB [1]

(c)(i)

Any three of these benefits:

Customers can download the photographs in less time [1]

They use less bandwidth [1]

The files take less storage space on the customer's device, so more images can be stored [1]

(c)(ii)

Explain with an example (two points for the explanation, one for the example):

RLE stores a colour and the number of times it repeats in a row [1]

A photograph may have few runs of the same colour, so each colour needs a count stored as well, which adds data [1]

Example: Red Green Blue becomes Red 1 Green 1 Blue 1, which is longer [1]

KEY IDEACompression helps because smaller files download faster. RLE only works well when colours repeat.
TOTAL 13 marks

Official mark scheme

Mark scheme for 9618/11/M/J/23 question 1
VIDEO
▶ Starts at Q1 (0:20)

Starts at Q1 (0:20) · by Pseudocode Pro. 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.