In the following digital circuit, what will be the output at 'Z', when the input are , , , ?
- Option A: 0, 0, 1, 0
- Option B: 1, 0, 1, 1
- Option C: 1, 1, 0, 1
- Option D: 0, 1, 0, 0
Solution
Core idea. When one signal feeds a gate both directly and through an AND gate, the AND branch is absorbed.
Concept refresher. A NAND gate gives , an OR gate gives , and a NOR gate gives the inverse of the sum of its inputs. A signal added to its own product with another signal is just itself (absorption):
Picture the situation. The NAND output goes to two places: straight to the last gate, and into the AND gate. Whatever the AND gate does, it cannot be high unless the NAND output is high. So the last NOR gate is really only inverting the NAND output, and an inverted NAND is an AND.
Approach. Write the output expression, simplify it, and evaluate it for the four pairs in the order given.
Step 1: Outputs of the first two gates
The NAND gate gives and the OR gate gives , naming the two signals for later use.
Step 2: The AND gate
It receives and , so its output is the product .
Step 3: The NOR gate
It receives and . Since ,
Step 4: The sequence
is 1 only for the pair . For , , , the outputs are 0, 0, 1, 0.
Answer. (A) 0, 0, 1, 0
Sanity check. Check (1, 0) on the circuit: the NAND gate gives 1, which alone makes the NOR output 0, as the sequence says.
Why the other options are wrong
- (B) It is the output of the OR gate for these pairs, 1, 0, 1, 1, not that of the whole circuit.
- (C) It is the output of the NAND gate, 1, 1, 0, 1; the last gate inverts it.
- (D) It is 1 only for the pair (0, 0), as a NOR gate fed with A and B directly would give; here the NOR gate is fed by the other gates.
Key takeaway
The trap. Give the outputs in the order in which the question lists the input pairs.
How toppers think. They spot that the AND output can be high only if the NAND output is high, and skip the algebra.
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 ›