EduFarming
Your list · 0हिं

Type at least two letters. Press Esc to close.

↑↓ navigate↵ openTAB cycle filter

Modulo Arithmetic & Congruence · Question 44 of 97

Which mistake can this check digit NOT catch?

Question 44

HardOriginal question

A shop gives each product a 5-digit code. The first four digits name the product, and the fifth, the check digit, is the sum of the first four digits taken modulo 10.

Which mistake can this check digit NOT catch?

Options for question 44

Show the answer and explanation
CorrectNot quiteAnswer B

Correct answer: B

Explanation

  1. A swap leaves the sum of the first four digits unchanged, so the check digit still matches.

  2. Changing a single digit changes the sum by 1 to 9, which always changes its last digit.

Worth noting

This is why many real codes weight the digits differently, so that a swap changes the sum.

Concept
What a check digit can detect
Typical time
150 s
Your time
—
The rule this testsModular addition, subtraction and multiplication
Practise this chapter →

Ten questions from Modulo Arithmetic & Congruence, at your own pace.

Practise this chapter →

Ten questions from Modulo Arithmetic & Congruence, at your own pace.