CS FundamentalsHardGATE CS

A (7, 4) Hamming code is used for single-error correction. A codeword suffers exactly TWO bit errors. What does the decoder do?

  1. A. It detects the double error and asks for retransmission
  2. B. It corrects both errors because the syndrome has 3 bits
  3. C. It sees a zero syndrome and accepts the word unchanged
  4. D. Its nonzero syndrome points to a third bit, which it flips, giving a wrong codeword

Correct answer: D. Its nonzero syndrome points to a third bit, which it flips, giving a wrong codeword

The minimum distance is 3, so a double error lands at distance 1 from a different codeword; the syndrome is the XOR of the two error positions, which is nonzero and names some other position. Detecting doubles needs an extra overall parity bit (SEC-DED).

More Computer Networks questions

Exams that ask this topic