in Computer Networks retagged by
461 views
1 vote
1 vote

The "two-out-of-five" code comprises all possible binary words of length $5$ containing exactly two $1$'s. Which of the following statements is correct regarding error detection or correction for the "two-out-of-five" code?

  1. The code can detect up to $3$ bits of error and correct $1$ bit of error.
  2. The code can detect up to $2$ bits of error and correct $1$ bit of error.
  3. The code can detect up to $1$ bit of error and cannot correct errors.
  4. The code cannot detect or correct any errors.
in Computer Networks retagged by
461 views

2 Comments

1
1

$ \large{\colorbox{yellow}{Detailed video solution of this question with direct time stamp}}$
All India Mock Test 2 - Solutions Part 1

1
1

1 Answer

5 votes
5 votes
For detecting codes,

Hamming distance =>

d+1 = 2

=> d= 1

For correcting codes,

Hamming distance =>

2d+1=2

=> d= ½ « 1 =0.
Answer:

Related questions