CS FundamentalsVery hardGATE CS (PYQ pattern)
A SECDED code (single-error correction plus double-error detection) on an m-bit data word uses the smallest r with 2^r >= m + r + 1 Hamming check bits plus one overall parity bit. What is the smallest m for which the check bits are less than 10% of the data bits?
- A. 80
- B. 72
- C. 128
- D. 81
Correct answer: D. 81
For 65 <= m <= 120, r = 7 (2^7 = 128 >= m + 8), so SECDED needs 8 bits. 8 / m < 0.1 needs m > 80, so m = 81 (8/81 = 9.9%). m = 80 gives exactly 10%, not less; 72 is the common 64 + 8 codeword size; 128 needs 9 check bits (7%).
More Computer Networks questions
- TCP runs over IPv6 (40-byte header) inside an IPv4 GRE tunnel (20-byte outer IPv4 header + 4-byte GRE header) that crosses a PPPoE link (8…
- An undirected network has links (cost): A-C 3, A-E 2, A-F 3, B-C 2, B-E 2, B-G 2, C-D 5, D-E 1, D-G 3, E-G 4. Link-state routing at A…
- Router X has neighbours A, B, C at link costs 2, 5, 1. It receives distance vectors (to D1, D2, D3, D4): from A (4, 9, 3, 7), from B (1…
- Routers A and B are connected, and B is directly connected to network C (cost 1 each link; RIP, infinity = 16, no split horizon or poison…
- In link-state routing each router floods its LSA: the originator sends it on every link, and any router receiving it for the first time…
- A weighted undirected graph on nodes 0..5 has edges (u,v,w): (0,1,1), (1,2,2), (0,2,2), (2,3,3), (1,3,3), (3,4,1), (2,4,4), (4,5,2)…