EduFarming
Your list · 0हिं

Type at least two letters. Press Esc to close.

↑↓ navigate↵ openTAB cycle filter

Modulo Arithmetic & Congruence · Question 38 of 97

A code reads 2, 9, 6, x, 3, with the fourth digit smudged.

Question 38

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.

A code reads 2, 9, 6, xx, 3, with the fourth digit smudged. What is xx?

Options for question 38

Show the answer and explanation
CorrectNot quiteAnswer C

Correct answer: C

Explanation

  1. 2+9+6+x≡3(mod10)2 + 9 + 6 + x \equiv 3 \pmod{10}, that is 17+x≡317 + x \equiv 3.

  2. x≡3−17=−14≡6x \equiv 3 - 17 = -14 \equiv 6, and the only digit that works is 6.

Worth noting

4 drops the minus sign of −14-14 and takes its last digit.

Concept
Solving for a missing digit
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.