GATE Computer ScienceModerateGATE CSE · UGC NET

How many check bits does a SEC-DED (single-error-correcting, double-error-detecting) extended Hamming code need for 32 data bits?

  1. A. 6
  2. B. 7
  3. C. 8
  4. D. 5

Correct answer: B. 7

A plain SEC code needs the smallest r with 2^r ≥ 32 + r + 1, which is r = 6; the extra overall parity bit for double-error detection makes 7.

More Computer Organization and Architecture questions

Exams that ask this topic