CS FundamentalsVery hardGATE CS
A (15, 11) Hamming code uses even parity with check bits at positions 1, 2, 4 and 8 (positions numbered 1–15 from the left). The word 111101100011001 is received. Assuming at most one bit is wrong, which position is in error?
- A. Position 5
- B. Position 13
- C. Position 11
- D. No error
Correct answer: B. Position 13
Recompute each check over the positions whose index has that bit set: the failing checks are the ones for 1, 4 and 8, and 1 + 4 + 8 = 13. Reading the syndrome bits in reverse (1011 = 11) or missing the check for 8 (giving 5) are the usual slips.
More Computer Networks questions
- A CRC uses the generator x³ + 1 (1001). Which of these error patterns (bits written from the highest power down) would go UNDETECTED?
- After its 4th consecutive collision on a frame, a 10 Mbps Ethernet station picks K uniformly from {0, …, 2⁴ − 1} and waits K slot times…
- An ISP holds 200.30.0.0/16 and allocates, in address order and without gaps: 32 customers with 512 addresses each, then 64 customers with…
- Which group of four consecutive /24 networks can be advertised as exactly one /22 with no extra address space?
- A router has 10.0.0.0/8 → A, 10.128.0.0/9 → B and 10.192.0.0/10 → C, using longest-prefix match. How many destination addresses are…
- A browser fetches a 100 KB base page and then 3 embedded objects of 200 KB each from one server over a single persistent HTTP connection…