(a) (i) Write the truth tables of the logic gates marked P and Q in the given circuit.
(ii) Write the truth table for the circuit.
(a) The truth table of the given logic rates :
(i) P
| A | Y |
| 0 | 1 |
| 1 | 0 |
Q
| A | B | Y |
| 0 | 0 | 1 |
| 0 | 1 | 0 |
| 1 | 0 | 0 |
| 1 | 1 | 0 |
(ii) The truth table for the given circuit ;
| A | B | Y |
| 0 | 0 | 0 |
| 0 | 1 | 0 |
| 1 | 0 | 1 |
| 1 | 1 | 0 |
(b) The NOR gate is called a universal gate because it performs all the logic operations of basic gates like.AND, OR, NOT