Checksum, echo check, ARQ and check digits
Watch the whole lecture free
Make a free account to watch every lecture to the end: 4 practice questions, 2 real past-paper questions with the answers explained, the mistakes that lose marks, the full-marks tip, a one-card summary and a quick quiz.
That was the teaching part. The rest of this lecture is free with an account: 4 practice questions, 2 real past-paper questions with the answers explained, the mistakes that lose marks, the full-marks tip, a one-card summary and a quick quiz.
No password needed now: we email you a link to set one. Already have an account? Sign in, then come back to this page.
The teaching part (1 min) is free to watch. A free account opens the whole lecture: 4 practice questions, 2 real past-paper questions with the answers explained, the mistakes that lose marks, the full-marks tip, a one-card summary and a quick quiz.
What this lecture covers
- Four more methods
- The checksum
- The checksum, in a picture
- A checksum in numbers
Read the transcript of the teaching part
Last time
Before we start: last time, in Errors in transmission and parity checks, you learned these points. Here they are again on one card. Keep them in mind, because today builds on them.
Four more methods
Parity is not the only check. Cambridge wants four more: the checksum, the echo check, automatic repeat request, and the check digit. The first three check data sent across a network. The check digit checks data typed or scanned in.
The checksum
Before sending, the sender uses an agreed algorithm to calculate a value from the data. This is the checksum. The checksum is sent along with the data. The receiver uses the same algorithm to calculate the checksum again from what arrived. If the two checksums are different, there is an error, and the data is requested again.
The checksum, in a picture
Here is the checksum in a picture: the data and its checksum go across, the receiver works it out again, and asks for the data again if they differ.
A checksum in numbers
Here is a simple example. The data bytes are twelve, nine and four. The sender adds them: twenty-five. That is the checksum, and it is sent too. If the receiver gets twelve, eight and four, it adds them to twenty-four, which does not match twenty-five. So an error is found, and the data is sent again. Real checksums use a cleverer formula, but the idea is the same.
How often it comes up
The whole chapter: Methods of Error Detection.
Chapter 2.3: Error detection
- Errors in transmission and parity checks 5 min
- Checksum, echo check, ARQ and check digits 5 min
Also for IGCSE Computer Science 0478
Which topics come up most in IGCSE Computer Science 0478 past papers, counted from every paper since 2004: Paper 1 topic frequency, Paper 2 topic frequency.