The truth table for the circuit given in the figure is:
- Option A: Table A
- Option B: Table B
- Option C: Table C
- Option D: Table D
Solution
Core idea. Simplify the Boolean expression before filling the table; here the circuit is just an inverter of A.
Concept refresher. An OR gate gives and a NAND gate gives the inverse of the product of its inputs. A product in which one factor already contains the other reduces:
because if is 1 both factors are 1, and if is 0 the product is 0 whatever is.
Picture the situation. The NAND gate looks at two signals: A itself, and A-or-B. Whenever A is 1 both of these are 1 and the NAND gate gives 0. Whenever A is 0 the first of them is 0 and the NAND gate gives 1. The value of B never matters.
Approach. Write the output expression, simplify it, and fill in the four rows.
Step 1: Expression for the output
The NAND gate receives directly and from the OR gate:
Step 2: Simplifying
Since , the output is : the inverse of A, whatever B is.
Step 3: The four rows
For the inputs 00, 01, 10 and 11 the outputs are 1, 1, 0 and 0, which is Table D.
Answer. (D) Table D
Sanity check. Check the row 01: the OR gate gives 1, the NAND gate receives 0 and 1 and gives 1, as Table D says.
Why the other options are wrong
- (A) Its outputs 0, 0, 1, 1 are the column of A itself; the NAND gate inverts it.
- (B) Its outputs 1, 0, 0, 0 are those of a NOR gate; for the inputs 01 the NAND gate here receives 0 and 1 and gives 1.
- (C) Its outputs are all 1; with A = 1 both inputs of the NAND gate are 1 and the output is 0.
Key takeaway
The trap. An input that also feeds a later gate directly can make the other input redundant.
How toppers think. They spot the absorption A(A + B) = A and write the answer column at once.
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 ›