Worked solution from the Information representation Paper 1 Theory Fundamentals booklet, Part 1 of 3.
A character set is all the characters or symbols the computer can use. [1]
Each character has a unique number (binary or hexadecimal code). [1]
Character set 1: ASCII [1]
Character set 2: Unicode (or extended ASCII) [1]
Difference: ASCII uses 7 bits per character but Unicode uses up to 16 bits, so Unicode can represent many more characters. [1]
Use run-length encoding. [1]
Find groups of repeated characters and replace them with one copy of the character and the number of times it occurs. [1]
No data can be lost or deleted from a text file, but lossy compression removes some of the original data. [1]
The text file would be corrupted, or could not be opened or read. [1]
| Statement | Answer |
|---|---|
| Hexadecimal 11 in denary | 17 |
| Smallest denary number in unsigned 8-bit binary | 0 |
| 87 in BCD | 1000 0111 |
| 240 in hexadecimal | F0 |
| −20 in 8-bit two's complement | 1110 1100 |
Working: 11 hex = 16 + 1 = 17. 87 in BCD: 8 = 1000, 7 = 0111. 240 = 15 × 16, so F0. 20 = 00010100, invert 11101011, add 1 = 11101100.
11 in hexadecimal = 17 [1]
Smallest unsigned 8-bit number = 0 [1]
87 in BCD = 1000 0111 [1]
240 in hexadecimal = F0 [1]
−20 in two's complement = 1110 1100 [1]
▶ Whole paper
Video solution of the whole paper · by A Levels Academy Islamabad. 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.