SlideShare a Scribd company logo
BY::: 
ROJIN KHADKA
◦ Logic gates 
◦ Boolean algebra
INTRODUCTION: 
 A logic gate is an electronic circuit/device which 
makes logic decisions. 
 Most logic gates are two inputs and one outputs. 
 At any given moment, every terminal is in one of 
the two binary conditions low (0) or high(1), 
represented by different voltage levels.
 The logic state of a terminal can, and generally 
does, change often as the circuit processes data. 
 In most logic gates, the low state is approximately 
0v, while the high state is approximately 5v. 
 Logic gates are also called as switches. with the 
advent of integrate circuits, switches have been 
replaced by TTL circuit and CMOS circuits. 
 symbolic logic uses values, variables and 
operations.
TYPES OF LOGIC GATES: 
The most common logic gates used are, 
Basic gates 
1.OR 
2.AND 
3.NOT 
Universal gates 
1.NAND 
2.NOR 
 X-OR or Exclusive-OR
 Logic gates have special symbols: 
OR gate 
X 
Y 
Z = X + Y 
 And waveform behavior in time as follows: 
X 0 0 1 1 
Y 0 1 0 1 
(AND) X · Y 0 0 0 1 
(OR) X + Y 0 1 1 1 
(NOT) X 1 1 0 0 
X 
Y 
Z = X · Y 
AND gate 
X Z = X 
NOT gate or 
inverter
OR GATE: 
 The OR gate has two or more inputs and one 
output. 
 Its output is true if at least one input is true. 
SYMBOL:
 The OR operation may be defined as “Y equals A 
OR B”. 
Y=A+B 
Where, the symbol ‘+’ indicates the OR concept. 
 Each terminal may assume two possible values 
either zero or one.
TRUTH TABLE: 
A B A+B 
0 0 0 
0 1 1 
1 0 1 
1 1 1
AND GATE: 
 The AND gate is also a basic kind of digital circuit. 
 It has also two or more inputs and one output. 
SYMBOL:
 The AND operation for the output is defined as, “y 
equals A AND B”. 
Y=A.B 
 Where ‘.’ symbol indicates AND operation. 
 The output of the AND gate is one only when both 
inputs are one.
TRUTH TABLE: 
A B A+B 
0 0 0 
0 1 0 
1 0 0 
1 1 1
NOT GATE or Inverter Gate: 
 A NOT gate is a basic gate that has one input and 
one output. 
SYMBOL:
 The NOT circuit serves to invert the polarity of any 
input pulse apply to it. 
 If A is the input then output “Y equals to NOT A or 
Ā. 
Y= Ā 
Where, the bar symbol over A represents NOT or 
compliment operation
TRUTH TABLE: 
A Ā 
0 1 
1 0
NAND GATE: 
 The NAND gate is known as an universal gate 
because it can be used to realize all the three 
basic functions of OR, AND & NOT gates. 
 It is also called as NOT-AND gate. 
SYMBOL:
 The Boolean expression for the NAND operation 
is given by, 
Y=A.B
TRUTH TABLE: 
A B AB 
0 0 1 
0 1 1 
1 0 1 
1 1 0
NOR GATE: 
 The NOR gate is also a universal gate and it is a 
combination of a NOT and OR gates. 
SYMBOL:
 The Boolean expression for NOR gate is given 
by, 
Y=A+B
TRUTH TABLE: 
A B A+B 
0 0 1 
0 1 0 
1 0 0 
1 1 0
Exclusive OR or X-OR GATE: 
 The X-OR gate is a logic gate having two inputs 
with and single output. 
SYMBOL:
 The Boolean expression for the X-OR gate is 
given by, 
Y=A+B 
Where + indicates the exclusive OR operation and 
in terms of expression it can be expanded as 
Y=AB+AB 
+ 
+
TRUTH TABLE: 
A B AB+AB 
0 0 0 
0 1 1 
1 0 1 
1 1 0
ADVANTAGES OF LOGIC GATES: 
 It is generally very easy to reliably distinguish 
between logic 1 or logic 0. 
 The simplest flip-flop is the RS which is made up 
of two gates. 
 K-map is also designed by using logic gates. That 
simplification helps when you start to connect 
gates to implement the functions. 
 These gates are also used in TTL and CMOS 
circuitary.
 Boolean Algebra derives its name from the 
mathematician George Boole in 1854 in his book 
“An investigation of the laws of taught”. 
 Instead of usual algebra of numbers Boolean 
algebra is the algebra of truth values 0 or 1. 
 In order to fully understand this the relation 
between the AND gate, OR gate & NOT gate 
operations should be appreciated.
POSTULATES OF BOOLEAN ALGEBRA: 
 The Boolean algebra has its own set of 
fundamental laws which differ from the ordinary 
algebra. They are, 
OR laws: 
 A+0=A 
 A+1=1 
 A+A=A 
 A+Ā=1
AND laws: 
 A.0=0 
 A.A=A 
 A.1=A 
 A.Ā=0 
NOT laws: 
 0=1 
 1=0 
 If A=0 then Ā=1 
 If A=1 then Ā=0 
 Ā=A
Commutative law: 
 A+B=B+A 
 A.B=B.A 
Associative laws: 
 A+(B+C)=(A+B)+C 
 A.(B.C)=(A.B).C 
 (A+B)+(C+D)=A+B+C+D
Distributive laws: 
 A.(B+C)=(A.B)+(A.C) 
 (A+B).C=A.C+B.C 
 A+ĀB=A+B 
 A+B.C=(A+B).(A+C) 
Absorptive laws: 
 A+A.B=A 
 A.(A+B)=A 
 A.(Ā+B)=AB 
Demorgan’s laws: 
 A+B=A.B 
 A.B=A+B
EXAMPLE: 
(AB+C)(AB+D)=AB+CD 
 AB.AB+AB.D+C.AB+C.D 
 AB+ABD+ABC+CD {A.A=A} 
 AB(1+D)+ABC+CD {1+A=1} 
 AB+ABC+CD 
 AB(1+C)+CD 
 AB+CD
Advantages: 
 If we use Boolean algebra for your logical problem 
you can save more gates and operations. so your 
design will be cheaper, more comprehensible, 
more serviceable . 
 It allows logical steps quickly and repeatedly. 
Disadvantages: 
 Can only arrive at direct results not implied once.
boolean algrebra and logic gates in short

More Related Content

PPTX
BOOLEAN ALGEBRA AND LOGIC GATE
PPTX
BOOLEAN ALGEBRA & LOGIC GATE
PPT
Logic gates presentation
PPT
Boolean Algebra
PPTX
Chapter 2: Boolean Algebra and Logic Gates
PPT
boolean algebra and logic simplification
PPT
Digital Logic Design
PPT
13 Boolean Algebra
BOOLEAN ALGEBRA AND LOGIC GATE
BOOLEAN ALGEBRA & LOGIC GATE
Logic gates presentation
Boolean Algebra
Chapter 2: Boolean Algebra and Logic Gates
boolean algebra and logic simplification
Digital Logic Design
13 Boolean Algebra

What's hot (20)

PPTX
Combinational circuit
PPTX
SOP POS, Minterm and Maxterm
PPTX
Combinational circuit
PPTX
Flip Flop & RS Latch
PDF
verilog code for logic gates
PPT
Half adder & full adder
PPTX
K - Map
PPTX
D and T Flip Flop
PDF
Comparators in DLD.
PPTX
sequential circuits
PPT
Boolean algebra And Logic Gates
PPTX
Boolean expression org.
PPT
multiplexers and demultiplexers
PDF
Boolean algebra & logic gates
PPT
Digital Logic Circuits
PPTX
Logic gates - AND, OR, NOT, NOR, NAND, XOR, XNOR Gates.
PPTX
Basic theorems and properties of boolean algebra
PDF
Sop and pos
PPT
Multiplexers & Demultiplexers
PPT
Minterm and maxterm
Combinational circuit
SOP POS, Minterm and Maxterm
Combinational circuit
Flip Flop & RS Latch
verilog code for logic gates
Half adder & full adder
K - Map
D and T Flip Flop
Comparators in DLD.
sequential circuits
Boolean algebra And Logic Gates
Boolean expression org.
multiplexers and demultiplexers
Boolean algebra & logic gates
Digital Logic Circuits
Logic gates - AND, OR, NOT, NOR, NAND, XOR, XNOR Gates.
Basic theorems and properties of boolean algebra
Sop and pos
Multiplexers & Demultiplexers
Minterm and maxterm
Ad

Similar to boolean algrebra and logic gates in short (20)

PPT
Digital logic gates and Boolean algebra
PDF
1,basic and derived logic gates.pdf
PPTX
Logic gates ,flip flop ,registers and
PPTX
Boolean Aljabra.pptx of dld and computer
PPTX
De Mornan Theory, Boolean Algebra, 7 logical get, truth table,
PPTX
Chapter 3 computer Boolean Algebra 2[1].pptx
PPTX
chapter3.pptx electrical engineering for university
PPT
BOOLEAN ALGEBRA & LOGIC GATES.ppt
PPT
9. logic gates._rr
PPTX
Boolean Algebra.pptx
PPTX
Digital logic
PPT
5. ch-5 Logic Gates in Computer Science.ppt
PPTX
Boolean AlgebraBoolean AlgebraBoolean Algebra
PDF
Chapter_11.pdf
PPT
solids_and_semiconductor_devices for eamcet .ppt
PPTX
Presentation on boolean algebra in Computer architecture.Boolean Algebra.pptx
PPT
solids_and_semiconductor notes for revision purpose.ppt
PPT
solids_and_semiconductor_devices_4.ppt
PPT
Solids_And_Semiconductor_Devices_4.ppt
PPTX
ICT Basic Logic Gates Lessons.pptx
Digital logic gates and Boolean algebra
1,basic and derived logic gates.pdf
Logic gates ,flip flop ,registers and
Boolean Aljabra.pptx of dld and computer
De Mornan Theory, Boolean Algebra, 7 logical get, truth table,
Chapter 3 computer Boolean Algebra 2[1].pptx
chapter3.pptx electrical engineering for university
BOOLEAN ALGEBRA & LOGIC GATES.ppt
9. logic gates._rr
Boolean Algebra.pptx
Digital logic
5. ch-5 Logic Gates in Computer Science.ppt
Boolean AlgebraBoolean AlgebraBoolean Algebra
Chapter_11.pdf
solids_and_semiconductor_devices for eamcet .ppt
Presentation on boolean algebra in Computer architecture.Boolean Algebra.pptx
solids_and_semiconductor notes for revision purpose.ppt
solids_and_semiconductor_devices_4.ppt
Solids_And_Semiconductor_Devices_4.ppt
ICT Basic Logic Gates Lessons.pptx
Ad

Recently uploaded (20)

PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
PDF
TR - Agricultural Crops Production NC III.pdf
PPTX
Lesson notes of climatology university.
PDF
VCE English Exam - Section C Student Revision Booklet
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PDF
01-Introduction-to-Information-Management.pdf
PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PPTX
Pharma ospi slides which help in ospi learning
PDF
RMMM.pdf make it easy to upload and study
PPTX
Institutional Correction lecture only . . .
PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
PDF
Classroom Observation Tools for Teachers
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PPTX
master seminar digital applications in india
PPTX
Cell Structure & Organelles in detailed.
PDF
Supply Chain Operations Speaking Notes -ICLT Program
2.FourierTransform-ShortQuestionswithAnswers.pdf
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
TR - Agricultural Crops Production NC III.pdf
Lesson notes of climatology university.
VCE English Exam - Section C Student Revision Booklet
STATICS OF THE RIGID BODIES Hibbelers.pdf
01-Introduction-to-Information-Management.pdf
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
Abdominal Access Techniques with Prof. Dr. R K Mishra
Pharmacology of Heart Failure /Pharmacotherapy of CHF
Pharma ospi slides which help in ospi learning
RMMM.pdf make it easy to upload and study
Institutional Correction lecture only . . .
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
human mycosis Human fungal infections are called human mycosis..pptx
Classroom Observation Tools for Teachers
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
master seminar digital applications in india
Cell Structure & Organelles in detailed.
Supply Chain Operations Speaking Notes -ICLT Program

boolean algrebra and logic gates in short

  • 2. ◦ Logic gates ◦ Boolean algebra
  • 3. INTRODUCTION:  A logic gate is an electronic circuit/device which makes logic decisions.  Most logic gates are two inputs and one outputs.  At any given moment, every terminal is in one of the two binary conditions low (0) or high(1), represented by different voltage levels.
  • 4.  The logic state of a terminal can, and generally does, change often as the circuit processes data.  In most logic gates, the low state is approximately 0v, while the high state is approximately 5v.  Logic gates are also called as switches. with the advent of integrate circuits, switches have been replaced by TTL circuit and CMOS circuits.  symbolic logic uses values, variables and operations.
  • 5. TYPES OF LOGIC GATES: The most common logic gates used are, Basic gates 1.OR 2.AND 3.NOT Universal gates 1.NAND 2.NOR  X-OR or Exclusive-OR
  • 6.  Logic gates have special symbols: OR gate X Y Z = X + Y  And waveform behavior in time as follows: X 0 0 1 1 Y 0 1 0 1 (AND) X · Y 0 0 0 1 (OR) X + Y 0 1 1 1 (NOT) X 1 1 0 0 X Y Z = X · Y AND gate X Z = X NOT gate or inverter
  • 7. OR GATE:  The OR gate has two or more inputs and one output.  Its output is true if at least one input is true. SYMBOL:
  • 8.  The OR operation may be defined as “Y equals A OR B”. Y=A+B Where, the symbol ‘+’ indicates the OR concept.  Each terminal may assume two possible values either zero or one.
  • 9. TRUTH TABLE: A B A+B 0 0 0 0 1 1 1 0 1 1 1 1
  • 10. AND GATE:  The AND gate is also a basic kind of digital circuit.  It has also two or more inputs and one output. SYMBOL:
  • 11.  The AND operation for the output is defined as, “y equals A AND B”. Y=A.B  Where ‘.’ symbol indicates AND operation.  The output of the AND gate is one only when both inputs are one.
  • 12. TRUTH TABLE: A B A+B 0 0 0 0 1 0 1 0 0 1 1 1
  • 13. NOT GATE or Inverter Gate:  A NOT gate is a basic gate that has one input and one output. SYMBOL:
  • 14.  The NOT circuit serves to invert the polarity of any input pulse apply to it.  If A is the input then output “Y equals to NOT A or Ā. Y= Ā Where, the bar symbol over A represents NOT or compliment operation
  • 15. TRUTH TABLE: A Ā 0 1 1 0
  • 16. NAND GATE:  The NAND gate is known as an universal gate because it can be used to realize all the three basic functions of OR, AND & NOT gates.  It is also called as NOT-AND gate. SYMBOL:
  • 17.  The Boolean expression for the NAND operation is given by, Y=A.B
  • 18. TRUTH TABLE: A B AB 0 0 1 0 1 1 1 0 1 1 1 0
  • 19. NOR GATE:  The NOR gate is also a universal gate and it is a combination of a NOT and OR gates. SYMBOL:
  • 20.  The Boolean expression for NOR gate is given by, Y=A+B
  • 21. TRUTH TABLE: A B A+B 0 0 1 0 1 0 1 0 0 1 1 0
  • 22. Exclusive OR or X-OR GATE:  The X-OR gate is a logic gate having two inputs with and single output. SYMBOL:
  • 23.  The Boolean expression for the X-OR gate is given by, Y=A+B Where + indicates the exclusive OR operation and in terms of expression it can be expanded as Y=AB+AB + +
  • 24. TRUTH TABLE: A B AB+AB 0 0 0 0 1 1 1 0 1 1 1 0
  • 25. ADVANTAGES OF LOGIC GATES:  It is generally very easy to reliably distinguish between logic 1 or logic 0.  The simplest flip-flop is the RS which is made up of two gates.  K-map is also designed by using logic gates. That simplification helps when you start to connect gates to implement the functions.  These gates are also used in TTL and CMOS circuitary.
  • 26.  Boolean Algebra derives its name from the mathematician George Boole in 1854 in his book “An investigation of the laws of taught”.  Instead of usual algebra of numbers Boolean algebra is the algebra of truth values 0 or 1.  In order to fully understand this the relation between the AND gate, OR gate & NOT gate operations should be appreciated.
  • 27. POSTULATES OF BOOLEAN ALGEBRA:  The Boolean algebra has its own set of fundamental laws which differ from the ordinary algebra. They are, OR laws:  A+0=A  A+1=1  A+A=A  A+Ā=1
  • 28. AND laws:  A.0=0  A.A=A  A.1=A  A.Ā=0 NOT laws:  0=1  1=0  If A=0 then Ā=1  If A=1 then Ā=0  Ā=A
  • 29. Commutative law:  A+B=B+A  A.B=B.A Associative laws:  A+(B+C)=(A+B)+C  A.(B.C)=(A.B).C  (A+B)+(C+D)=A+B+C+D
  • 30. Distributive laws:  A.(B+C)=(A.B)+(A.C)  (A+B).C=A.C+B.C  A+ĀB=A+B  A+B.C=(A+B).(A+C) Absorptive laws:  A+A.B=A  A.(A+B)=A  A.(Ā+B)=AB Demorgan’s laws:  A+B=A.B  A.B=A+B
  • 31. EXAMPLE: (AB+C)(AB+D)=AB+CD  AB.AB+AB.D+C.AB+C.D  AB+ABD+ABC+CD {A.A=A}  AB(1+D)+ABC+CD {1+A=1}  AB+ABC+CD  AB(1+C)+CD  AB+CD
  • 32. Advantages:  If we use Boolean algebra for your logical problem you can save more gates and operations. so your design will be cheaper, more comprehensible, more serviceable .  It allows logical steps quickly and repeatedly. Disadvantages:  Can only arrive at direct results not implied once.