CS FundamentalsVery hardGATE CS · ISRO Scientist
A binary code has length 10 and must correct every single-bit error. What upper limit does the Hamming (sphere-packing) bound place on the number of codewords?
- A. 93
- B. 64
- C. 102
- D. 512
Correct answer: A. 93
Each codeword needs a decoding sphere of 1 + 10 = 11 words, so M ≤ 2¹⁰ / 11 = 93.09, i.e. at most 93. A shortened Hamming code actually reaches 64 (6 data bits), which is achievable but is not the bound; 102 forgets the codeword itself in the sphere.
More Computer Networks questions
- 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…
- 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…