Consider a parity check code with three data bits and four parity check bits. Three of the code words are 0101011, 1001101 and 1110001.
Which of the following are also code words?
I. 0010111 II. 0110110
III. 1011010 IV. 0111010
x1 | x2 | x2 | c1=x1⨁x3 | c2=x2⨁x3 | c3=x2⨁x3 | c4=x1⨁x2⨁x3 |
0 1 1 |
1 0 1 |
0 0 1 |
1 1 0 |
0 1 0 |
1 0 0 |
1 1 1 |
x1 | x2 | x3 | c1=x1⨁x2 | c2=x1⨁x3 | c3=x2⨁x3 | c4=x1⨁x2⨁x3 |
0 0 1 0 |
0 1 0 1 |
1 1 1 1 |
0 1 ≠0 so fail 1 1 |
1 1 1 ≠0 so fail |
1 1 |
1 0 |