CS FundamentalsHardGATE CS
A (7, 4) Hamming code is used for single-error correction. A codeword suffers exactly TWO bit errors. What does the decoder do?
- A. It detects the double error and asks for retransmission
- B. It corrects both errors because the syndrome has 3 bits
- C. It sees a zero syndrome and accepts the word unchanged
- D. Its nonzero syndrome points to a third bit, which it flips, giving a wrong codeword
Correct answer: D. Its nonzero syndrome points to a third bit, which it flips, giving a wrong codeword
The minimum distance is 3, so a double error lands at distance 1 from a different codeword; the syndrome is the XOR of the two error positions, which is nonzero and names some other position. Detecting doubles needs an extra overall parity bit (SEC-DED).
More Computer Networks questions
- A 900-byte binary file is attached to an email using Base64 (no line breaks). How many characters does the encoded attachment occupy?
- Which TLS key-exchange choice gives forward secrecy, so that a later leak of the server's long-term private key does not reveal past…
- Which task is NOT performed by the data link layer?
- A leaky bucket holds at most 6 packets and sends at most 3 per tick. Each tick, arrivals are added first (any overflow beyond 6 is…
- A switch's MAC table ages out entries after 300 s. Host H was learned on port 3 and then moved silently to port 7 without sending…
- 10.0.0.0/8 is divided into /22 subnets numbered from 0 in address order. Host 10.45.200.17 uses the mask 255.255.252.0. What is the number…