1. Home
  2. Electronics Engineering
  3. Digital Electronics
  4. What is the minimum number of 2-input NAND gates needed to…

Added 2 Nov 2026

What is the minimum number of 2-input NAND gates needed to implement an XOR function?

  1. 3
  2. 5
  3. 6
  4. 4 Correct answer

Correct answer

D. 4

28 views

MCQSEXAM

Explanation

XOR can be built from four NAND gates: one NAND of A and B feeds two NANDs with A and B, and a final NAND combines them. This shows NAND is a universal gate.

Reference

Asked in: GATE EC, PEC, NTS

Preparing for an exam?

Doubts & discussion

Not sure why the answer is D? Ask here and get an explanation.

Ask a doubt about this MCQ

Shown after review. No links please.

More Digital Electronics MCQs

Practise all Digital Electronics MCQs

Similar MCQs