Skip to content
Question Bank (5 marks) · Q1

Q.Explain the universal property of NAND gate and realize the AND, OR, NOT and X-OR gates with their respective truth tables.

Karnataka PUCTextbookLong· 5mImportance★★★★★est
3% · 5/160 Questions
✓ Free question

[!TLDR]

NAND is universal: NOT, AND, OR and X-OR can all be realised with NAND gates only.

Universal property: A gate is called universal if the three basic gates (NOT, AND, OR) can be constructed from it alone — and hence any logic function. The NAND gate satisfies this, so any digital circuit can be built entirely from NAND gates. This is economical because only one type of IC need be stocked.

1) NOT gate — tie both NAND inputs together: Y=A⋅A‾=A‾Y=\overline{A\cdot A}=\overline{A}.

AY = Ā
01
10

2) AND gate — a NAND followed by a NAND-inverter: Y=AB‾‾=A⋅BY=\overline{\overline{AB}}=A\cdot B (2 NANDs).

ABY = AB
000
010
100
111

3) OR gate — invert both inputs with NAND-inverters, then NAND them: Y=A‾⋅B‾‾=A+BY=\overline{\overline{A}\cdot\overline{B}}=A+B (3 NANDs, by De Morgan).

ABY = A+B
000
011
101
111

4) X-OR gate — four NANDs: G1=AB‾G1=\overline{AB}; G2=A⋅G1‾G2=\overline{A\cdot G1}; G3=B⋅G1‾G3=\overline{B\cdot G1}; Y=G2⋅G3‾=AB‾+A‾B=A⊕BY=\overline{G2\cdot G3}=A\overline{B}+\overline{A}B=A\oplus B.

ABY = A⊕B
000
011
101
110

[!ANSWER]

NAND is universal because NOT =A⋅A‾=A‾=\overline{A\cdot A}=\overline{A}, AND =AB‾‾=AB=\overline{\overline{AB}}=AB, OR =A‾ B‾‾=A+B=\overline{\overline{A}\,\overline{B}}=A+B and X-OR =G2⋅G3‾=AB‾+A‾B=\overline{G2\cdot G3}=A\overline{B}+\overline{A}B are all realisable with NAND gates alone, each verified by the truth tables above.

Unlock everything free for 14 days

  • Full step-by-step solutions
  • Concept-first explanations
  • Methods, shortcuts & mistakes
  • PYQ mapping + timed mock tests

Full access for 14 days. No credit card required.