GATE Computer ScienceEasyGATE CS (PYQ pattern)
A designer has 6 check bits per word. What is the largest number of data bits that can be protected by (i) a single-error-correcting Hamming code using all 6 check bits, and (ii) a SEC-DED code (Hamming code plus an overall parity bit) using the same 6 check bits?
- A. 57 and 56
- B. 58 and 26
- C. 57 and 26
- D. 63 and 57
Correct answer: C. 57 and 26
SEC needs 2^r ≥ k + r + 1: 64 ≥ k + 7, so k ≤ 57. SEC-DED spends one bit on overall parity, leaving r = 5 Hamming bits: 32 ≥ k + 6, so k ≤ 26.
More Digital Logic questions
- Among the C(16,4) = 1820 four-variable Boolean functions with exactly four minterms, how many have a minimal sum-of-products with exactly…
- Among the C(16,3) = 560 four-variable Boolean functions with exactly three minterms, how many have a minimal sum-of-products that needs…
- Among all C(16,4) = 1820 four-variable functions with exactly four minterms, for how many does the minimal sum-of-products need four…
- How many non-zero three-variable Boolean functions have exactly six prime implicants?
- Of the 16 Boolean functions f(x, y) of two variables, how many are associative, i.e. f(f(x,y),z) = f(x,f(y,z)) for all x, y, z?
- Of the 16 binary operations ∘ on {0, 1}, for how many is ∘ associative AND has a two-sided identity element e (e ∘ x = x ∘ e = x for both…