CS FundamentalsHardProduct-company MCQ pattern
A (7, 4) 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 2, detect up to 2
- B. Correct up to 1, detect up to 3
- C. Correct up to 1, detect up to 2
- D. Correct up to 2, detect up to 1
Correct answer: C. 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 (15, 11) block code has minimum Hamming distance 3. How many bit errors can it reliably correct, and how many can it reliably just…
- 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?