Q.
The figure shows a circuit designed to control a lamp. For what positions of the switches and will the lamp be lit?
![Physics Question Image](https://cdn.tardigrade.in/img/question/physics/psm6gmkg9ako-q.png)
Solution:
The truth table of the NAND gate is as shown below:
Out put
0
0
1
0
1
1
1
0
1
1
1
0
where a logic level at the input, or , corresponds to a closed switch (at ) and a logic level at the output means the lamp will be lit. From the truth table, both switches and have to be at open position in order to light up the lamp at the output of the NAND gate.
Out put | |||
---|---|---|---|
0 | 0 | 1 | |
0 | 1 | 1 | |
1 | 0 | 1 | |
1 | 1 | 0 |