Self - Learningactivity4.3.A: A. 1.1) Evaluate The Following
Self - Learningactivity4.3.A: A. 1.1) Evaluate The Following
a
Directions: Do as indicated.
If we pick the modulus 12, then our solutions are required to be in the set Z 12 = {0, 1,
2, 3, 4, 5, 6, 7, 8, 9, 10, and 11}. We have 2+1=3, 2+2=4, 2+3=5, 2+4=6, 2+7=9,
2+8=10, and 2+9=11 as usual. Then 2+12=12, which is not in our set, so it wraps
around giving 2+10=0. Then 2+11=13, which wraps around to be 1.
+ 1 2 3 4 5 6 7 8 9 10 11 0
1 2 3 4 5 6 7 8 9 10 11 0 1
2 3 4 5 6 7 8 9 10 11 0 1 2
3 4 5 6 7 8 9 10 11 0 1 2 3
4 5 6 7 8 9 10 11 0 1 2 3 4
5 6 7 8 9 10 11 0 1 2 3 4 5
6 7 8 9 10 11 0 1 2 3 4 5 6
7 8 9 10 11 0 1 2 3 4 5 6 7
8 9 10 11 0 1 2 3 4 5 6 7 8
9 10 11 0 1 2 3 4 5 6 7 8 9
10 11 0 1 2 3 4 5 6 7 8 9 10
11 0 1 2 3 4 5 6 7 8 9 10 11
0 1 2 3 4 5 6 7 8 9 10 11 0
If we pick the modulus 6, then our solutions are required to be in the set Z 6 = {0, 1, 2,
3, 4, and 5}. We have 2 x 1=2, and 2 x 2=4 as usual. Then 2 x 3=6, which is not in our
set, so it wraps around giving 2 x 3=0. Then 2 x 4=8, which wraps around to be 2.
+ 1 2 3 4 5 0
1 2 3 4 5 0 1
2 3 4 5 0 1 2
3 4 5 0 1 2 3
4 5 0 1 2 3 4
5 0 1 2 3 4 5
0 1 2 3 4 5 0
5 x 4 = 20(mod 6) = 2 4 x 2 = 8(mod 6) = 2
3 x 5 = 15(mod 6) = 3 5 x 5= 25(mod 6) = 1
Self -LearningActivity4.3.b
1. The book entitled “The Equation that couldn’t be Solved” by Mario Livio has an
ISBN 978-0-7432-5820-? What is its check digit?
978-0-7432-5820-?
d13 = 10 – (d1 + 3d2 + d3 + 3d4 + d5 + 3d6 + d7 + 3d8 + d9 + 3d10 + d11 + 3d12)mod 10.
978-0-716- 73250-5
d13 = 10 – (d1 + 3d2 + d3 + 3d4 + d5 + 3d6 + d7 + 3d8 + d9 + 3d10 + d11 + 3d12)mod 10.
978-971-9645-41-2
d13 = 10 – (d1 + 3d2 + d3 + 3d4 + d5 + 3d6 + d7 + 3d8 + d9 + 3d10 + d11 + 3d12)mod 10.
0-471-31055 – x
(The digits of the ISBN information numbers are listed in order left to right and weighted
by counting down from 10 to 1.) The check digit is chosen to be a number from 0 to 10
so that this weighted sum is a multiple of 11. That is, the sum must be divisible by 11.
Let us see what sum we have so far with these particular nine information digits:
The check digit is 7 was chosen because 147 + 7(1) = 154 and 154 is a multiple of 11.
147 is greater than 11(13) = 143 and 18 less than 11(15) = 165. The only possible number
from 0 to 10 to use as a check digit is 3.
Self -LearningActivity4.3.c
d12 = 10 – 2 = 8
Since the computed check digit is not the last digit in a given code, then the bar
code is not valid.
2. Tell whether the given Universal Product Code 300450180186 is a
valid number. Explain.
d12 = 10 – 4 = 6
Since the computed check digit is the last digit in a given code, then the bar code is
valid.
3. Find the check number of a certain product whose code number is 0-332334- 8272-
x.
d12 = 10 –5= 5
Since the computed check digit is 5
6 0 1 1 0 1 2 3 9 1 4 5 2 3 1 7
x2 x2 x2 x2 x2 x2 x2 x2
12 0 2 1 0 1 4 3 18 1 8 5 4 3 2 7
Then;
5 1 5 5 0 1 2 3 4 3 5 6 0 0 8 0
x2 x2 x2 x2 x2 x2 x2 x2
10 1 10 5 0 1 4 3 8 3 10 6 0 0 16 0
Then;
4 0 0 0 0 0 1 2 3 4 5 6 7 8 9 9
x2 x2 x2 x2 x2 x2 x2 x2
8 0 0 0 0 0 2 2 6 4 10 6 14 8 18 9
Then;
8 + 0 + 0 + 0 + 0 + 0 + 2 + 2 + 6 + 4 + (1+0) + 6 + (1+4) + 8 + (1 + 8) + 9 = 60