CS FundamentalsHardHCL · Tech Mahindra pattern
A code has exactly four codewords: 00000, 01011, 10101 and 11110. Which statement about its error handling is correct?
- A. It can detect up to 4-bit errors and correct 2-bit errors
- B. It can detect up to 3-bit errors and correct 2-bit errors
- C. It can detect 1-bit errors but correct none
- D. It can detect up to 2-bit errors and correct 1-bit errors
Correct answer: D. It can detect up to 2-bit errors and correct 1-bit errors
Pairwise distances are 3, 3, 4, 4, 3, 3, so d_min = 3 (take the minimum, not the largest 4). Detect d_min − 1 = 2 errors; correct ⌊(d_min − 1)/2⌋ = 1 error.
More Computer Networks questions
- In slotted ALOHA, the offered load is G = 2 frames per slot. What fraction of slots carry a successful frame?
- For the host 131.45.214.9/22, how many usable host addresses does its subnet have, and what is the last usable host address?
- Which one of these is NOT a function of the transport layer?
- How many of the following statements about IPv6 are correct? 1. The base IPv6 header has a fixed size of 40 bytes. 2. IPv6 has no…
- How many of the following statements about HTTPS (TLS) are correct? 1. The server's certificate lets the client verify the server's…
- A 100 Mbps path has a one-way propagation delay of 25 ms. To keep it full, a TCP sender needs a window equal to the bandwidth-delay…