Explain how each of the following techniques detects errors that may occur after data has been transmitted over a communication link, and state the limitations of each method:
During transmission data travel through cables, wireless media or satellite links. Electrical noise, electromagnetic interference, attenuation, or faulty hardware can change one or more bits of the binary data. Because the receiver cannot see the physical cause, it must use an error‑detection method to verify that the received data matches the data that was sent.
A typical data packet (or frame) consists of three fields:
| Field | Purpose |
|---|---|
| Header | Control information (start‑of‑frame, address, etc.) |
| Data field | The actual information to be transferred |
| Error‑checking field | Parity bit, checksum, or other error‑detection data |
A parity bit is a single extra bit added to a binary word so that the total number of 1 bits (including the parity bit) is either even (even parity) or odd (odd parity).
1 bits in the data word.0.1.
0.1.
1 bits, including the received parity bit.Data word: 1011001 (four 1s)
0 → transmitted 101100101 → transmitted 10110011A checksum is a multi‑bit error‑checking field (commonly 8‑bit or 16‑bit) calculated from the data words in a packet using one’s‑complement binary addition. The final sum is then inverted (one’s complement) to produce the checksum.
Data words:
110101010110011010111001Step 1 – Add A and B
11010101 + 01100110 ------------ 1 001111011 (9‑bit result)
Carry out of the 8‑bit position = 1. Wrap it around:
00111101 (drop the leftmost 1) + 1 ------------ 00111110
Step 2 – Add C
00111110 + 10111001 ------------ 11110111
Step 3 – One’s complement
Checksum = 00001000
The sender transmits A, B, C and the checksum 00001000.
1s (e.g., 11111111 for an 8‑bit checksum), the packet is assumed to be error‑free.The echo check, also called a loop‑back test, is a diagnostic technique in which a data block is sent to a remote system that immediately returns (echoes) the exact same block. By comparing the returned block with the original, the sender can confirm whether the transmission path (both forward and return) is operating correctly.
D to the remote device.D and sends it back unchanged as D′.D′ and compares it bit‑by‑bit with the original D.D′ = D, the link is considered error‑free; otherwise an error is flagged.Assume the sender transmits the byte 10101010.
10101010. Comparison shows identical bits → link OK.10111010 (bit 4 flipped). The remote device echoes this corrupted byte. The sender receives 10111010 and detects a mismatch → error flagged.10101010 and sees no difference → the error is not detected (a known limitation).| Method | How it works (key idea) | What it detects | Limitations (what it may miss) |
|---|---|---|---|
| Parity check (odd and even) | Add a single parity bit so the total number of 1s is even or odd. |
All single‑bit errors. | Fails to detect errors that affect an even number of bits. |
| Checksum | One’s‑complement addition of data words; the complement of the sum is sent as the checksum. | All single‑bit errors and many multi‑bit errors. | May miss cancelling errors where two bits of equal weight are flipped in opposite directions. |
| Echo check (loop‑back test) | Send a frame, have the remote system return the identical frame, then compare. | Any error that changes the echoed frame. | Does not locate the error; fails if the same error occurs on both forward and return paths. |
Create an account or Login to take a Quiz
Log in to suggest improvements to this note.
Your generous donation helps us continue providing free Cambridge IGCSE & A-Level resources, past papers, syllabus notes, revision questions, and high-quality online tutoring to students across Kenya.