GATE 2019 EC – Question 17
A linear Hamming code is used to map 4-bit messages to 7-bit codewords. The encoder mapping is linear. If the message 0001 is mapped to the codeword 0000111, and the message 0011 is mapped to the codeword 1100110, then the message 0010 is mapped to
Practise this question in The GATE Grind →
Show answer and explanation
Correct answer: (B) 1100001
Explanation
By linearity $c(0010)=c(0011)\oplus c(0001)=1100110\oplus0000111=1100001$.