Logic Gates · Digital Circuits
21 questions · asked in 14 of 26 years (2001–2026)
MCQ 18 · MSQ 1 · NAT 21-mark 16 · 2-mark 5
2001Questions per year2026
Questions 21–21 of 21
In figure, the LED
Answer: (D)
Each pull-up resistor makes its node 1 when the switch is open and 0 when the switch is closed to ground. Call the node of S1 as A and the node of S2 as B.
The XOR gate has one input tied to 5 V (logic 1) and the other input at B. So its output is .
The AND gate gives .
The NAND gate output is . Since , the product inside is always 0, so the NAND output is always 1.
The LED is connected between 5 V and the NAND output. It glows only when the NAND output is 0, which never happens. So it never emits light, whatever the switch positions.
Answer: (D)
The XOR gate has one input tied to 5 V (logic 1) and the other input at B. So its output is .
The AND gate gives .
The NAND gate output is . Since , the product inside is always 0, so the NAND output is always 1.
The LED is connected between 5 V and the NAND output. It glows only when the NAND output is 0, which never happens. So it never emits light, whatever the switch positions.
Answer: (D)
Keep practising