PrepKiYour AI companion for entrance exam preparation
JEE PHYSICS NOTES

Logic Gates

JEE · Physics · Semiconductor Electronics: Materials, Devices and Simple Circuits · Std XII

Summary

A logic gate is a circuit with one or more inputs and one output. Each input and the output is either 1 (high, say 5 V) or 0 (low, 0 V). Digital circuits need only three basic gates. OR gives 1 when at least one input is 1. AND gives 1 only when all inputs are 1. NOT (the inverter) gives the opposite of its single input.

NAND is an AND gate followed by NOT, and NOR is an OR gate followed by NOT. Each symbol is the AND or OR symbol with a small circle at the output. They are very common because each one can build every other gate (see the last section).

Key formulas

Identity and null
A + 0 = A; A · 1 = A; A + 1 = 1; A · 0 = 0
Complement
A + Ā = 1; A · Ā = 0; (Ā)‾ = A
Absorption
A + A·B = A; A · (A + B) = A
De Morgan
(A·B)‾ = Ā + B̄; (A+B)‾ = Ā · B̄
XOR
A ⊕ B = A·B̄ + Ā·B
OR / AND / NOT
Y = A + B; Y = A · B; Y = Ā
NAND / NOR
Y = (A·B)‾; Y = (A+B)‾
De Morgan
(A·B)‾ = Ā + B̄; (A+B)‾ = Ā · B̄
Absorption
A + A·B = A; A · (A + B) = A
XOR
A ⊕ B = A·B̄ + Ā·B

What this note covers

  • OR, AND, NOT
  • NAND, NOR
  • Truth tables
  • NAND and NOR as universal gates

Solved past-paper question (JEE 2016)

The truth table given in fig. represents : A B Y 0 0 0 0 1 1 1 0 1 1 1 1

  1. (A) AND - Gate
  2. (B) OR - Gate
  3. (C) NOR - Gate
  4. (D) NAND – Gate

Solution

  1. Read the output column for each input pair.

    00 → 0, 01 → 1, 10 → 1, 11 → 1

  2. The output is 1 whenever at least one input is 1, and 0 only when both are 0. That is the definition of OR.

    Y = A + B

  3. Check the others: AND gives 1 only for 11; NAND gives 1,1,1,0; NOR gives 1,0,0,0. None matches.

Answer: (B) OR - Gate

Common mistake: Deciding from one row only. All four rows must match. (Rows 00 and 11 alone do not separate OR from other gates.)

The full note has 7 solved questions, 7 practice questions, figures and a topic test. Reading it on PrepKi is free after you log in.

PDF download is included in PrepKi plans. See plans.

More notes in Semiconductor Electronics: Materials, Devices and Simple Circuits