EduFarming
Your list · 0हिं

Type at least two letters. Press Esc to close.

↑↓ navigate↵ openTAB cycle filter

Modulo Arithmetic & Congruence · Question 37 of 97

Which of these codes is valid?

Question 37

MediumOriginal 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 of these codes is valid?

Options for question 37

Show the answer and explanation
CorrectNot quiteAnswer D

Correct answer: D

Explanation

  1. For each code, add the first four digits and compare the remainder by 10 with the last digit.

  2. 3+5+9+1=183 + 5 + 9 + 1 = 18, which ends in 8: 35918 checks. The others give 8 against 7, 7 against 8 and 9 against 8.

Concept
Checking a code
Typical time
120 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.