The truth table of the given circuit diagram is :
- Option A: Table A
- Option B: Table B
- Option C: Table C
- Option D: Table D
Solution
Core idea. Two AND gates with one input inverted each, followed by an OR gate, make an exclusive OR.
Concept refresher. An AND gate gives the product of its inputs, an OR gate their sum and a NOT gate the complement. Two AND gates, each taking one input directly and the other inverted, followed by an OR gate, give
This is the exclusive OR: it is 1 when the two inputs differ and 0 when they are equal.
Picture the situation. Each input goes straight to the AND gate on its own side and, inverted, across to the AND gate on the other side. So the upper gate fires for A = 1 with B = 0 and the lower gate for A = 0 with B = 1. The OR gate fires if either does.
Approach. Write the output expression and evaluate it for each pair of inputs.
Step 1: The two AND gates
The upper AND gate receives directly and from the crossing wire, giving . The lower AND gate receives directly and , giving .
Step 2: The output
The OR gate adds the two:
which is 1 for the inputs 01 and 10 and 0 for 00 and 11.
Step 3: Matching
The outputs 0, 1, 1, 0 for the inputs 00, 01, 10, 11 are those of Table B.
Answer. (B) Table B
Sanity check. For equal inputs each AND gate receives a 0 on one input, so both give 0 and the output is 0.
Why the other options are wrong
- (A) Its outputs 1, 0, 0, 1 are the inverse: 1 when the inputs are equal.
- (C) Its outputs 0, 0, 0, 1 are those of an AND gate.
- (D) Its outputs 1, 1, 1, 0 are those of a NAND gate.
Key takeaway
The trap. Where wires cross with a hop there is no connection; follow each wire to its own gate.
How toppers think. They test the rows 00 and 11: both must give 0, which only one table does.
Remember. : 1 when the inputs differ.
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 ›