Worked solution from the Data transmission Paper 1 Computer Systems booklet, Part 2 of 3.
Count the 1s in each 8-bit value. An even number of 1s means even parity; an odd number means odd parity.
| 8-bit binary value | Number of 1s | Parity |
|---|---|---|
| 10000001 | 2 | Even |
| 10000010 | 2 | Even |
| 00101001 | 3 | Odd |
| 00101000 | 2 | Even |
Tick Even for 10000001 [1]
Tick Even for 10000010 [1]
Tick Odd for 00101001 [1]
Tick Even for 00101000 [1]
Write any one of these:
A transposition error (bits swap places) is not noticed. [1]
Or: the bits still add up to an odd or even number. Or: an even number of bits are wrong. (One point earns the mark.)
Write checksum [1]
Also accepted: ARQ.
▶ Whole paper
Video solution of the whole paper · by Level Up with Aqeel Ahmed: CS Edition. 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.