CS FundamentalsHardGATE CS

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

  1. A. 1101001
  2. B. 0100110
  3. C. 1011001
  4. D. 1001001

Correct answer: C. 1011001

The syndrome (check-bit parities failing: weights 6) is 6, so position 6 is in error. Flipping it and reading data positions 3, 5, 6, 7, 9, 10, 11 gives 1011001; the received data bits are 1001001.

More Computer Networks questions

Exams that ask this topic