The output Y of following circuit for given inputs is:
- Option A:
- Option B: 0
- Option C:
- Option D:
Solution
Core idea. A product that contains a variable and its complement is zero.
Concept refresher. An OR gate gives the sum of its inputs and an AND gate their product, and a NOT gate gives the complement. A variable multiplied by its own complement is always 0:
so any product that contains both a variable and its complement vanishes.
Picture the situation. The last AND gate needs both of its inputs high at once. The lower input is high only for A = 0 with B = 1; but for exactly those inputs the OR gate above, which wants A high or B low, gives 0. The two conditions can never be met together.
Approach. Write the output as a product and expand it.
Step 1: The two intermediate outputs
The OR gate receives and and gives . The lower AND gate receives and and gives .
Step 2: The final AND gate
The last gate is an AND gate, so its output is the product of these two expressions:
Step 3: Each term vanishes
The first term contains and the second contains , and each of these is 0. So for every pair of inputs.
Answer. (B) 0
Sanity check. Checking the four input pairs directly gives 0 each time; for 01, the only case where the lower AND gate gives 1, the OR gate gives 0.
Why the other options are wrong
- (A) equals , which is 1 for the inputs 11; the circuit gives 0 there, because the lower AND gate gives .
- (C) is the output of the lower AND gate only; the last gate multiplies it by , which is 0 whenever is 1.
- (D) is not formed anywhere in the circuit: neither gate of the first level receives both and uninverted.
Key takeaway
The trap. An intermediate output is not the final output.
How toppers think. They notice that is exactly the complement of , so their product must be 0.
Remember. .
More on Semiconductors
- The output Y for the given inputs A and B to the circuit is:
- The maximum rated power of the LED is 2 mW and it is used in the circuit with input voltage of 5 V as shown…
- Refer to the logic circuit given below. For two inputs (A = 1, B = 1) and (A = 0, B = 1), output (Y) will be…
- All 145 on Semiconductors ›