The truth table for the following logic circuit is :
- Option A: Table A
- Option B: Table B
- Option C: Table C
- Option D: Table D
Solution
Core idea. Two AND gates with crossed inverted inputs pick out the unequal cases; a NOR gate after them gives the equality function.
Concept refresher. The exclusive OR, , is 1 when the two inputs differ. A NOR gate gives the inverse of the sum of its inputs, so a NOR gate fed with these two terms gives the exclusive NOR,
which is 1 when the inputs are equal.
Picture the situation. Each AND gate gets one input straight and the other one flipped, so each fires for one of the two cases in which the inputs differ. The NOR gate gives 1 only when neither AND gate fires, which means the inputs are equal.
Approach. Write the output of each AND gate, apply the NOR gate, and evaluate the four rows.
Step 1: The upper AND gate
It receives directly and through a NOT gate, so it gives .
Step 2: The lower AND gate
It receives directly and through a NOT gate, so it gives .
Step 3: The NOR gate
It inverts the sum of the two:
The sum is 1 when the inputs differ, so is 1 when they are equal.
Step 4: Matching
For the inputs 00, 01, 10 and 11 the outputs are 1, 0, 0 and 1, which is the column of Table A.
Answer. (A) Table A
Sanity check. Check the row 11: each AND gate receives one 0 and gives 0, so the NOR gate gives 1, as Table A says.
Why the other options are wrong
- (B) Its outputs 1, 0, 1, 0 are the complement of B; for the inputs 11 this circuit gives 1.
- (C) Its outputs 0, 1, 0, 1 are simply the column of B; for the inputs 00 this circuit gives 1.
- (D) Its outputs 0, 0, 1, 1 are simply the column of A; for the inputs 10 the upper AND gate fires and this circuit gives 0.
Key takeaway
The trap. A bubble at the output inverts the whole output column of the truth table.
How toppers think. They check the rows 00 and 11 first: 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 ›