If and are the inputs, the given circuit works as ______.
- Option A: OR gate
- Option B: AND gate
- Option C: NAND gate
- Option D: NOR gate
Solution
Core idea. A NAND gate with joined inputs is a NOT gate, so NAND gates alone can build every other gate.
Concept refresher. A NAND gate gives . With its inputs joined, , so it inverts:
De Morgan's theorem: .
Approach. Replace each NAND gate with joined inputs by a NOT gate, then follow the signals through the middle gate to the output.
Step 1: The input gates
Each input passes through a NAND gate whose inputs are joined, so each is simply inverted. The middle gate receives
Step 2: The middle gate
The middle NAND gate combines the two inverted inputs, and De Morgan's theorem removes the double bars:
So far the circuit is an OR gate.
Step 3: The last gate
The last NAND gate has joined inputs, so it inverts the OR output:
This is a NOR gate.
Answer. (D) NOR gate
Sanity check. Check one row: with and the input gates give and , the middle gate gives , and the last gate gives , which is the NOR output for two zeros.
Why the other options are wrong
- (A) is the output of the middle gate, ; the last gate with joined inputs inverts it once more.
- (B) comes from treating the two input gates as plain wires: the middle and last gates then give , but each input gate inverts its signal.
- (C) would be the middle gate on its own fed directly with and ; here it is fed with and , and its output is inverted again.
Key takeaway
The trap. Stopping at the middle gate, which gives OR, and missing the final inversion.
How toppers think. They redraw each joined-input NAND as a NOT gate and then read the circuit as OR followed by NOT.
Remember. NAND with inverted inputs is OR, and adding a NOT after it gives NOR.
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 ›