Table 1: Truth table of odd parity and the encoding used for input bits and output bits.

Inputs Output Encoded inputs Encoded output
000 0 -1 -1 -1 -1
001 1 -1 -1 1 1
010 1 -1 1 -1 1
011 0 -1 1 1 -1
100 1 1 -1 -1 1
101 0 1 -1 1 -1
110 0 1 1 -1 -1
111 1 1 1 1 1