GATE / CS ARCHIVE

GATE CSE 1992 / QUESTION 1(ii)

Parity bits for distance four

Computer Networks · Data Link, Framing, Error Control & ARQ · Full GATE CSE 1992 paper

GATE 1992, Q1(ii) Other
Report issue

Data Link, Framing, Error Control & ARQ

Question 1(ii), GATE 1992: A code carries four data bits and is to detect up to three bit errors and correct one. Give extra parity bits and minimum distance.
Question 1(ii), GATE 1992: A code carries four data bits and is to detect up to three bit errors and correct one. Give extra parity bits and minimum distance.
Tap to enlarge
Answer & solution

Answer: 4 parity bits; minimum distance 4 for the extended Hamming code (no official key was published)

Ordinary Hamming(7, 4) uses three parity bits and has distance three, enough for single-error correction but only two-error detection as a code-distance property. Adding one overall parity bit produces extended Hamming(8, 4), with four redundancy bits and distance four. Distance d detects up to d−1 errors and corrects floor((d−1)/2), giving three and one here. These are separate guarantees: a decoder that automatically corrects a one-bit-looking syndrome can miscorrect some triple errors. Guaranteed simultaneous classification of every one-bit versus three-bit error requires a stronger distance condition than this standard detect-or-correct interpretation.

Original paper, page 1