in Computer Networks retagged by
145 views
0 votes
0 votes
in Computer Networks retagged by
145 views

4 Comments

@Jeetmoni saikia do you mean 0x?

if yes then it is prefix. it is used to indicate the number is being written in hexadecimal format.

0
0
Yes. Why 0x is not converted into binary
0
0
It's just a indicator , not part of the number.
0
0

3 Answers

0 votes
0 votes

Hamming Distance  = 5 ans

0 votes
0 votes

The given codeword is represented in hexadecimal format as $0x$ as a prefix. Perform the EXOR operations between 2 codewords, the number of $1’s$ in the resultant code word is called hamming distance.

$(0XAA)_H=1010  1010$

$\oplus$

$(0X55)_H= 0101  0101$


                      $(11111111)$

So the hamming distance of the given codeword is $8$

Ref: UGC NET CSE | June 2014

0 votes
0 votes

:8

Apply XOR

0xAA = 1010 1010
0x55 = 0101 0101
----------------
0xFF = 1111 1111

 In the resultant code, the number of 1′s shows Hamming Distance

Related questions

1 vote
1 vote
2 answers
2