What logic function is obtained by adding an inverter to the output of an AND gate? A. OR B. NAND C. XOR D. NOR E. None of the above

OR
NAND
XOR
NOR E. None of the above

The correct answer is B. NAND.

An AND gate is a logic gate that produces a high output only if all of its inputs are high. An inverter is a logic gate that inverts its

input, producing a high output if its input is low and a low output if its input is high.

When an inverter is added to the output of an AND gate, the resulting circuit is called a NAND gate. A NAND gate produces a high output only if all of its inputs are low.

Here is

a truth table that shows the output of a NAND gate for all possible combinations of inputs:

Input | Output
——- | ——–
0 0 | 1
0 1 | 1
1 0 | 1
1 1 | 0

As you can see, the NAND gate produces a high output only if all of its inputs are low. This is the opposite of the AND gate, which produces a high output only if all of its inputs are high.

NAND gates are one of the most versatile logic gates and are used in a wide variety of digital circuits.

Exit mobile version