Vidyalelo
Computer Science · Q35

Digital Computer Electronics

Engineering and GATE · Computer Science · question 35

Q35

What logic function is obtained by adding an inverter to the inputs of an AND gate?

A.
OR
B.
NAND
Answer
C.
XOR
D.
NOR
E.
None of the above

Answer: Option B

Solution

Answer: Option B
Solution:
When you add an inverter (NOT gate) to the inputs of an AND gate, you create a logic gate known as a NAND gate.

The NAND gate performs the logical AND operation on its inputs and then negates (inverts) the output. In other words, it gives the opposite result of an AND gate.

The truth table for a 2-input NAND gate is as follows:

A B Output
0 0 1
0 1 1
1 0 1
1 1 0

As you can see, the output is 1 for all input combinations except when both inputs are 1.
Therefore, the correct answer is Option B: NAND.