CS FundamentalsHardAccenture · Tech Mahindra pattern

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

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

Correct answer: B. 7

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

More Computer Networks questions

Exams that ask this topic