CS FundamentalsVery hardGATE CS · ISRO Scientist

A binary code has length 10 and must correct every single-bit error. What upper limit does the Hamming (sphere-packing) bound place on the number of codewords?

  1. A. 93
  2. B. 64
  3. C. 102
  4. D. 512

Correct answer: A. 93

Each codeword needs a decoding sphere of 1 + 10 = 11 words, so M ≤ 2¹⁰ / 11 = 93.09, i.e. at most 93. A shortened Hamming code actually reaches 64 (6 data bits), which is achievable but is not the bound; 102 forgets the codeword itself in the sphere.

More Computer Networks questions

Exams that ask this topic