Skip to content
Question of 37

Q.Sketch the output Y from NAND gate having input A and B given below–

Uttarakhand UbseUttarakhand Board Intermediate (Class 12) 2019Subjective· 3mImportance★★★★★
0% · 0/37 Questions
🔒 Locked · start free trial →

You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.

Start your 14-day free trial to unlock the full solution →

Concept understanding — NAND Gate

The NAND Gate: The "Not-AND" That Builds Everything

Imagine you have two switches in series, controlling a bulb. The bulb lights up only when both switches are on. That's an AND gate — output 1 only when all inputs are 1.

Now imagine you take that bulb and invert its behaviour: the bulb is on except when both switches are on. That's the NAND gate. The name itself tells you: Not-AND.

Note

NAND is the most fundamental gate in digital electronics. With enough NAND gates, you can build any other gate — AND, OR, NOT, XOR — and therefore any digital circuit. It's called a universal gate.


The Precise Definition

A NAND gate has two or more inputs and one output. The output is:

  • 0 (LOW) only when all inputs are 1 (HIGH)
  • 1 (HIGH) for every other combination of inputs

In other words: it's the exact opposite of an AND gate.


Truth Table (2-input NAND)

Input AInput BOutput (A NAND B)
001
011
101
110

Notice the pattern: three rows give output 1, only one row gives output 0. That single 0 happens when both inputs are 1.


The Boolean Expression

If AND is written as A⋅BA \cdot B, then NAND is its negation:

Y=A⋅B‾Y = \overline{A \cdot B}

You read this as "Y equals NOT (A AND B)". The bar over the whole expression means the negation applies to the AND result, not to individual inputs.

Watch out

A common mistake is to write A‾⋅B‾\overline{A} \cdot \overline{B} for NAND. That's wrong — that expression is actually a NOR gate. NAND is A⋅B‾\overline{A \cdot B}, not A‾⋅B‾\overline{A} \cdot \overline{B}. The bar covers the entire AND operation.


Why It Matters …

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.