All mock tests are FREE till 31 December — register to save your progress

Consider a code with only four valid code words: 0000000000,0000011111,1111100000, and 1111111111. This code has distance 5. If the code word arrived is 0000000111 then the original code word must be _____

Pick an option to check yourself, or open the answer below.

Show answer & explanation

Correct answer: A. 0000011111

Explanation

0000000111 differs from 0000000000 in 3 bits and from 0000011111 in 2 bits, so it decodes to 0000011111.

More Data Communication and Computer Networks questions