Tip: Choose Save as PDF in the print dialog to download. Use A4 paper size.
Shade in the A or B circle for each question.
Draw a line connecting each item on the left to its match on the right.
| Left column | Right column | |
|---|---|---|
| 1weights: 1 3 1 3 1 3 1 3 1 3 1 3 | ATurns the weighted total into the check digit. If the total ends in 0, the check digit is 0. | |
| 2(10 - (total MOD 10)) MOD 10 | BThe first 12 digits of an EAN-13 bar code are multiplied by alternating weights of 1 and 3, the same pattern as ISBN-13. | |
| 3The scanner recalculates the check digit from the first 12 digits and compares it with the 13th digit it read. | CA match means the read passed the check, so the item should be accepted. The scanner should only beep and ask for a rescan when the digits do not match. | |
| 4If the recalculated check digit does not match, the scanner rejects the misread and beeps for the item to be scanned again. | DIF calculated = digit13 THEN accept | |
| 5weights: 3 3 3 3 3 3 3 3 3 3 3 3 | EEAN-13 does not use the weight 3 for every digit. The weights alternate 1, 3, 1, 3 and so on, starting with 1. | |
| 6IF calculated = digit13 THEN rescan | FIF calculated ≠ digit13 THEN beep and rescan |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
check digit — The last digit of a bar code number, worked out from the other digits. The scanner recalculates it and rejects a misread if the digits do not match, so the item must be scanned again.check ← (10 - (total MOD 10)) MOD 10IF position MOD 2 = 0 THEN weight ← 3IF calculated <> lastDigit THEN
OUTPUT "Scan again"
ENDIFfirst12 ← LEFT(code, 12)
lastDigit ← MID(code, 13, 1)REPEAT
INPUT code
UNTIL checkOK = TRUE