CS FundamentalsHardIBM · Deloitte pattern

How many parity bits does a single-error-correcting Hamming code need to protect 47 data bits?

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

Correct answer: A. 6

The smallest r with 2^r ≥ m + r + 1 is used. For m = 47, r = 5 gives 2^5 = 32 < 53, but r = 6 gives 2^6 = 64 ≥ 54.

More Computer Networks questions

Exams that ask this topic