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 11–15 of 21
In the circuit shown in the figure, if C = 0, the expression for Y is

Answer: (A)
Gate 1 gives the output:
Gate 2 gives the output:
Gate 3 gives the output:
Gate 4 gives the output:
Gate 5 gives the output:
Gate 6 is a NAND of gate 1 and gate 5, and its output is Y:
Now apply De Morgan's theorem:
The question says C = 0, so:
This is the XOR of A and B, which is option (A).
Answer: (A)
A bulb in a staircase has two switches, one switch being at the ground floor and the other one at the first floor. The bulb can be turned ON and also can be turned OFF by any one of the switches irrespective of the state of the other switch. The logic of switching of the bulb resembles
Answer: (C)
XOR gate truth table:
The XOR truth table shows that either switch can turn the bulb ON or OFF, whatever the state of the other switch.
The XOR truth table shows that either switch can turn the bulb ON or OFF, whatever the state of the other switch.
The output Y in the circuit below is always '1' when
Answer: (B)
The first layer of NAND gates gives , and .
The next NAND takes the first two: (De Morgan). The NAND with both inputs tied together is an inverter, so its output is .
The last NAND gives (De Morgan again).
This is the majority function: each term is 1 only when two inputs are 1, so Y = 1 exactly when two or more of P, Q, R are 1. Option (A) is wrong because P = Q = 0, R = 1 has two zeros but gives Y = 0. Option (D) is wrong because a single 1 (an odd number) gives Y = 0.
Answer: (B)
For the output F to be 1 in the logic circuit shown, the input combination should be
Answer: (D)
The two gates fed by A and B give and . So X and Y are always complements: exactly one of them is 1, whatever A and B are. For example, if then and .
The last gate is a 3-input XNOR, so F is '1' when an even number of its inputs are '1'. X and Y always contribute exactly one '1', so the count is even only when . So .
Options (A), (B) and (C) all have , so they give . Only (D), with , gives .
Answer: (D)
Match the logic gates in Column A with their equivalents in Column B
Answer: (D)
A NOR gate is the same as an INVERT-AND gate.
A NAND gate is the same as an INVERT-OR gate.
A NAND gate is the same as an INVERT-OR gate.
Keep practising