A universal logic gate is one which can be used to generate any logic function. Which of the following is a universal logic gate?
A. OR
B. AND
C. XOR
D. NAND
Answer: d
Explanation: An Universal Logic Gate is one which can generate any logic function and also the three basic gates: AND, OR and NOT. Thus, NOR and NAND can generate any logic function and are thus Universal Logic Gates.