Worked solution from the Data transmission Paper 1 Computer Systems booklet, Part 2 of 3.
Count the 1s in each byte row (including its parity bit). Even parity is used, so every row and column should have an even number of 1s.
| Row | Number of 1s |
|---|---|
| Byte 1 | 4 |
| Byte 2 | 6 |
| Byte 3 | 6 |
| Byte 4 | 5 |
| Byte 5 | 4 |
| Byte 6 | 6 |
| Byte 7 | 4 |
| Byte 8 | 6 |
Only Byte 4 has an odd number of 1s. Now count the 1s in each column, including the parity byte. Only Bit 5 has an odd number of 1s (5).
Write: Byte number 4 [1]
Write: Bit number 5 [1]
Explain: I counted the 1s in each byte and column. [1]
The data uses even parity, so the error is where the byte (row) and the bit (column) both have an odd number of 1s. [1]
▶ Topic lesson
A lesson on this topic · by Mr Bulmer's Learning Zone. 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.