CS FundamentalsHardGATE CS (PYQ pattern)
An (11,7) Hamming code uses even parity with check bits at positions 1, 2, 4 and 8 (positions numbered 1 to 11 from the left). The received word is 10100011001. Assuming exactly one bit error, what are the 7 data bits (positions 3, 5, 6, 7, 9, 10, 11 in order) after correction?
- A. 1001001
- B. 1011001
- C. 0110110
- D. 1011000
Correct answer: B. 1011001
Syndrome (XOR of the positions of parity checks that fail) = 6, so position 6 is wrong. Flip it and read data positions 3, 5, 6, 7, 9, 10, 11: 1011001. Reading the received data without correcting gives the first distractor.
More Computer Networks questions
- An (11,7) Hamming code uses even parity with check bits at positions 1, 2, 4 and 8. The received word (positions 1 to 11) is 10001100111…
- Which of these CRC generator polynomials, given as bit strings (leftmost bit is the highest power), is guaranteed to detect EVERY error…
- A 4 x 4 block of data bits is protected by even row and column parity. The received block (rows separated by /, each row followed by | and…
- A learning switch starts with an empty table. Frames arrive as (source, destination, ingress port): (A,B,1), (B,A,2), (C,E,3), (A,C,1)…
- A receiver acknowledges every second full-sized segment immediately and otherwise delays an ACK until a 200 ms timer fires. A sender…
- A TCP sender has LastByteSent = 7000 and LastByteAcked = 5000, cwnd = 4000 bytes, and the receiver's advertised window is 3000 bytes. How…