HelpContactFor teachers and institutes
>_StemPy Lab
Mock TestsClasses

>_StemPy Lab

Learn. Solve. Code the solutions. Test yourself.

Live examsFree mock exams, timed and rankedEveryone starts together, and your score and rank come the moment it ends.See the exams →

Learn

  • Physics
  • Chemistry
  • Mathematics
  • Biology
  • Python Programming
  • Statistics & Data Science
  • Computer Science
  • Classes
  • Groups

Practice

  • Problems
  • Quizzes
  • Mock Tests
  • Prepare for an Exam
  • Question Sets
  • Exams
  • Certificates
  • Python Labs
  • AI Practice Generator
  • Student-Created Tests

Community

  • Discussions
  • Resources
  • Notes
  • Glossary
  • Blog

Account

  • Log in
© 2026 senLearn. All rights reserved.HelpFor SchoolsAboutContactPrivacy PolicyTerms of UseRefund Policy
  1. Problems
  2. /A library adds a new book. The first twelve digits of its 13-digit ISBN are 978186197876…
EasyComputer ScienceHigh School (9–10)Computer Science › Data TransmissionNumericalIGCSE

A library adds a new book. The first twelve digits of its 13-digit ISBN are 978186197876…

StemPy LabContributed by StemPy Lab

Try it on paper first. A hint, the key idea and the worked solution are here when you need them.

A library adds a new book. The first twelve digits of its 13-digit ISBN are 978186197876.

  1. Multiply the digits by 1,3,1,3,…1, 3, 1, 3, \dots1,3,1,3,… from the left and add. What is the total?
  1. What is the check digit?

Check your answer

Work it out on paper, then type your number. The answer itself stays hidden.

Need a reminder? The key ideaShowHide

A check digit is worked out from the other digits and catches data entry errors. ISBN-13 and bar codes: multiply the digits by 1,3,1,3,…1, 3, 1, 3, \dots1,3,1,3,… from the left and add; the check digit makes the total a multiple of 101010. ARQ: positive acknowledgement (no error), negative acknowledgement (error, resend), and a timeout after which the sender resends.

The worked solution

Have you tried it?

Work it out on paper first. It is fine to get stuck or make a mistake: that is how we learn. When you are ready, go through the solution one step at a time, and check each step against your own.

Step 1. The weighted total.

  • Digits in odd positions (times 111): 9+8+8+1+7+7=409 + 8 + 8 + 1 + 7 + 7 = 409+8+8+1+7+7=40.
  • Digits in even positions (times 333): 3×(7+1+6+9+8+6)=3×37=1113 \times (7 + 1 + 6 + 9 + 8 + 6) = 3 \times 37 = 1113×(7+1+6+9+8+6)=3×37=111.
  • Total: 40+111=15140 + 111 = 15140+111=151.

Step 2. The check digit. The next multiple of 101010 is 160160160, so the check digit is 160−151=9160 - 151 = 9160−151=9.

Check. With the check digit the full number is 9781861978769, and its total is 151+9=160151 + 9 = 160151+9=160, a multiple of 101010.

Answer: (a) 151151151. (b) 999.

Log in to save this for later
← All Problems
← A computer sends the byte 01001101 to a device using an echo check…The valid book number 9781861978769 is typed into a library system, but the 7th and 8th digits are… →
More onComputer Science › Data Transmission

Discussion (0)

Log in to join the discussion.

Loading…

More on this topic

  1. A sender uses an automatic repeat query to send 8 packets, one at a time…Hard
  2. The valid book number 9781861978769 is typed into a library system, but the 7th and 8th digits are…Medium
  3. A computer sends the byte 01001101 to a device using an echo check…Easy
  4. The block of bytes 87, 142, 203 and 61 is sent with its checksum, worked out as the total bmod 256…Hard
  5. A block holds the four bytes 87, 142, 203 and 61…Medium
All problems on this topic →