What a checksum can and cannot detect
A sum of the data bytes sent with the data. It catches most changes, losses and gains, but misses swapped bytes or errors that cancel out, and cannot show which byte is wrong.
Understanding What a checksum can and cannot detect in IGCSE Computer Science Paper 1
What it does: A lost byte makes the received total differ from the sent checksum, so the error is detected. The receiver only compares two totals, so it knows an error exists but not where it is. Addition gives the same total in any order, so swapped bytes give the same checksum. This is a weakness of a checksum. A checksum uses the values of all the bytes, so it is stronger than one parity bit for a block. It still cannot say which byte is wrong. A checksum can miss some errors, so a match only means no error was found.
Common mistakes: Swapping bytes does not change the total, so both sums are 60. The checksum matches and the swap goes unnoticed. The line should say the swap is not detected. The checksum is 20, so the sent bytes must add up to 20. 5 + 9 + 7 is 21. The line should be sent ← [5, 9, 6].
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
checksumFill in the Blanks
Spot the Error
Student with a class code? Join your class →