The following logic gate is equivalent to:
- Option A: NOR Gate
- Option B: OR Gate
- Option C: AND Gate
- Option D: NAND Gate
Solution
Core idea. Four NAND gates connected this way make a NOR gate: invert both inputs, NAND them, invert again.
Concept refresher. A NAND gate gives . With both inputs joined to one signal it gives , so it acts as an inverter. By De Morgan's theorem, the inverse of a product is the sum of the inverses:
Picture the situation. Three of the four gates have their inputs tied, so they are just inverters. The first two flip A and B, the middle NAND gate combines the flipped signals, which works out as an OR of A and B, and the last inverter flips that. An inverted OR is a NOR.
Approach. Write the output of each gate in turn and simplify with De Morgan's theorem.
Step 1: The first two gates
Each NAND gate has its inputs joined, so it inverts its signal: the outputs are and .
Step 2: The third gate
It is a NAND gate with these two as its inputs:
Step 3: The fourth gate
Its inputs are joined, so it inverts the signal it receives:
which is the NOR operation.
Answer. (A) NOR Gate
Sanity check. The four outputs for inputs 00, 01, 10, 11 come out as 1, 0, 0, 0, the truth table of NOR.
Why the other options are wrong
- (B) OR is the signal after the third gate; the fourth gate, with its inputs joined, inverts it.
- (C) An AND gate gives 1 for the inputs 11; this circuit gives 0 there, because A + B is 1 and is then inverted.
- (D) NAND is only the type of each gate; for the inputs 01 a NAND gate gives 1, while this circuit gives 0.
Key takeaway
The trap. A circuit is named by what it does as a whole, not by the type of its gates.
How toppers think. They test the row 00: of the four options only NOR and NAND give 1 there, and the row 01 separates those two.
Remember. NAND of and is ; inverted, it is 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 ›