2210/12/O/N/22 question 5: worked solution (October/November 2022, paper 12)

Show as plain text

Cambridge O Level Computer Science 2210 · 2.2 Methods of error detection Worked solution from the Data transmission Paper 1 Computer Systems booklet, Part 2 of 3. Q20 2210/12/O/N/22 original Q5 Structured · 4 marks 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. 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] KEY IDEA With 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 VIDEO ▶ Topic lesson A lesson on this topic · by Mr Bulmer's Learning Zone. Tap the picture to open it on YouTube.