@ Arjun sir,

codes 2 & 4 also has distance 2. right?

010101

XOR

011001

= 001100

codes 2 & 4 also has distance 2. right?

010101

XOR

011001

= 001100

Dark Mode

5,614 views

38 votes

Best answer

Distance (also called min-distance) of a block code is the minimum number of positions in which any two distinct codes differ. Here, min-distance occurs for the codes $2$ and $3$ and they differ only in $2$ positions. So, $d = 2$.

https://en.wikipedia.org/wiki/Block_code

Correct Answer: $A$

@Arjun Sir, do we need to check each codeword distance to every other codeword, or just go sequentially?

0