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 block of four bytes uses even parity. The first bit of each byte is its parity bit…
MediumComputer ScienceHigh School (9–10)Computer Science › Data TransmissionNumericalIGCSE

A block of four bytes uses even parity. The first bit of each byte is its parity bit…

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 block of four bytes uses even parity. The first bit of each byte is its parity bit. The last byte is the parity byte for the columns. The block arrives like this:

  • Byte 1: 01100101
  • Byte 2: 10110000
  • Byte 3: 01011010
  • Byte 4: 11110000
  • Parity byte: 01111101
  1. Which byte (row) fails the parity check?
  1. Which column fails? Count the columns from the left, starting at 111.
  1. What should that bit be?

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 rows. byte 1 has 444 ones; byte 2 has 333 ones; byte 3 has 444 ones; byte 4 has 444 ones. Only byte 222 has an odd count, so row 222 fails.

Step 2. The columns. Count the 1s down each column, including the parity byte. Column 777 has an odd count. Every other column is even.

Step 3. Where they cross. The wrong bit is in row 222, column 777. It arrived as 000, so it should be 111.

Check. With that bit flipped back, byte 222 is 10110010, which has 444 ones: even. Column 777 is now even too.

Answer: (a) Row 222. (b) Column 777. (c) 111.

Log in to save this for later
← All Problems
← A system uses even parity. The byte 01101001 is sent…A block holds the four bytes 87, 142, 203 and 61… →
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. The block of bytes 87, 142, 203 and 61 is sent with its checksum, worked out as the total bmod 256…Hard
All problems on this topic →