CS FundamentalsHardTCS NQT · Infosys pattern
A (15, 11) block code has minimum Hamming distance 3. How many bit errors can it reliably correct, and how many can it reliably just detect (without necessarily correcting)?
- A. Correct up to 1, detect up to 3
- B. Correct up to 1, detect up to 2
- C. Correct up to 2, detect up to 1
- D. Correct up to 2, detect up to 2
Correct answer: B. Correct up to 1, detect up to 2
A code with minimum distance d can correct ⌊(d−1)/2⌋ errors and detect up to d−1 errors. Here d = 3, so it corrects ⌊2/2⌋ = 1 and detects up to 2.
More Computer Networks questions
- A (12, 8) block code has minimum Hamming distance 4. How many bit errors can it reliably correct, and how many can it reliably just detect…
- How many parity bits does a single-error-correcting Hamming code need to protect 5 data bits?
- How many parity bits does a single-error-correcting Hamming code need to protect 9 data bits?
- How many parity bits does a single-error-correcting Hamming code need to protect 18 data bits?
- How many parity bits does a single-error-correcting Hamming code need to protect 29 data bits?
- How many parity bits does a single-error-correcting Hamming code need to protect 47 data bits?