CS FundamentalsHardIBM · Deloitte pattern

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

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

Correct answer: C. 6

The smallest r satisfying 2^r ≥ m + r + 1 is needed. For m = 57: 2^5 = 32 < 63, but 2^6 = 64 ≥ 64, so r = 6.

More Computer Networks questions

Exams that ask this topic