Cambridge AS Level Computer Science 9618 · 1.1 Data Representation

Q14 · 9618/12/O/N/23 Q3

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

Q149618/12/O/N/23original Q3Structured · 6 marks
Question 3 from 9618/12/O/N/23

Worked solution

(a)

Write one difference: a kibibyte is 1024 bytes (210) but a megabyte is 1 000 000 bytes (1000 kilobytes). Or: kibi is a binary prefix and mega is a denary prefix. [1]

(b)(i)

Write 196 as 12-bit binary: 0000 1100 0100.

Invert every bit: 1111 0011 1011. Add 1 to get 1111 0011 1100.

Write: 1111 0011 1100 [1]

(b)(ii)

Split into 4 bits: 1000 0110 0101 = 8, 6, 5.

Write: 865 [1]

(b)(iii)

000111010110 = 256 + 128 + 64 + 16 + 4 + 2

Write: 470 [1]

(c)

Application: financial / banking calculations [1]

Justification: BCD stores decimal values exactly, so money amounts have no rounding errors that build up [1]

Other accepted answers: electronic displays such as calculators or digital clocks (they show single digits and conversion is easier), or date and time in the BIOS.

KEY IDEABinary prefixes use 1024 and denary prefixes use 1000. BCD keeps decimal digits exact.
TOTAL 6 marks

Official mark scheme

Mark scheme for 9618/12/O/N/23 question 3
VIDEO
▶ Starts at Q3 (31:02)

Starts at Q3 (31:02) · 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.