Machine-translated by Google. Questions are authored in English.
Top

Discussion

Which logic gate can be used to implement any Boolean function ?

  • A.AND gate
  • B.OR gate
  • C.NAND gate
  • D.XOR gate

Answer: C

The gate is the NAND gate.

NAND is a universal gate: NOT, AND and OR can each be built from NAND gates alone. NOT A is A NAND A, AND is a NAND followed by a NAND inverter, and OR follows from De Morgan's law as (NOT A) NAND (NOT B). So any Boolean function can be made from NAND gates. NOR is the other universal gate.

AND and OR cannot produce inversion, so they cannot make NOT on their own. XOR alone cannot build every function either, so it is not universal.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.