Computer Networks Questions & Answers – Error Detection and Correction Techniques

This set of Computer Networks Multiple Choice Questions & Answers (MCQs) focuses on “Error Detection and Correction Techniques”.

1. What is the hamming distance between the words 1010101, 1100110?
a) 4
b) 5
c) 8
d) 3
View Answer

Answer: a
Explanation: Hamming distance can be obtained by performing X-OR operation on two words of same length, then the number of 1s in the resulting word will be the hamming distance. It is used to find and correct the errors.

2. What is the disadvantage of the burst errors over single bit errors in error detection and correction?
a) Difficult to correct
b) Difficult to detect
c) High error rate
d) Frequent occurring
View Answer

Answer: a
Explanation: The burst errors can be detected easily but it is difficult to correct them, as they happen to appear as blocks. When the error rate is low, burst errors are convenient to detect compared to single bit errors.

3. What is the minimum hamming distance between the words 0001, 0100, 0110, 1111?
a) 1
b) 2
c) 3
d) 4
View Answer

Answer: a
Explanation: In order to find the minimum hamming distance between the set of words, the hamming distance between all pairs of the set should be calculated. The least number in the resulted hamming distances will be the minimum hamming distance.
advertisement
advertisement

4. Which of the following is an error correcting code?
a) Checksum
b) Parity
c) Cyclic redundancy check
d) Hamming codes
View Answer

Answer: d
Explanation: Hamming code assigns consecutive numbers for code word; the code word will have check bits in place of the numbers that are powers of 2 and the remaining numbers contain bits of data word.

5. An error is burst error, if two or more consecutive bits of the data unit are corrupted.
a) True
b) False
View Answer

Answer: b
Explanation: An error is considered as a burst error, if two or more bits get corrupted, but they don’t need to be consecutive bits. Length of the burst independent of sequence, that is length between first burst bit to last burst bit is considered as length of burst.
Sanfoundry Certification Contest of the Month is Live. 100+ Subjects. Participate Now!

6. How many bits will be added to a data word to become a code word in simple parity check code?
a) 1 bit
b) 2 bits
c) 0 bits
d) 4 bits
View Answer

Answer: a
Explanation: Code word will have total of k+1 bits where k is the number of bits in data word. This extra parity bit helps the code word to have even number of 1s and it can be 0 or 1. Parity code is an error detecting code but doesn’t correct the errors.

7. Which of the following error correcting code is not a linear bock code?
a) Low density parity check
b) Hamming codes
c) Binary convolution codes
d) Reed-Solomon codes
View Answer

Answer: c
Explanation: Unlike block codes, convolution codes don’t have encoding boundary. The encoder in this convolution codes deals with sequence of bits and outputs sequence of bits using constraint length of the code.
advertisement

8. Which error correcting code works well for burst errors among the following?
a) Cyclic redundancy check
b) Hamming code
c) Checksum
d) Reed Solomon codes
View Answer

Answer: d
Explanation: Hamming codes and convolution codes works well for single bit errors, whereas Reed Solomon codes works well for burst errors. Because it uses m bit symbols, which are used to treat single bit and m bit burst errors equally as a single symbol error.

9. What is the maximum number of errors that can be detected using two-dimensional parity check code?
a) 4
b) 5
c) 3
d) 2
View Answer

Answer: c
Explanation: Two-dimensional parity check was introduced to overcome the problem in simple parity check code that it is able to find only odd numbers of errors. Two-dimensional parity arranges the code into columns and rows and add parity bits in each column and row to find errors up to 3.
advertisement

10. Simple parity-check is used to detect the even number of errors also.
a) True
b) False
View Answer

Answer: b
Explanation: Simple parity check uses only one bit for parity and the bit that is added to a data word can detect odd number of errors only. Because, the even parity will be same after even number of errors occur and it shows no error.

11. Which of the following is not an error detecting code?
a) Hamming code
b) Checksum
c) Parity check
d) Cyclic redundancy check
View Answer

Answer: a
Explanation: Given all codes are error detecting codes other than hamming code. Error detecting codes are used for noisy and wireless links whereas error correcting codes are used for channels like optical fiber.

12. How cyclic redundancy check code can also be called?
a) Fletcher’s checksum
b) Polynomial code
c) Generator polynomial code
d) Checksum
View Answer

Answer: b
Explanation: Polynomial codes has the polynomial representation for bit strings and these polynomials have 0 or 1 as their coefficients. It makes use of generator polynomial to do further calculation in finding errors.

Sanfoundry Global Education & Learning Series – Computer Networks.

To practice all areas of Computer Networks, here is complete set of 1000+ Multiple Choice Questions and Answers.

advertisement
advertisement
Subscribe to our Newsletters (Subject-wise). Participate in the Sanfoundry Certification contest to get free Certificate of Merit. Join our social networks below and stay updated with latest contests, videos, internships and jobs!

Youtube | Telegram | LinkedIn | Instagram | Facebook | Twitter | Pinterest
Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & discussions at Telegram SanfoundryClasses.