CS FundamentalsVery hardGATE CS
A 7-bit cyclic code uses the generator x³ + x + 1. Bits are indexed by powers of x, from x⁶ (leftmost) down to x⁰ (rightmost). A received word gives the remainder (syndrome) 110 when divided by the generator. Assuming exactly one bit is in error, which bit is it?
- A. The x⁴ bit, third from the left
- B. The x¹ bit, second from the right
- C. The x² bit, fifth from the left
- D. The x⁶ bit, the leftmost one
Correct answer: A. The x⁴ bit, third from the left
A single error at xⁱ leaves the syndrome xⁱ mod (x³ + x + 1). Working up: x³ → 011, x⁴ = x·x³ → x² + x = 110. So the x⁴ bit (third from the left) is wrong; this code is the cyclic (7, 4) Hamming code, which can locate single errors.
More Computer Networks questions
- A link has a = propagation delay / frame transmission time = 2, and each frame is lost independently with probability 0.2 (ACKs never…
- Stop-and-wait: a frame takes 1 ms to transmit and the one-way propagation delay is 4 ms (ACK time negligible). Each data frame is lost…
- A sliding-window protocol uses 3-bit sequence numbers with sender window Ws and receiver window Wr. Which (Ws, Wr) combination can make…
- Selective Repeat with individual (non-cumulative) ACKs and window 4 sends frames 0–3. All four arrive; ACKs 0, 1 and 3 arrive, but ACK 2…
- On one switch, host A is set as 192.168.1.100/25 and host B as 192.168.1.200/24; both use the router 192.168.1.1 as gateway, and the…
- A subnet's directed broadcast address is 172.16.47.255 and it offers exactly 4094 usable host addresses. What is its network address?