Question
Download Solution PDFWhat is the hamming distance between the codes '11001011' and ‘10000111'
Answer (Detailed Solution Below)
Detailed Solution
Download Solution PDFConcept:
Hamming distance is a metric for comparing two binary strings. While comparing two binary strings of equal length, Hamming distance is the number of bit positions in which the two bits are different.
Explanation:
Given code words are: 11001011 and 10000111
Hamming distance can also be calculated by taking XOR of two code words.
|
1 |
1 |
0 |
0 |
1 |
0 | 1 | 1 |
⊕ |
1 |
0 |
0 |
0 |
0 |
1 | 1 | 1 |
|
0 |
1 |
0 |
0 |
1 |
1 | 0 | 0 |
The number of 1’s in XOR result is 3 ∴ Minimum Hamming distance is 3 only
Last updated on May 30, 2025
-> The ISRO Technical Assistant recruitment 2025 notification has been released at the official website.
-> Candidates can apply for ISRO recruitment 2025 for Technical Assistant from June 4 to 18.
-> A total of 83 vacancies have been announced for the post of Technical Assistant.
-> The Selection process consists of a written test and a Skill test.
-> Candidates can also practice through ISRO Technical Assistant Electrical Test Series, ISRO Technical Assistant Electronics Test Series, and ISRO Technical Assistant Mechanical Test Series to improve their preparation and increase the chance of selection.