Physics doubt, JEE and NEET

What are the truth tables of AND, OR, NOT, NAND and NOR gates?

Answer: AND gives 1 only when both inputs are 1. OR gives 1 when at least one input is 1. NOT inverts its input. NAND is AND followed by NOT; NOR is OR followed by NOT. NAND and NOR are universal gates: any gate can be built from either one.

By Sunil Kumar. Updated 26 November 2026.

Why

Boolean forms: AND , OR , NOT , NAND , NOR , XOR .

De Morgan's theorems: and .

A NAND gate with its inputs joined is a NOT gate. NAND followed by that NOT is AND. Inverting both inputs of a NAND gives OR.

ABANDORNANDNORXOR
0000110
0101101
1001101
1111000

Exam tip

For a circuit of gates, write the Boolean expression stage by stage and simplify with De Morgan's theorems; then compare with the standard gates.

More physics doubts