BRAINBIT
CoursesExamsUse casesPricingAbout
Get started
CoursesExamsUse casesPricingAbout
CoursesPhysicsLogic Gates

Chapter 17: Semiconductor Electronics

Logic Gates

Read and build truth tables for OR, AND, NOT, NAND and NOR gates, and combine gates.

JEE MainNEET

Explanation

Digital signals

Digital circuits only care about two levels: low, written zero, and high, written one. A logic gate takes one or more inputs and gives a single output by a fixed rule.

Digital signals: 0 (low) and 1 (high); a gate turns inputs into one output

Logic Gates

OR gives one if any input is one. AND gives one only if all inputs are one.

NOT flips its single input.

OR: Y = A + B · AND: Y = A·B · NOT: Y = Ā

NAND = NOT(AND) · NOR = NOT(OR) · both are…

Put a NOT after an AND and you get NAND; after an OR, you get NOR. Either one alone can build every other gate, so they're called universal gates.

NAND = NOT(AND) · NOR = NOT(OR) · both are universal gates

NAND is 0 only for 1, 1 · NOR is 1 only for 0, 0

Quick way to read them: NAND is one everywhere except when every input is one. NOR is zero everywhere except when every input is zero.

NAND is 0 only for 1, 1 · NOR is 1 only for 0, 0

NAND with inputs joined = NOT · XOR = 1 when the…

Join the two inputs of a NAND and it becomes a NOT gate. And the exclusive-OR gives one only when the two inputs are different.

NAND with inputs joined = NOT · XOR = 1 when the inputs differ

Worked example

Y = NOT(A + B) for A = 0, B = 1: the OR gives 1, the NOT turns it into 0, so Y = 0. That's a NOR gate.

Memory tricks

  • AND needs everyone, OR needs anyone.AND ko sab chahiye, OR ko koi bhi ek.
  • Put a NOT on the end and the answer flips.Upar NOT lagao, jawab ulta paao.

Try 3 practice questions

  1. Q1. Output of an AND gate for A = 1, B = 0

    1. A. 0
    2. B. 1
    3. C. 2
    4. D. 10
    Show answer

    Answer: 0

    AND needs every input to be 1

  2. Q2. An OR gate gives 0 when

    1. A. both inputs are 0
    2. B. both inputs are 1
    3. C. one input is 1
    4. D. never
    Show answer

    Answer: both inputs are 0

    OR is 1 if any input is 1, so only 0, 0 gives 0

  3. Q3. The universal gates are

    1. A. NAND and NOR
    2. B. AND and OR
    3. C. NOT and OR
    4. D. XOR and AND
    Show answer

    Answer: NAND and NOR

    Any gate can be built from NAND alone, or from NOR alone

Learn Logic Gates the fun way

Voice-explained cards, mini-games, full practice and the exam round. Free with one account.

Start Physics
PreviousSemiconductors, the p–n Junction & DiodesNextMeasuring Instruments: Vernier, Screw Gauge & Pendulum

More from Semiconductor Electronics

  • Semiconductors, the p–n Junction & Diodes
BRAINBIT

Bite-sized, game-like lessons for JEE, NEET, Banking and SSC aspirants.

Courses

  • Inorganic Chemistry
  • Organic Chemistry
  • Physical Chemistry
  • Physics
  • Mathematics
  • Biology
  • Logical Reasoning
  • Quantitative Aptitude
  • Data Interpretation
  • English Language
  • General Awareness
  • Typing
  • Vedic Math
  • Abacus
  • Logical Puzzles

Exams

  • JEE Main
  • JEE Advanced
  • NEET
  • IBPS PO
  • SBI PO
  • SSC CGL
  • CAT
  • RRB NTPC

Brainbit

  • Courses
  • Exams
  • Use cases
  • Pricing
  • About

© 2026 Brainbit. All rights reserved.

Privacy PolicyTerms & Conditions
Sign in
Get started
Start Physics