CS FundamentalsHardCognizant · Capgemini pattern
A single-error-correcting Hamming code must protect 75 data bits. What is the minimum number of parity bits required?
- A. 6
- B. 8
- C. 5
- D. 7
Correct answer: D. 7
The smallest r satisfying 2^r ≥ m + r + 1 is needed. For m = 75: 2^6 = 64 < 82, but 2^7 = 128 ≥ 83, so r = 7.
More Computer Networks questions
- A single-error-correcting Hamming code must protect 90 data bits. What is the minimum number of parity bits required?
- A code must be able to correct any 4-bit error in every codeword. What is the minimum Hamming distance the code must have?
- A code must be able to correct any 5-bit error in every codeword. What is the minimum Hamming distance the code must have?
- A code must be able to correct any 6-bit error in every codeword. What is the minimum Hamming distance the code must have?
- A code must be able to correct any 7-bit error in every codeword. What is the minimum Hamming distance the code must have?
- A receiver computes the Internet checksum over the 16-bit words 0x1234, 0x5678, 0x9abc, 0x0001 using one's-complement addition with…