In the circuit shown, a switch which is open represents the logic state 0 and the switch which is closed represents the logic state 1. The lamp is lit, when output is logic state 1. What type of gates are represented by the circuits in (i) and (ii)?

Confirming your payment
Sign up now and get 250 free tokens.
Digital Electronics - Logic Gates · Question 42 of 56
In the circuit shown, a switch which is open represents the logic state 0 and the switch which is closed represents the logic state 1. The lamp is lit, when output is logic state 1. What type of gates are represented by the circuits in (i) and (ii)?

Solution:
Concept: Switches in series give a single path (every switch must be closed); switches in parallel give separate paths (any one closed switch is enough).
Step 1 — Read circuit (i). The two switches are in series with the cell and the lamp. The lamp is lit only when the first switch and the second switch are both closed, that is, only when both inputs are 1. This is the AND rule.
Step 2 — Read circuit (ii). The two switches are in parallel. The lamp is lit when either switch, or both, is closed, and is off only when both are open. This is the OR rule.
Step 3 — Show both in one table. We call the two switches and and list the lamp in each circuit:
| lamp in (i) | lamp in (ii) | ||
|---|---|---|---|
| 0 | 0 | 0 | 0 |
| 0 | 1 | 0 | 1 |
| 1 | 0 | 0 | 1 |
| 1 | 1 | 1 | 1 |
Therefore, circuit (i) represents an AND gate and circuit (ii) represents an OR gate.