CS FundamentalsHardHCL · Tech Mahindra pattern

A single-error-correcting Hamming code must protect 68 data bits. What is the minimum number of parity bits required?

  1. A. 7
  2. B. 6
  3. C. 8
  4. D. 5

Correct answer: A. 7

The smallest r satisfying 2^r ≥ m + r + 1 is needed. For m = 68: 2^6 = 64 < 75, but 2^7 = 128 ≥ 76, so r = 7.

More Computer Networks questions

Exams that ask this topic