0 votes 0 votes Computer Networks computer-networks hamming-code + – Jeetmoni saikia asked Oct 22, 2022 • retagged Oct 22, 2022 by makhdoom ghaya Jeetmoni saikia 429 views answer comment Share Follow See all 8 Comments See all 8 8 Comments reply Kabir5454 commented Oct 22, 2022 reply Follow Share $0xAA=$ $10101010$ $0x55=$ $01010101$ bitwise – $11111111$ Xor In bitwise xor we have $8$ 1’s so hamming distance between them is $8$. 1 votes 1 votes jugnu1337 commented Oct 22, 2022 reply Follow Share as they have mentioned octets so convert these hexadecimal in to binary 0XA A= 1010 1010 0X55 = 0101 0101 now do xor operation 1010 1010 0101 0101 1111 1111 no of 1’s is the distance so 8 distance 2 votes 2 votes Jeetmoni saikia commented Oct 23, 2022 reply Follow Share Why you didn't convert zero into binary? @jugnu1337 0 votes 0 votes jugnu1337 commented Oct 23, 2022 reply Follow Share @Jeetmoni saikia it is signed bit 1 votes 1 votes Jeetmoni saikia commented Oct 23, 2022 reply Follow Share What's signed bit 0 votes 0 votes afroze commented Oct 23, 2022 reply Follow Share @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 votes 0 votes Jeetmoni saikia commented Oct 23, 2022 reply Follow Share Yes. Why 0x is not converted into binary 0 votes 0 votes afroze commented Oct 23, 2022 reply Follow Share It's just a indicator , not part of the number. 0 votes 0 votes Please log in or register to add a comment.
1 votes 1 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 Hira Thakur answered Nov 10, 2022 Hira Thakur comment Share Follow See all 0 reply Please log in or register to add a comment.
0 votes 0 votes Hamming Distance = 5 ans D Trump answered Nov 9, 2022 D Trump comment Share Follow See all 0 reply Please log in or register to add a comment.
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 abhinowKatore answered Nov 10, 2022 abhinowKatore comment Share Follow See all 0 reply Please log in or register to add a comment.