Suppose that a packets payload consists of 10 eightbit value
Solution
a)
in a series of 1\'s and 0\'s if we have odd number of 1\'s then the odd parity of that particular stream is 0. If we have even number of 1\'s then the odd parity of that stream is 1. Keeping this in mind we can solve the problem.
we have
10001001 00110110
00101011 10111000
11011111 11101000
00110110 11100100
01101110 10100001
first row - we have 7 1\'s parity is 0
second row - we have 8 1\'s parity is 1
third row - we have 11 1\'s parity is 0
fourth row - we have 8 1\'s parity is 1
fifth row - we have 8 1\'s parity is 1
first column - 2 1\'s pairty is 1
2nd Column - parity is 1
3 C - parity is 0
4 C - parity is 0
5 C - parity is 0
6 C - parity is 1
7 C - parity is 0
8 C - parity is 1
9 C - parity is 0
10 C - parity is 0
11 C - parity is 1
12 C - parity is 0
13 C - parity is 0
14 C - parity is 1
15 C - parity is 1
16 C - parity is 1
b)
If the parity value has changed from the previous value in that particular row/column then the bit has flipped.
11th column there is a problem. we are using odd parity and overall parity is 0 whereas it should be 1.
2nd row also the same problem is there.
c)
5th row we have 7 1\'s odd parity should be 0 but it is 1.
15th column we have 2 1\'s odd parity should be 1.

