The correct Boolean operation represented by the circuit diagram drawn is : [figure]
- OR
- NAND
- NOR
- AND
Answer
(2) NAND
Solution
Take switch position 1 as closed (input 1) and position 0 as open (input 0). The switches A and B are in series between the junction above the LED and the earth.
If A = 0 or B = 0 (or both), the path through the switches is open; current flows through the resistors and the LED glows Y = 1.
If A = 1 and B = 1, the junction is connected directly to the earth, the LED is short-circuited Y = 0.
Truth table (A, B → Y): (0, 0) → 1, (0, 1) → 1, (1, 0) → 1, (1, 1) → 0
Y = A B, i.e. NAND operation.
Answer: (2)