Logic Gates
The output of a 'NAND' gate is shown in the truth-table (A and B are inputs, Y is output). Output in each table (P, Q, R, S) is given for the inputs in the same order:
| A | B | Y (P) | Y (Q) | Y (R) | Y (S) |
| 0 | 0 | 0 | 1 | 1 | 1 |
| 0 | 1 | 1 | 0 | 0 | 1 |
| 1 | 0 | 1 | 0 | 0 | 1 |
| 1 | 1 | 1 | 1 | 0 | 0 |
Show answer and solution
Answer: (c)
- NAND: 0 only for inputs (1,1): outputs 1, 1, 1, 0.
- Table S matches.
- So the answer is (c) S.