# Hamming Code Multiple choice Questions and Answers (MCQs)

## Hamming Code Multiple choice Questions and Answers (MCQs)

 Question 1 [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
The most common hamming codes are a generalized version of?
 A Hamming(7, 4) code B Hamming(8, 4) code C Hamming(6, 3) code D Hamming(5, 7) code
Question 1 Explanation:
The most common hamming codes generalize to form hamming(7, 4) code. It encodes four bits of data into seven bits by adding three parity bits.

 Question 2 [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
What is the minimal Hamming distance between any two correct codewords?
 A 1 B 2 C 3 D 4
Question 2 Explanation:
Since we use a generalized version of Hamming(7, 4) code, the minimal hamming distance is 3. It cannot correct burst errors.

 Question 3 [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Why do we require hamming codes?
 A Error correction B Encryption only C Decryption D Bit stuffing
Question 3 Explanation:
Hamming codes are used for the purpose of error detection and correction. It is also used for channel encoding and decoding. They are linear-error correcting codes.

 Question 4 [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Hamming codes can be used for both single-bit error and burst error detection and correction.
 A True B False
Question 4 Explanation:
Hamming bits are suitable only for single-bit error detection and correction and two bit error detection. It is very unlikely to detect burst errors.

 Question 5 [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Who invented Hamming codes?
 A Richard Hamming B Ross Hamming C Shannon D Huffman
Question 5 Explanation:
Richard W. Hamming invented hamming codes in Bell Telephone Laboratory to minimize the errors in punched card readers. Huffman invented huffman codes. Shannon invented Shannon-Fanno codes.

There are 5 questions to complete.