Some errors need more than a simple count.
Parity is useful, but it is not the only way to check data.
Checksum, echo check and ARQ all help systems detect problems and respond when data may be wrong.
↓
System checks
↓
OK or resend
Understand how different error detection methods check whether data has arrived correctly, and why some methods are used for transmission while check digit is used for input.
Parity is useful, but it is not the only way to check data.
Checksum, echo check and ARQ all help systems detect problems and respond when data may be wrong.
The sender creates or sends something that can be checked later.
The receiver or sender then compares values. If the values do not match, an error is detected.
A receipt total helps you check whether the items in a bag are correct.
A checksum works in a similar way. A value is calculated from the data before sending, then recalculated after receiving.
A checksum value is calculated from the data before transmission.
The receiver recalculates the checksum. If the two values are different, an error has been detected.
In an echo check, the receiver sends the received data back to the sender.
The sender compares the returned copy with the original data. If they do not match, the data is sent again.
Automatic Repeat reQuest uses acknowledgements and timeouts.
If data arrives correctly, the receiver sends an acknowledgement. If no acknowledgement arrives before the timer runs out, the sender resends the data.
A check digit is used to check data when it is entered into a computer, such as a barcode or ISBN.
It is not used for checking data transmission between computers.
Checksum detects whether data may be wrong. ARQ deals with what happens next.
These two methods are often used together because they do different jobs.
| Method | Main job |
|---|---|
| Checksum | Detects mismatch |
| Echo check | Sends copy back to compare |
| ARQ | Requests retransmission |
| Check digit | Checks input data |
Checksum uses a calculated value. Echo check sends a copy back. ARQ uses acknowledgements and timeout to resend data.
Check digit is used for input checking, not network transmission.
Now that you understand error detection, the final Topic 2 lesson explains how data can be protected using encryption.