recategorized by
5,207 views

3 Answers

Best answer
5 votes
5 votes

Answer : 6

Definition: The number of bits which differ between two binary strings. More formally, the distance between two strings A and B is ∑ | Ai - Bi |.

Steps to calculate Hamming Distance

Step 1 :Ensure the two strings are of equal length. The Hamming distance can only be calculated between two strings of equal length. String 1: "1001 0100 0110" String 2: "1101 1110 1101"

Step 2 :Compare the first two bits in each string. If they are the same, record a "0" for that bit. If they are different, record a "1" for that bit. In this case, the first bit of both strings is "1," so record a "0" for the first bit.

Step 3 :Compare each bit in succession and record either "1" or "0" as appropriate.String 1: "1001 0100 0110" String 2: "1101 1110 1101Record: "0100 1010 1011"

Step 4 :Add all the ones and zeros in the record together to obtain the Hamming distance. Hamming distance = 0 + 1 + 0 + 0 + 1 + 0 + 1 + 0 + 1 + 0 + 1 + 1 = 6

If using a computer, "XOR" can be used to compare the two strings and obtain the "record."

selected by
2 votes
2 votes

Hamming distance between 100101000110 and 110111101101 is = no of 1's in 100101000110 XOR 110111101101 = 6.

Ans- D.

reshown by
1 votes
1 votes

1 0 0 1 0 1 01 0

1 1 0 1 1  1  1 0 1 1 0 1 

6 bits are different.

Hamming distance =6

Answer:

Related questions

0 votes
0 votes
1 answer
1
makhdoom ghaya asked Jul 11, 2016
4,099 views
Consider a code with five valid code words of length ten :$0000000000, 0000011111, 1111100000, 1110000011, 1111111111$Hamming distance of the code is$5$$10$$8$$9$
2 votes
2 votes
1 answer
2
go_editor asked Jul 18, 2016
2,039 views
Binary symmetric channel usesHalf duplex protocolFull duplex protocolBit oriented protocolNone of the above
3 votes
3 votes
2 answers
3
go_editor asked Jul 16, 2016
6,092 views
What is the baud rate of standard 10 Mbps Ethernet?10 megabaud20 megabaud30 megabaud40 megabaud
2 votes
2 votes
1 answer
4
go_editor asked Jul 16, 2016
2,607 views
Which one of the following media is multidrop?Shielded Twisted pair cableUnshielded Twisted pair cableThick Coaxial cableFiber Optic cable