CS FundamentalsEasyGATE CS (PYQ pattern)
A code has the five codewords 00110101, 01011010, 10101100, 11000011 and 01101001. It is used on a channel that flips bits. What are the numbers of bit errors it can always DETECT and always CORRECT?
- A. detect 4, correct 2
- B. detect 3, correct 3
- C. detect 3, correct 1
- D. detect 1, correct 3
Correct answer: C. detect 3, correct 1
The minimum pairwise Hamming distance is 4. A code detects d - 1 = 3 errors and corrects floor((d - 1)/2) = 1.
More Computer Networks questions
- Differential Manchester encoding (IEEE 802.5 convention) always has a transition in the middle of each bit, and has an additional…
- A noisy channel has bandwidth 3 kHz and SNR of 30 dB. A transmitter uses 16 signal levels. What is the maximum achievable data rate?
- A class B network 150.20.0.0 is subnetted with mask 255.255.240.0 under the OLD (RFC 950) rules that forbid the all-zeros and all-ones…
- An 8-bit data word uses a single even-parity bit (9 bits total). Of all possible patterns of exactly 2 bit errors (anywhere in the 9…
- 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…
- 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…