MATM FINALS: CHECK CODES AND CHECK DIGITS Flashcards

1
Q

_____________– is used to produce and verify identification numbers.

A

, modular arithmetic

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

__________________, is mainly used in products sold in department stores and groceries. The UPC consists of barcodes with 12 digits where the last one is the check digit.

CHECK DIGIT : d12
d12= 10 – (3d1 +d2 + 3d3 + d4 +3d5 +d6 + 3d7 + d8 + 3d9 + d10 + 3d11)(mod10)
A

Universal Product Code (UPC)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

______________ is used on books where usually found at the last page of the book. ISBN can be ISBN-10 or ISBN-13 where they used 10 digits or 13 digits string of number respectively with the last digit as the check digit.

CHECK DIGIT : d10
d10 = 11- (10d1 + 9d2 + 8d3 + 7d4 + 6d5 + 5d6 + 4d7 +3d8 +2d9 )(mod 11)

A

International Standard Book Number (ISBN)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

___________________- is consist of 11 digits, while the Credit Card uses 16 digits where both of them uses their last digits as the check digits.

CHECK DIGIT : d11
d11 = 9 – (d1 +d2 + d3 + d4 + d5 + d6 + d7 + d8 + d9 + d10 )(mod 9)

A

United States Postal Services (USPS)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

CREDIT CARD
CHECK DIGIT : d16
d16 = 10 – (2d1 +d2 +2d3 +d4 +2d5 +d6 +2d7 +d8 +2d9 +d10 +2d11 +d12 +2d13 +d14 +2d15 )(mod10)

NOTE : ADD ALL THE DIGITS, TREATING THE TWO-DIGIT NUMBERS AS TWO SINGLE DIGITS.

A

CREDIT CARD

How well did you know this?
1
Not at all
2
3
4
5
Perfectly