GATE Computer ScienceHardGATE CSE · NIELIT

A (7,4) Hamming code has generator rows 1000110, 0100101, 0010011, 0001111 (over GF(2)). How many of its 16 codewords have Hamming weight exactly 3, and what is the minimum distance?

  1. A. 8 codewords, d = 3
  2. B. 7 codewords, d = 4
  3. C. 9 codewords, d = 2
  4. D. 7 codewords, d = 3

Correct answer: D. 7 codewords, d = 3

The weight distribution is 0:1, 3:7, 4:7, 7:1; the smallest non-zero weight is 3.

More Digital Logic questions

Exams that ask this topic