Error
There was an error loading the page.
Metadata
Taxonomy: mathcentre
Taxonomy: Kind of activity
Taxonomy: Context
Contributors
Feedback
From users who are members of Intro Cryptography :
Alexander Corner | said | Needs to be tested | 3 months, 2 weeks ago |
History
Alexander Corner 3 months, 2 weeks ago
Published this.Alexander Corner 3 months, 2 weeks ago
Gave some feedback: Needs to be tested
Alexander Corner 3 months, 2 weeks ago
Gave some feedback: Ready to use
Alexander Corner 3 months, 2 weeks ago
Gave some feedback: Needs to be tested
Alexander Corner 5 months ago
Created this.Name | Status | Author | Last Modified | |
---|---|---|---|---|
ISBN-10 | Needs to be tested | Alexander Corner | 03/01/2025 13:00 | |
ISBN-13 | Needs to be tested | Alexander Corner | 03/01/2025 13:00 |
Name | Type | Generated Value |
---|
x1 | integer |
8
|
||||
x2 | integer |
0
|
||||
x3 | integer |
10
|
||||
x4 | integer |
5
|
||||
x5 | integer |
7
|
||||
x6 | integer |
9
|
||||
x7 | integer |
8
|
||||
x8 | integer |
3
|
||||
x9 | integer |
10
|
||||
check_digit | number |
9
|
||||
parity | matrix |
matrix([10,9,8,7,6,5,4,3,2])
|
||||
digits | matrix |
Matrix of size 9×1
|
||||
check | number |
2
|
||||
x1' | string |
8
|
||||
x2' | string |
0
|
||||
x3' | string |
X
|
||||
x4' | string |
5
|
||||
x5' | string |
7
|
||||
x6' | string |
9
|
||||
x7' | string |
8
|
||||
x8' | string |
3
|
||||
x9' | string |
X
|
||||
ISBN | string |
80X57983X?
|
Generated value: integer
- digits
- x1'
This variable doesn't seem to be used anywhere.
Information only
Ask the student a question, and give any hints about how they should answer this part.
ISBN-10 is an error-correcting code which, until 2007, was used to assign a unique identifier to every published book. It is now superseded by ISBN-13, but here we look at how it works.
Each ISBN-10 code is a ten-digit number, using the digits 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, X, where X stands for 10. All calculations are performed modulo 11. E..g, 147676669X.
The last digit is a check digit, which is calculated based on the previous nine digits. Let xi represent the digit in position i of the ISBN, e.g., in 0131862391 we have x1=0, x2=1, x3=3, etc. Then, for an ISBN x1x2x3x4x5x6x7x8x9x10, the following checksum must be satisfied:
10x1+9x2+8x3+7x4+6x5+5x6+4x7+3x8+2x9+1x10≡0mod11.
E.g., for 0131862391 we get
(10×0)+(9×1)+(8×3)+(7×1)+(6×8)+(5×6)+(4×2)+(3×3)+(2×9)+(1×1)=154=14×11≡0mod11.
Use this tab to check that this question works as expected.
Part | Test | Passed? |
---|---|---|
Information only | ||
Number entry | ||
Hasn't run yet |
This question is used in the following exam: