0% found this document useful (0 votes)
552 views2 pages

Check Digit Worksheet 1

The document discusses the ISBN-10 check digit system which uses modulo 11 calculations to validate ISBN numbers. It provides two examples, one calculating the check digit for a sample ISBN and another verifying that a given ISBN has the correct check digit. The system can detect if two digits are inverted, an incorrect digit is used, or a digit is omitted or added. The document asks the reader to verify the check digits for two sample ISBNs and calculate the check digits for two others.

Uploaded by

jomabi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
552 views2 pages

Check Digit Worksheet 1

The document discusses the ISBN-10 check digit system which uses modulo 11 calculations to validate ISBN numbers. It provides two examples, one calculating the check digit for a sample ISBN and another verifying that a given ISBN has the correct check digit. The system can detect if two digits are inverted, an incorrect digit is used, or a digit is omitted or added. The document asks the reader to verify the check digits for two sample ISBNs and calculate the check digits for two others.

Uploaded by

jomabi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Name: _________________________________________________ Class: ________________

Lets take a more detailed look at the check digit system. There are a number of ways that check digits are generated;
in the example that follows, we will consider the ISBN-10 Method which makes use of the modulo 11 system.

Example 1
To calculate the check digit for the ISBN 0 - 2 0 1 - 5 3 0 8 2 - ?
(i) The position of each digit is considered:
10 9 8 7 6 5 4 3 2 1 digit position
0 - 2 0 1 - 5 3 0 8 2 - ? number
(ii) Each digit is then multiplied by its digit position and the totals added together
0 x 10 + 2 x 9 + 0 x 8 + 1 x 7 + 5 x 6 + 3 x 5 + 0 x 4 +8 x 3 + 2 x 2
= 0 + 18 + 0 + 7 + 30 + 15 + 0 + 24 + 4
= 98
(iii) The total is then divided by 11 (modulo 11) and the remainder, if any, is subtracted from 11 to give the check
digit.
98 11 = 8 remainder 10
11 10 = 1
This gives a check digit of 1
Final ISBN becomes 0 -2 0 1 - 5 3 0 8 2 1

Example 2
To check the correctness of a check digit the computer re-calculates it as follows:
The ISBN to check is: 0 - 1 3 1 5 - 2 4 4 7 - X
(i) The position of each digit is considered:
10 9 8 7 6 5 4 3 2 1 digit position
0 - 1 3 1 - 5 2 4 4 7 - X number
(ii) Each digit is then multiplied by its digit position and the totals added together
0 x 10 + 1 x 9 + 3 x 8 + 1 x 7 + 5 x 6 + 2 x 5 + 4 x 4 + 4 x 3 + 7 x 2 + X x 1
= 0 + 9 + 24 + 7 + 30 + 10 + 16 + 12 + 14 + 10 (recall that X = 10)
= 132
(iii) The total is then divided by 11; if there is no remainder then the check digit is correct:
132 11 = 12 remainder 0
Hence the check digit is correct

www.igcse2009.com

Page 1

Note that check digits can essentially identify three types of error:

If 2 Digits have been inverted:


Example, 23496 instead of 23946.

If an incorrect digit has been input:


Example, 23996 instead of 23946.

If a digit has been omitted or an extra digit added:


Example, 2396 or 239966 instead of 23946

(a) Do the following numbers have the correct check digit?


0555216225
(b) Calculate the check digit for the following number:
012190021X
015024622Y

www.igcse2009.com

Page 2

You might also like