The logic operations performed by the given digital circuit is equivalent to:
- Option A: NOR
- Option B: AND
- Option C: OR
- Option D: NAND
Solution
Core idea. A NAND gate followed by a NOT gate is an AND gate, and (A + B)·AB is just AB.
Concept refresher. An OR gate gives and an AND gate gives . A NAND gate followed by a NOT gate inverts twice, so together they give the plain product of their inputs. The product of and reduces, because already makes :
Picture the situation. The NAND gate and the NOT gate after it cancel each other's inversion, so the tail of the circuit is an AND gate. It asks for A-or-B and A-and-B to be true together, and the second of these already includes the first.
Approach. Write the output expression and simplify it.
Step 1: The first two gates
The upper gate is an OR gate and gives ; the lower gate is an AND gate and gives .
Step 2: NAND followed by NOT
The NAND gate gives and the NOT gate inverts it again:
Step 3: Simplifying
Expanding, , so the circuit performs the AND operation.
Answer. (B) AND
Sanity check. The four outputs for the inputs 00, 01, 10, 11 come out as 0, 0, 0, 1, the truth table of AND.
Why the other options are wrong
- (A) A NOR gate would give 1 for the inputs 00; here the AND gate gives 0 there and the output is 0.
- (C) An OR gate would give 1 for the inputs 01 and 10; here the lower AND gate gives 0 for them, and so does the output.
- (D) is the output before the final NOT gate; the NOT gate inverts it into AND.
Key takeaway
The trap. A small inverter on the output line is easy to miss and reverses the answer.
How toppers think. They cancel the two inversions first and then simplify the product.
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 ›