CS FundamentalsHardWipro · Accenture pattern
A single-error-correcting Hamming code must protect 90 data bits. What is the minimum number of parity bits required?
- A. 8
- B. 5
- C. 7
- D. 6
Correct answer: C. 7
The smallest r satisfying 2^r ≥ m + r + 1 is needed. For m = 90: 2^6 = 64 < 97, but 2^7 = 128 ≥ 98, so r = 7.
More Computer Networks questions
- 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…
- A receiver computes the Internet checksum over the 16-bit words 0xffff, 0x0001, 0x2222, 0x3333 using one's-complement addition with…