Virtually every item sold in a store has a 12-digit UPC barcode which is scanned...

Graham Beasley

Graham Beasley

Answered

2022-07-26

Virtually every item sold in a store has a 12-digit UPC barcode which is scanned at the checkout counter. The first 11 digits of a UPC number d1d2d3 ? ? ? d11d12 identify the manufacturer and product. The last digit d12 is a check digit which is chosen so that 3d1+d2+3d3+d4+3d5+d6+3d7+d8+3d9+d10+3d11+d12 =0 pmod10q.
If the congruence does not hold, an error has been made and the item must be scanned again, or the UPC code enteblack by hand. Which of the following UPC numbers were scanned incorrectly?
1-33732000625
2-040293673034

Answer & Explanation

Carassial3

Carassial3

Expert

2022-07-27Added 9 answers

1) check sum = 9 + 9 + 21 + 9 + 6 + 18 + 6 + 5 = 83 = 3 mod 10
hence it was scanned incorrectly
2) 12 + 6 + 27 + 9+18+ 21+9+9+4 = 5 mod 10
hence it is also scanned incorrectly

Do you have a similar question?

Recalculate according to your conditions!

Ask your question.
Get your answer.

Let our experts help you. Answer in as fast as 15 minutes.

Didn't find what you were looking for?