First slide
Logic gates
Question

Figure  shows a circuit designed to control a lamp. For what positions of the switches S1 and S2 will the lamp be lit?

Moderate
Solution

When output of NAND gate is low (i.e. 0), then current will flow through bulb to lit it up. This will happen when  both switches are open. In this case +5V (or high logic) will appear at input of NAND gate and so its output will be low (i.e. 0).

Get Instant Solutions
When in doubt download our app. Now available Google Play Store- Doubts App
Download Now
Doubts App