Basic Logic Gates - Types, Functions, Truth Table
Basic Logic Gates - Types, Functions, Truth Table
Table of Content
Types of Basic Logic Gates
Application Of Logic Gates
De Morgan’s Theorem
Important Conversions
OR Gate
AND Gate
NOT Gate
XOR Gate
OR Gate
In an OR gate, the output of an OR gate attains
state 1 if one or more inputs attain state 1.
A B Y
0 0 0
0 1 1
1 0 1
1 1 1
AND Gate
In the AND gate, the output of an AND gate attains
state 1 if and only if all the inputs are in state 1.
A B Y
0 0 0
0 1 0
1 0 0
1 1 1
NOT Gate
In a NOT gate, the output of a NOT gate attains
state 1 if and only if the input does not attain state
1.
Y = Ā
It is read as Y equals NOT A.
A Y
0 1
1 0
NAND Gate
This basic logic gate is the combination of AND
and NOT gates.
A B Y
0 0 1
0 1 1
1 0 1
1 1 0
NOR Gate
This gate is the combination of OR and NOT gate.
A B Y
0 0 1
0 1 0
1 0 0
1 1 0
A. B̄ + Ā. B
or
Y = A⨁B
The truth table of an XOR gate is;
A B Y
0 0 0
0 1 1
1 0 1
1 1 0
A B Y
0 0 1
0 1 0
1 0 0
1 1 1
De Morgan’s Theorem
First theorem – It states that the NAND gate
is equivalent to a bubbled OR gate.
A.¯B = Ā + B̄
Second theorem – It states that the NOR gate
is equivalent to a bubbled AND gate.
–
A + B = Ā. B̄
Important Conversions
1) The ‘NAND’ gate: From ‘AND’ and ‘NOT’ gate.
0 1 0 1
1 0 0 1
1 1 1 0
0 1 1 0
1 0 1 0
1 1 1 0
A. B̄ + Ā. B
or
Y = A⨁B
A B Y
0 0 0
0 1 1
1 0 1
1 1 0
Boolean expression:
¯ B)
Y = (A ⨁
A B Output
0 0 1
0 1 0
1 0 0
1 1 1
Start Quiz
JEE Main
JEE Advanced
Name
Mobile Number
City
Grade/Exam
Email Address
Submit
COURSES EXAMS
Maths Investors
Physics Careers
DSSL
Home Tuition
All Products
Calculators
Formulas
RD Sharma Solutions
RS Aggarwal Solutions
US
Slope Formulas
Volume of a Cone
Volume of a Sphere
Volume of a Cylinder
Square Root
Pythagorean Theorem
Area of a Triangle
Quadrilateral
Scientific Notation
Global
FOLLOW US