Solveeit Logo

Question

Question: Truth table for the given circuit will be ![](https://www.vedantu.com/question-sets/54aaa654-daea-...

Truth table for the given circuit will be

A)

xyZ
000011
001111
110011
111100

B)

xyZ
000000
001100
110000
111111

C)

XyZ
000011
001111
110011
111111

D)

XYZ
000000
001111
110011
111111
Explanation

Solution

In the given circuit, we have AND gates, NOT gate and NAND gate. The output for NAND gate is 00 only when both the inputs are 11 otherwise the output is 11. For output for NOT is the reverse of the input. For AND gate, the output is 11 only when both the input is 11. Using this check the output at different points for different input and thus check the final output.

Complete step by step answer:
We are given with two AND gates, one NOT gate and the final output is given by a NAND gate. When there are 22 inputs the total combination of input becomes 22=4{2^2} = 4. Let us check the output for each set of input.
The input set is: (0,0)(0,0), (0,1)(0,1), (1,0)(1,0), (1,1)(1,1).
Let us consider the output for each set:

Clearly, we can see that for input set (0,0)(0,0) the output is 11
For input set (0,1)(0,1) the output will be:

We can see that for input set (0,1)(0,1) the output is 11
For input set (1,0)(1,0) the output will be:

The output for (1,0)(1,0) is 11.
Now, let's find the output for (1,1)(1,1) :

The output for (1,1)(1,1) is 00.
The output set is (1,1,1,0)(1,1,1,0) which is in option A.

So, the correct answer is “Option A”.

Note:
In order to solve such compound logic gates problems, it is better if the output for each set is calculated individually. The output for AND gate is 11 only if both the input is 11. The output for NOT gate is reverse of the input. It becomes difficult to solve this problem using a truth table instead the given approach can be followed.