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. /The block of bytes 87, 142, 203 and 61 is sent with its checksum, worked out as the total bmod 256…
HardComputer ScienceHigh School (9–10)Computer Science › Data TransmissionNumericalConceptualIGCSE

The block of bytes 87, 142, 203 and 61 is sent with its checksum, worked out as the total bmod 256…

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.

The block of bytes 878787, 142142142, 203203203 and 616161 is sent with its checksum, worked out as the total  mod 256\bmod 256mod256. This time interference changes two bytes: the block arrives as 878787, 147147147, 198198198 and 616161.

  1. What checksum does the receiver work out?
  1. Is the error detected?
  1. Explain why, and say what this shows about a simple checksum.

Check your answer

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

Need a reminder? The key ideaShowHide

Parity block: each byte has a parity bit and a parity byte holds the parity bit of each column; the wrong bit is where the failing row and the failing column cross. Checksum: the sender works out a value from the block and sends it; the receiver works it out again; a difference means an error. Here the checksum is the total of the bytes  mod 256\bmod 256mod256. Echo check: the receiver sends the data back and the sender compares.

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 total. 87+147+198+61=49387 + 147 + 198 + 61 = 49387+147+198+61=493.

Step 2. The checksum. 493−256=237493 - 256 = 237493−256=237.

Step 3. Detected? The checksum sent was also 237237237 (from 87+142+203+61=49387 + 142 + 203 + 61 = 49387+142+203+61=493). The two match, so the error is not detected.

Step 4. Why. The second byte went up by 555 and the third went down by 555. The changes cancel in the total. A simple checksum only sees the total, so it misses errors that cancel. Real systems use cleverer checksum methods to make this much less likely.

Answer: (a) 237237237. (b) No. (c) The two changes cancel in the total, so a simple checksum cannot see them.

Log in to save this for later
← All Problems
← A block holds the four bytes 87, 142, 203 and 61…A computer sends the byte 01001101 to a device using an echo check… →
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 library adds a new book. The first twelve digits of its 13-digit ISBN are 978186197876…Easy
  4. A computer sends the byte 01001101 to a device using an echo check…Easy
  5. A block holds the four bytes 87, 142, 203 and 61…Medium
All problems on this topic →