Cambridge AS Level Computer Science 9618 · 1.2 Multimedia

Q43 · 9618/11/O/N/25 Q7

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

Q439618/11/O/N/25original Q7Structured · 14 marks
Question 7 from 9618/11/O/N/25

Worked solution

(a)

Type of IP addressDescription
StaticAn IP address that does not change each time the device connects to the network
PublicAn IP address given to a device so it is visible on the internet

Static description [1]

Public description [1]

(b)

Choice: circle Invalid. (No mark for the choice.)

It is not IPv4 because the largest denary value allowed is 255 and this uses 256. [1]

It is not IPv6 because it uses full stops to separate the parts, not colons (and there are not enough groups). [1]

(c)

Any four of these steps:

The browser checks its cache for the URL. [1]

It parses the URL and splits it into its parts. [1]

It asks a DNS server for the IP address of the domain name and receives the matching IP address. [1]

It connects to the web server at that IP address and sends a request for the page. [1]

Other accepted points: the browser renders and displays the result, and stores the IP address in its cache for later.

(d)(i)

256 colours need 8 bits per pixel.

Size = 512 × 2048 × 8 bits ÷ (8 × 1024) = 512 × 2048 ÷ 1024 [1]

= 1024 kibibytes [1]

(d)(ii)

The file also holds metadata. [1]

It has a header. [1]

(d)(iii)

A run of consecutive identical pixels (colours) is found. [1]

It is stored as the colour value and the number of times it repeats. [1]

KEY IDEABitmap size = width × height × bit depth, and RLE stores each run of identical pixels as a value plus a count.
TOTAL 14 marks

Official mark scheme

Mark scheme for 9618/11/O/N/25 question 7
VIDEO
▶ Whole paper

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