Identify the logic operation performed by the given circuit.
- Option A: NAND
- Option B: NOR
- Option C: OR
- Option D: AND
Solution
Core idea. A NAND gate with both inputs inverted performs the OR operation.
Concept refresher. A NOT gate inverts its input. A NAND gate gives the inverse of the AND of its inputs: . By De Morgan's theorem, the inverse of an AND is the OR of the inverses:
and inverting a variable twice gives the variable back.
Picture the situation. Each input is flipped by a NOT gate before it reaches the NAND gate. The NAND gate gives 0 only when both of its inputs are 1, which happens only when A and B are both 0. So the circuit gives 1 whenever at least one of A and B is 1.
Approach. Write the Boolean expression for the output and simplify it with De Morgan's theorem.
Step 1: Expression for the output
The inputs of the last gate are and , and the gate is a NAND, so
Step 2: Simplifying
By De Morgan's theorem the inverse of the AND is the OR of the inverses:
which is the OR operation.
Answer. (C) OR
Sanity check. The four outputs for inputs 00, 01, 10, 11 come out as 0, 1, 1, 1, the truth table of OR.
Why the other options are wrong
- (A) is only the last gate; with the inputs inverted the whole circuit behaves differently.
- (B) gives 1 only when both inputs are 0; this circuit gives 0 in that case.
- (D) gives 1 only for A = B = 1; this circuit gives 1 whenever either input is 1.
Key takeaway
The trap. Identify the circuit as a whole, not its last gate.
How toppers think. They remember the pair: inverted inputs turn NAND into OR and NOR into AND.
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 ›