25 votes 25 votes What is the distance of the following code $000000$, $010101$, $000111$, $011001$, $111111$? $2$ $3$ $4$ $1$ Computer Networks gate1995 computer-networks error-detection normal + – Kathleen asked Oct 8, 2014 recategorized Apr 25, 2021 by Lakshman Bhaiya Kathleen 7.5k views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
–1 votes –1 votes all of them differ by 3 bits if taken in same order .... then how it is 2 Sakshi Popli Chopra answered Dec 4, 2016 Sakshi Popli Chopra comment Share Follow See 1 comment See all 1 1 comment reply vamp_vaibhav commented May 29, 2017 reply Follow Share we have to choose the minimum distance by performing an Ex-OR operation between all pair of valid codes. now we have to select which pair has given the minimum number of 1's after Ex-OR operation. count that minimum number of 1's and that will be the distance. in this case, 010101 ⊕ 011001 = 001100 number of 1's is 2 so HD is 2, 1 votes 1 votes Please log in or register to add a comment.