to satisfy both 5 shall be the answer

The Gateway to Computer Science Excellence

First time here? Checkout the FAQ!

x

+1 vote

+3 votes

**To detect x errors, Hamming Distance Should be x+1**

So, To detect 3 errors, Hamming Distance Should be 3+1=4

**Similarly To correct x errors, Hamming Distance Should be 2*x+1**

So, To correct 2 errors, Hamming Distance Should be 2*2+1=5

But as mentioned in question, "*Minimum hamming distance for detection of 3 errors or correction of 2 errors.*"

here or means we need to satisfy at least one of the two conditions.

Hence,** Final ans is min(4,5) = 4**.

- All categories
- General Aptitude 1.6k
- Engineering Mathematics 7.5k
- Digital Logic 3k
- Programming & DS 4.9k
- Algorithms 4.3k
- Theory of Computation 6k
- Compiler Design 2.1k
- Databases 4.2k
- CO & Architecture 3.5k
- Computer Networks 4.2k
- Non GATE 1.4k
- Others 1.5k
- Admissions 584
- Exam Queries 572
- Tier 1 Placement Questions 23
- Job Queries 72
- Projects 18

50,122 questions

53,241 answers

184,705 comments

70,480 users