Q. A logic gate having two inputs $A$ and $B$ and output $C$ has the following truth table. [table] $\mathbf{A}$ | $\mathbf{B}$ | $\mathbf{C}$ ; $1$ $1$ $0$ $0$ | $1$ $0$ $1$ $0$ | $0$ $1$ $1$ $1$ [/table] It is

A) An OR gate
B) An AND gate
C) A NOR gate
D) A NAND gate
Explanation

(d) The given truth table follows a NAND gate whose output is 1 only if at least one of its input is zero. Its Boolean expression is
$Y = \overline{A \bullet B}$
So that $\overline{1 \bullet 1} = \overline{1} = 0$
$\overline{1 \bullet 0} = \overline{0} = 1$
$\overline{0 \bullet 1} = \overline{0} = 1$
$\overline{0 \bullet 0} = \overline{0} = 1$

Dr. Abubacker
Reviewed by Dr. Abubacker

Physics Educator & NEET/JEE Specialist

Ph.D. in Physics with 19+ years of teaching experience.