CS FundamentalsModerateHCL · Tech Mahindra pattern
A code must be able to correct any 2-bit error in a codeword. What is the minimum Hamming distance it needs?
- A. 3
- B. 4
- C. 6
- D. 5
Correct answer: D. 5
To correct t errors the minimum distance must be 2t + 1 = 2(2) + 1 = 5. A distance of 3 corrects only single-bit errors; 4 corrects 1 and detects 3.
More Computer Networks questions
- What is the maximum throughput (fraction of time the channel carries a successful frame) of pure ALOHA?
- The ping utility checks whether a host is reachable by sending which kind of message?
- How many IPv4 addresses (including network and broadcast) are in the block 160.10.8.0/21?
- A company with 300 PCs and a single public IPv4 address lets all of them browse the web at once. The router keeps a table that maps each…
- Which IPv4 header field stops a packet from circulating forever if a routing loop forms?
- How many parity (check) bits does a single-error-correcting Hamming code need for 11 data bits?