How many parity bits are required for a standard Hamming code with 4 data bits?

Options

  • A. 1
  • B. 2
  • C. 3
  • D. 4
  • E. None of the above

Correct Answer (Detailed Explanation is Below)

C. 3

Detailed Explanation

Correct Answer: (C) 3
For m data bits and r parity bits, the condition is 2ʳ ≥ m + r + 1.
For m = 4:
r = 3 gives 2³ = 8 and 4 + 3 + 1 = 8.
Therefore, 3 parity bits are required.