GATE Computer ScienceVery hardGATE CS (PYQ pattern)
An (8, 4) SEC-DED code uses even-parity Hamming bits at positions 1, 2, 4, data bits d1..d4 at positions 3, 5, 6, 7 (positions numbered 1-8 from the left) and an overall even-parity bit at position 8 covering bits 1-7. Two words are received: W1 = 01100111 and W2 = 11101000. What does the decoder conclude?
- A. W1: only the overall parity bit is wrong, data accepted; W2: double error detected
- B. W1: bit 8 is wrong and so is one data bit; W2: single error corrected
- C. W1: double error detected; W2: single error corrected
- D. W1: only the overall parity bit is wrong, data accepted; W2: single error corrected
Correct answer: A. W1: only the overall parity bit is wrong, data accepted; W2: double error detected
W1: the Hamming syndrome over bits 1-7 is 000 but the overall parity fails, so the error is in bit 8 itself and the data 1011 is fine. W2: the syndrome is 101 (non-zero) while the overall parity checks, which is the signature of two errors: uncorrectable, detected. Trusting the syndrome alone would 'correct' bit 5 and corrupt the data.
More Digital Logic questions
- A binary block code has minimum Hamming distance 6. A decoder must correct every pattern of up to 1 bit error and, at the same time…
- A binary (n, k) code correcting t errors is perfect if the radius-t spheres around its 2^k codewords exactly fill all 2^n words. Which of…
- A CRC uses the generator x³ + x + 1 (1011). The 9 data bits 110101101 are sent followed by their 3-bit CRC. Four corrupted 12-bit frames…
- A CRC uses the generator x⁴ + x + 1 (10011). Which of these error patterns (as bit strings added by XOR to the codeword) go undetected? I…
- Radix-2 Booth recoding turns an 8-bit two's complement multiplier q7..q0 (with q−1 = 0) into digits q(i−1) − q(i) ∈ {−1, 0, +1}; each…
- A radix-4 (modified Booth) multiplier recodes a 16-bit multiplier 0000111100001111 into 8 digits from {−2, −1, 0, +1, +2}. How many of the…