Four NOR gates are connected as shown in figure. The truth table for the given figure is :
- Option A: Table A
- Option B: Table B
- Option C: Table C
- Option D: Table D
Solution
Core idea. The four-gate pattern gives an exclusive OR with NAND gates and an exclusive NOR with NOR gates.
Concept refresher. A NOR gate gives , which by De Morgan's theorem equals . The inverse of the exclusive OR is the exclusive NOR,
which is 1 when the two inputs are equal and 0 when they differ.
Picture the situation. The first gate makes the NOR of A and B and shares it with two more gates, one of which also sees A and the other B. Each of these picks out one of the cases in which the inputs differ. The last NOR gate gives 1 only when neither of them fires, that is when the inputs are equal.
Approach. Carry the output of the first NOR gate through the circuit and simplify at each stage.
Step 1: First NOR gate
It receives and and gives .
Step 2: Upper and lower NOR gates
The upper gate gives . The lower gate gives .
Step 3: Last NOR gate
It inverts the sum of these two:
which is 1 when the inputs are equal and 0 when they differ.
Step 4: Matching
The outputs 1, 0, 0, 1 for the inputs 00, 01, 10, 11 are those of Table C.
Answer. (C) Table C
Sanity check. Check the row 00: the first gate gives 1, so both middle gates give 0, and the last NOR gate gives 1, as Table C says.
Why the other options are wrong
- (A) Its outputs 1, 0, 1, 0 are the complement of B; for the inputs 11 this circuit gives 1.
- (B) Its outputs 0, 1, 1, 0 are those of an exclusive OR, the inverse of what this circuit gives.
- (D) Its outputs 0, 1, 0, 1 are simply the column of B; for the inputs 00 this circuit gives 1.
Key takeaway
The trap. The same wiring with a different gate type gives the inverse function.
How toppers think. They check the rows 00 and 11: equal inputs must give 1 here.
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 ›