Cambridge O Level Computer Science 2210 · 2.2 Methods of error detection

Q20 · 2210/12/O/N/22 Q5

Worked solution from the Data transmission Paper 1 Computer Systems booklet, Part 2 of 3.

Q202210/12/O/N/22original Q5Structured · 4 marks
Question 5 from 2210/12/O/N/22

Worked solution

Question

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.

RowNumber of 1s
Byte 14
Byte 26
Byte 36
Byte 45
Byte 54
Byte 66
Byte 74
Byte 86

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]

KEY IDEAWith even parity, the wrong bit sits where the row and the column both have an odd number of 1s.
TOTAL 4 marks

Official mark scheme

Mark scheme for 2210/12/O/N/22 question 5
VIDEO
▶ 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.