CS FundamentalsVery hardGATE CS (PYQ pattern)

A SECDED code (single-error correction plus double-error detection) on an m-bit data word uses the smallest r with 2^r >= m + r + 1 Hamming check bits plus one overall parity bit. What is the smallest m for which the check bits are less than 10% of the data bits?

  1. A. 80
  2. B. 72
  3. C. 128
  4. D. 81

Correct answer: D. 81

For 65 <= m <= 120, r = 7 (2^7 = 128 >= m + 8), so SECDED needs 8 bits. 8 / m < 0.1 needs m > 80, so m = 81 (8/81 = 9.9%). m = 80 gives exactly 10%, not less; 72 is the common 64 + 8 codeword size; 128 needs 9 check bits (7%).

More Computer Networks questions

Exams that ask this topic