Check digit
An extra digit added to the end of a number, calculated from its other digits. It is recalculated on entry and compared, to detect data entry mistakes.
Understanding Check digit in IGCSE Computer Science Paper 1
What it does: The check digit is the result of a calculation on the other digits, so it depends on them. The comparison of the recalculated value with the typed check digit decides whether the entry is rejected. Check digits are used when data is typed in or scanned. Parity bits, checksums and ARQ are used for transmission errors. A mismatch means the number has probably been entered wrongly, so the system asks the user to enter it again. The check digit is added to the end of the number, for example the last digit of an ISBN-13. Because it is calculated from the other digits, the system can recalculate it and compare it on entry.
Common mistakes: The check digit is calculated from all the other digits. The line overwrites total each time, so only the last digit is used. It should add each digit: total ← total + digit[i]. On entry the check digit is recalculated and compared with the one typed. The number is accepted only when they match, so the test should be IF given = calc THEN.
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
check digitFill in the Blanks
Spot the Error
Student with a class code? Join your class →