Solveeit Logo

Question

Question: The given truth table is for: Input| Input| Output ---|---|--- A| B| Y 0| 0| 1 0| 1| 1 ...

The given truth table is for:

InputInputOutput
ABY
001
011
101
110

(A) AND gate
(B) OR gate
(C) NAND gate
(D) NOR gate

Explanation

Solution

Hint
The solution for this question can be easily found by writing down the truth tables of all the four logic gates. Comparing each of them with the given truth table would give the correct answer.
Formula used: The logic equations for each of the gates are:
AND gate: Y=ABY = A \bullet B
OR gate: Y=A+BY = A + B
NAND gate: Y=ABY = \overline {A \bullet B}
NOR gate: Y=A+BY = \overline {A + B} while AA and BB are the two logical inputs, YY is the output, \bullet represents the logical multiplication operator and ++ represents the logical addition operator.

Complete step by step answer
As we mentioned above, we have to find out the truth tables for each of the gates provided in the options. So, for the AND gate, the output is ‘high’ represented as 11 only when both the outputs are ‘high’, and otherwise the output is ‘low’ represented as 00 . The truth table for the AND gate is:

InputInputOutput
AABBY=ABY = A \bullet B
000
010
100
111

Similarly, for an OR gate, the output is high when at least one of the inputs is high. The output is low only if both the inputs are low. The truth table for the OR gate is as follows:

InputInputOutput
AABBY=A+BY = A + B
000
011
101
111

Now, the NAND gate is the complement of an AND gate. That is, if both the inputs are high, then the output of a NAND gate is low, and whenever there is a low input, the output is high. This can be illustrated in the truth table as:

InputInputOutput
AABBY=ABY = \overline {A \bullet B}
001
011
101
110

Similar to the case of NAND gate, NOR gate is the complement of an OR gate. So, in this case, the output is high only when all the inputs are low, and if there is at least one high input, then the output of the NOR gate is low. The truth table is follows:

InputInputOutput
AABBY=A+BY = \overline {A + B}
001
010
100
110

So, on comparing the truth tables of all the four gates given in the options, the truth table of NAND gate is equivalent to the truth table given in the question.
Therefore, the correct answer is option (C).

Note
There is one more primary logic gate which is not discussed in this question. That is the NOT gate. The NOT gate works as an inverter, that means, whatever is there in the input; its negation will be the output. When the input is low, then the output will be high and vice-versa. These logic gates play a great role in the electronics industry and logic gates are the very basic building blocks of almost all of the electronic devices.