The truth table for this given circuit is:
- Option A: Table A
- Option B: Table B
- Option C: Table C
- Option D: Table D
Solution
Core idea. When both AND gates share an uninverted input and take the other in both forms, the output is the shared input.
Concept refresher. An AND gate gives the product of its inputs and an OR gate their sum. A variable ORed with its own complement is always 1:
so a common factor multiplied by both a variable and its complement survives alone: .
Picture the situation. Input B reaches both AND gates unchanged. The upper gate passes B when A is 1, and the lower gate, which gets the inverted A, passes B when A is 0. One of them is always open, so B always gets through to the OR gate.
Approach. Write the output expression, simplify it, and compare with the tables.
Step 1: The two AND gates
The upper AND gate receives and and gives . The lower AND gate receives , from the NOT gate, and , and gives .
Step 2: The output
The OR gate adds the two, and the common factor can be taken out:
Step 3: Matching
The output equals B in every row: 0, 1, 0, 1 for the inputs 00, 01, 10, 11, which is Table B.
Answer. (B) Table B
Sanity check. Check the row 01: the lower AND gate receives 1 and 1 and gives 1, so the output is 1, as Table B says.
Why the other options are wrong
- (A) Its outputs 1, 1, 1, 0 are those of a NAND gate; for the inputs 00 both AND gates here give 0.
- (C) Its outputs 0, 0, 0, 1 are those of the upper AND gate alone, leaving out the lower one.
- (D) Its outputs 1, 0, 1, 0 are the complement of B; the circuit gives B itself.
Key takeaway
The trap. Not every circuit with two AND gates, a NOT gate and an OR gate is an exclusive OR.
How toppers think. They factor out the common input and use the complement law.
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 ›