Checking a checksum at the receiver
The receiver recalculates the checksum from the received data and compares it with the one sent. Match means no error detected; mismatch means error, so resend is requested.
Understanding Checking a checksum at the receiver in IGCSE Computer Science Paper 1
What it does: The receiver applies the same checksum calculation to the received data to get a value it can compare with the one sent. When the two checksums differ, the receiver treats the data as corrupted and requests it again. If the two checksums match, no error has been detected, so the data is accepted. A checksum can only detect that an error occurred. It cannot say which part is wrong, so the receiver asks for a resend.
Common mistakes: The receiver must recalculate the checksum from the data it received, not from the checksum that was sent. It should be calc ← SUM(data) MOD 256. When the two checksums differ, an error has occurred, so the receiver must request the data again. It must not say that no error was detected.
Free printable worksheet with full answer key — or add this module to a class and your students practise it interactively.
This module's key terms are also in a printable crossword (Modules 168–178) and word search (Modules 168–188).
Take this worksheet further — free with Cloodit
Each concept is reinforced from every angle — learned, then applied, then tested.
Cloodit turns curriculum-aligned coding content into journeys students work through one biome at a time.
Over 100 of them, across seven natural biomes.
Turns their work into revision material ready for Flash Cards and Exam study.
Live, competitive practice for the start of the lesson or a teacher-led lesson finisher.
Honour your top performers, or encourage a student who's trying hard — ready to print in seconds.
Quick Questions
Match the Pairs
Key Term
recalculate and compareFill in the Blanks
Spot the Error
Student with a class code? Join your class →