CS FundamentalsHardGATE CS
An 11-bit even-parity Hamming code uses check bits at positions 1, 2, 4 and 8 and data bits at positions 3, 5, 6, 7, 9, 10, 11 (positions numbered from 1 at the left). The received codeword is 10100011001. Assuming exactly one bit is in error, what are the seven data bits (positions 3, 5, 6, 7, 9, 10, 11) after correction?
- A. 1101001
- B. 0100110
- C. 1011001
- D. 1001001
Correct answer: C. 1011001
The syndrome (check-bit parities failing: weights 6) is 6, so position 6 is in error. Flipping it and reading data positions 3, 5, 6, 7, 9, 10, 11 gives 1011001; the received data bits are 1001001.
More Computer Networks questions
- Selective Repeat uses 6-bit sequence numbers (so the largest safe sender window is 2^5 = 32). The link is 100 Mbps with 1500-byte frames…
- A 3000-byte IP datagram (20-byte header, 2980 bytes of payload) is sent over a link with MTU 1500, producing fragments that then cross a…
- What is the network address of the host 192.168.45.130/26?
- What is the broadcast address of the host 172.16.5.9/22?
- The signal speed in a link is 2 x 10^8 m/s and the link is 1500 km long. What is the propagation delay?
- Which TCP port does SMTP use by default?