Professional Documents
Culture Documents
CS601 Assignment. 2
CS601 Assignment. 2
CS601 Assignment. 2
Solution:No:1
K ( Data word ) = 8
R (Redundancy) = 2 ( 0, 1)
N = k + r
N = 8 +2
N = 10
Total code words id = 2^ 10
=1025
1) Valid code – words
Valid code – words = 2^ k
=2 ^8
= 256
Solution:No:2
alculate The Hamming distance given in the below table for each of the
C
following code words?
Code Words Hamming Distance
d (10000, 00000) The hamming distance is1
d (10101, 10000) The hamming distance is2
d ( 00000, 11111) The hamming distance is5
d (00000, 00000) The hamming distance is0
d (000, 011) The hamming distance is2