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?
- A. 8 codewords, d = 3
- B. 7 codewords, d = 4
- C. 9 codewords, d = 2
- 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
- How many Boolean functions of 4 variables are symmetric, meaning unchanged under every permutation of the inputs?
- A 6-bit shift register (bits Q6…Q1, shifting left) feeds back Q6 ⊕ Q4 ⊕ Q1 into Q1 on every clock. Starting from 000001, after how many…
- How many Boolean functions f(x,y,z) of three variables depend essentially on all three variables?
- Two Boolean functions are NPN-equivalent if one can be obtained from the other by permuting inputs, negating any inputs and/or negating…
- Two Boolean functions are NPN-equivalent if one can be obtained from the other by permuting inputs, negating any inputs and/or negating…
- A Boolean function of 4 variables is bent if its Walsh–Hadamard spectrum has constant absolute value, i.e. it differs from every affine…