CS FundamentalsHardGATE CS

A block code has minimum Hamming distance 5. Which statement is correct?

  1. A. It can correct all 3-bit errors
  2. B. It can correct all 1-bit errors and at the same time detect all 2- and 3-bit errors
  3. C. It can detect all 5-bit errors
  4. D. It can correct all 2-bit errors and at the same time detect all 3-bit errors

Correct answer: B. It can correct all 1-bit errors and at the same time detect all 2- and 3-bit errors

With distance d you can correct c and also detect e > c errors if c + e + 1 ≤ d: c = 1, e = 3 gives 5 ≤ 5. Pure correction reaches ⌊(5 − 1)/2⌋ = 2, pure detection reaches 4, but c = 2 with e = 3 needs d ≥ 6.

More Computer Networks questions

Exams that ask this topic