CS FundamentalsHardGATE CS (PYQ pattern)

An (11,7) Hamming code uses even parity with check bits at positions 1, 2, 4 and 8 (positions numbered 1 to 11 from the left). The received word is 10100011001. Assuming exactly one bit error, what are the 7 data bits (positions 3, 5, 6, 7, 9, 10, 11 in order) after correction?

  1. A. 1001001
  2. B. 1011001
  3. C. 0110110
  4. D. 1011000

Correct answer: B. 1011001

Syndrome (XOR of the positions of parity checks that fail) = 6, so position 6 is wrong. Flip it and read data positions 3, 5, 6, 7, 9, 10, 11: 1011001. Reading the received data without correcting gives the first distractor.

More Computer Networks questions

Exams that ask this topic