A system of logic gates is shown in the figure. From the study of truth table it can be found that to produce a high output (1) at R, we must have
X | Y | ¯¯¯¯¯X | ¯¯¯¯¯X | P=¯¯¯¯¯X+Y | Q=¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯X+Y | R=¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯P+Q |
0 | 1 | 1 | 0 | 1 | 1 | 0 |
1 | 1 | 0 | 0 | 1 | 1 | 0 |
1 | 0 | 0 | 1 | 0 | 0 | 1 |
0 | 0 | 1 | 1 | 1 | 1 | 0 |