Identify the correct truth table of the given logic circuit.
- Option A:
- Option B:
- Option C:
- Option D:
Solution
Core idea. Write every gate's output in order, then simplify the whole expression before filling in the table.
Concept refresher. An AND gate gives , and a NAND gate gives its inverse, . An AND gate with both inputs joined gives , so it passes its input on unchanged. De Morgan's theorem turns a NAND output into a sum:
Picture the situation. Each wire is marked with the signal it carries, gate by gate from the inputs.
Approach. Write the output of each gate from the inputs to , simplify the final expression, and read off its truth table.
Step 1: The two gates with joined inputs
The top AND gate has both inputs joined to , so its output is . The second AND gate has both inputs joined to the NAND output, so it passes on unchanged.
Step 2: The final AND gate
The last gate multiplies these two signals:
Since , this leaves .
Step 3: Build the truth table
is only when and :
Column reads , which is the table in option (A).
Answer. (A) the table with
Sanity check. Check , directly: the NAND gives , so the second AND gate gives and the last gate gives , as the table says.
Why the other options are wrong
- (B) Column of is the XOR output ; it would need a path that gives for , , but every path to needs .
- (C) Column of is the NAND output alone; it forgets that the last AND gate also needs .
- (D) Column of is ; it treats the last gate as passing whatever is, but must be whenever .
Key takeaway
The trap. Thinking an AND gate with joined inputs changes the signal, or misreading the flat-backed last gate as an OR gate.
How toppers think. They notice that needs through the top gate, which rules out every table with for .
Remember. , and a gate with joined inputs passes its input straight on.
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 ›