Data Transmission · 4 question types
Past paper frequency (2018 to 2024)
This topic accounts for approximately 5% of your exam marks.
Parity bits, checksums and check digits each appear in most papers. Often 3 to 4 marks.
A parity check detects errors by adding a single extra bit (the ) to each byte so that the total number of 1s in the byte follows an agreed pattern.
The sender and receiver agree in advance whether they will use or odd parity:
To set the parity bit, the sender:
The receiver:
Setting a parity bit and checking for an error
A sender and receiver have agreed to use odd parity. The sender wants to transmit the 7-bit data value 1 0 1 1 0 0 1. What parity bit must be added, and how does the receiver spot an error if one bit flips in transit?
Solution:
Setting the parity bit (sender side)
Checking on arrival (receiver side — correct byte)
Parity checks are cheap and quick but they cannot detect every error:
For better protection, the bytes are arranged into a parity block with an extra parity byte, described next.
State a limitation of a parity check
What comes up: questions ask you to state one (or two) limitations of a parity check — why it cannot always detect an error.
Write (one mark per point): (1) If an even number of bits change during transmission (for example, two bits flip), the total count of 1s shifts by two and the parity appears unchanged, so the error goes undetected. (2) A parity check can only tell you that an error has occurred; it cannot identify which bit is wrong.
Watch out: the check works for an odd number of changed bits, so one flipped bit is always caught. The common slip is saying parity "cannot detect any errors" — it cannot detect an even number of errors, not all errors.