SlideShare una empresa de Scribd logo
1 de 31
DIGITAL LOGIC GATES
AND BOOLEAN ALGEBRA




                Dr. C. SARITHA
           LECTURER IN ELECTRONICS
           SSBN DEGREE & PG COLLEGE
                 ANANTAPUR
LOGIC GATES
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
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

   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.
Digital logic gates and Boolean algebra

Más contenido relacionado

La actualidad más candente

BOOLEAN ALGEBRA AND LOGIC GATE
BOOLEAN ALGEBRA AND LOGIC GATE BOOLEAN ALGEBRA AND LOGIC GATE
BOOLEAN ALGEBRA AND LOGIC GATE Tamim Tanvir
 
Design half ,full Adder and Subtractor
Design half ,full Adder and SubtractorDesign half ,full Adder and Subtractor
Design half ,full Adder and SubtractorJaimin@prt.ltd.
 
Presentation On Logic Gate
Presentation On Logic Gate Presentation On Logic Gate
Presentation On Logic Gate Nazrul Islam
 
Logic gates - AND, OR, NOT, NOR, NAND, XOR, XNOR Gates.
Logic gates - AND, OR, NOT, NOR, NAND, XOR, XNOR Gates.Logic gates - AND, OR, NOT, NOR, NAND, XOR, XNOR Gates.
Logic gates - AND, OR, NOT, NOR, NAND, XOR, XNOR Gates.Satya P. Joshi
 
Combinational circuits
Combinational circuitsCombinational circuits
Combinational circuitsSARITHA REDDY
 
boolean algebra and logic simplification
boolean algebra and logic simplificationboolean algebra and logic simplification
boolean algebra and logic simplificationUnsa Shakir
 
Digital logic gate and its application
Digital logic gate and its applicationDigital logic gate and its application
Digital logic gate and its applicationAbdullah Al Masud
 
NAND and NOR implementation and Other two level implementation
NAND and NOR implementation and  Other two level implementationNAND and NOR implementation and  Other two level implementation
NAND and NOR implementation and Other two level implementationMuhammad Akhtar
 
Combinational Circuits & Sequential Circuits
Combinational Circuits & Sequential CircuitsCombinational Circuits & Sequential Circuits
Combinational Circuits & Sequential Circuitsgourav kottawar
 
DIGITAL ELECTRONICS- Logic Gates
DIGITAL ELECTRONICS- Logic GatesDIGITAL ELECTRONICS- Logic Gates
DIGITAL ELECTRONICS- Logic GatesTrinity Dwarka
 
Combinational circuits
Combinational circuits Combinational circuits
Combinational circuits DrSonali Vyas
 
Magnitude comparator
Magnitude comparatorMagnitude comparator
Magnitude comparatorSyed Saeed
 
Adder & subtractor (Half adder, Full adder, Half subtractor, Full subtractor)
Adder & subtractor (Half adder, Full adder, Half subtractor, Full subtractor)Adder & subtractor (Half adder, Full adder, Half subtractor, Full subtractor)
Adder & subtractor (Half adder, Full adder, Half subtractor, Full subtractor)ISMT College
 

La actualidad más candente (20)

BOOLEAN ALGEBRA AND LOGIC GATE
BOOLEAN ALGEBRA AND LOGIC GATE BOOLEAN ALGEBRA AND LOGIC GATE
BOOLEAN ALGEBRA AND LOGIC GATE
 
Design half ,full Adder and Subtractor
Design half ,full Adder and SubtractorDesign half ,full Adder and Subtractor
Design half ,full Adder and Subtractor
 
Presentation On Logic Gate
Presentation On Logic Gate Presentation On Logic Gate
Presentation On Logic Gate
 
K - Map
  K - Map    K - Map
K - Map
 
Logic gates - AND, OR, NOT, NOR, NAND, XOR, XNOR Gates.
Logic gates - AND, OR, NOT, NOR, NAND, XOR, XNOR Gates.Logic gates - AND, OR, NOT, NOR, NAND, XOR, XNOR Gates.
Logic gates - AND, OR, NOT, NOR, NAND, XOR, XNOR Gates.
 
Combinational circuits
Combinational circuitsCombinational circuits
Combinational circuits
 
Combinational circuits
Combinational circuitsCombinational circuits
Combinational circuits
 
boolean algebra and logic simplification
boolean algebra and logic simplificationboolean algebra and logic simplification
boolean algebra and logic simplification
 
Combinational circuit
Combinational circuitCombinational circuit
Combinational circuit
 
Digital logic gate and its application
Digital logic gate and its applicationDigital logic gate and its application
Digital logic gate and its application
 
NAND and NOR implementation and Other two level implementation
NAND and NOR implementation and  Other two level implementationNAND and NOR implementation and  Other two level implementation
NAND and NOR implementation and Other two level implementation
 
Combinational Circuits & Sequential Circuits
Combinational Circuits & Sequential CircuitsCombinational Circuits & Sequential Circuits
Combinational Circuits & Sequential Circuits
 
Chapter 4: Combinational Logic
Chapter 4: Combinational LogicChapter 4: Combinational Logic
Chapter 4: Combinational Logic
 
DIGITAL ELECTRONICS- Logic Gates
DIGITAL ELECTRONICS- Logic GatesDIGITAL ELECTRONICS- Logic Gates
DIGITAL ELECTRONICS- Logic Gates
 
Digital Logic Design
Digital Logic Design Digital Logic Design
Digital Logic Design
 
Combinational circuits
Combinational circuits Combinational circuits
Combinational circuits
 
Magnitude comparator
Magnitude comparatorMagnitude comparator
Magnitude comparator
 
Logic gates presentation
Logic gates presentationLogic gates presentation
Logic gates presentation
 
Adder ppt
Adder pptAdder ppt
Adder ppt
 
Adder & subtractor (Half adder, Full adder, Half subtractor, Full subtractor)
Adder & subtractor (Half adder, Full adder, Half subtractor, Full subtractor)Adder & subtractor (Half adder, Full adder, Half subtractor, Full subtractor)
Adder & subtractor (Half adder, Full adder, Half subtractor, Full subtractor)
 

Similar a Digital logic gates and Boolean algebra

boolean algrebra and logic gates in short
boolean algrebra and logic gates in shortboolean algrebra and logic gates in short
boolean algrebra and logic gates in shortRojin Khadka
 
1,basic and derived logic gates.pdf
1,basic and derived logic gates.pdf1,basic and derived logic gates.pdf
1,basic and derived logic gates.pdfDamotTesfaye
 
Logic gates ,flip flop ,registers and
Logic gates ,flip flop ,registers andLogic gates ,flip flop ,registers and
Logic gates ,flip flop ,registers andMuruganandhanD
 
De Mornan Theory, Boolean Algebra, 7 logical get, truth table,
De Mornan Theory, Boolean Algebra, 7 logical get, truth table,  De Mornan Theory, Boolean Algebra, 7 logical get, truth table,
De Mornan Theory, Boolean Algebra, 7 logical get, truth table, DharmaKumariBhandari
 
Solids_And_Semiconductor_Devices_4.ppt
Solids_And_Semiconductor_Devices_4.pptSolids_And_Semiconductor_Devices_4.ppt
Solids_And_Semiconductor_Devices_4.pptJosephMuez2
 
solids_and_semiconductor_devices_4.ppt
solids_and_semiconductor_devices_4.pptsolids_and_semiconductor_devices_4.ppt
solids_and_semiconductor_devices_4.pptUmeshPatil149
 
Semiconductor Devices Class 12 Part-4
Semiconductor Devices Class 12 Part-4Semiconductor Devices Class 12 Part-4
Semiconductor Devices Class 12 Part-4Self-employed
 
Physics investigatgory project on logic gates class 12
Physics  investigatgory project on logic gates class 12Physics  investigatgory project on logic gates class 12
Physics investigatgory project on logic gates class 12appietech
 
physics investigatory on logic gates
physics investigatory on logic gatesphysics investigatory on logic gates
physics investigatory on logic gatesMoviesBuzz1
 
Logic gates and NAND and NOR univarsal gates
Logic gates and NAND and NOR univarsal gatesLogic gates and NAND and NOR univarsal gates
Logic gates and NAND and NOR univarsal gatesDhwanil Champaneria
 
ICT Basic Logic Gates Lessons.pptx
ICT Basic Logic Gates Lessons.pptxICT Basic Logic Gates Lessons.pptx
ICT Basic Logic Gates Lessons.pptxChristianVelchez2
 
Lecture 04-Digital logic gates.pptx
Lecture 04-Digital logic gates.pptxLecture 04-Digital logic gates.pptx
Lecture 04-Digital logic gates.pptxWilliamJosephat1
 
Ass.(2)applications of logic u.s d.m
Ass.(2)applications of logic u.s d.mAss.(2)applications of logic u.s d.m
Ass.(2)applications of logic u.s d.mSyed Umair
 
Chapter 4. logic function and boolean algebra
Chapter 4. logic function and boolean algebraChapter 4. logic function and boolean algebra
Chapter 4. logic function and boolean algebraAshish KC
 
Report on-the-logic-gates
Report on-the-logic-gatesReport on-the-logic-gates
Report on-the-logic-gatesbhardubhai
 
Digital Electronics-Review of Logic Gates.pptx
Digital Electronics-Review of Logic Gates.pptxDigital Electronics-Review of Logic Gates.pptx
Digital Electronics-Review of Logic Gates.pptxProfVilasShamraoPati
 

Similar a Digital logic gates and Boolean algebra (20)

boolean algrebra and logic gates in short
boolean algrebra and logic gates in shortboolean algrebra and logic gates in short
boolean algrebra and logic gates in short
 
1,basic and derived logic gates.pdf
1,basic and derived logic gates.pdf1,basic and derived logic gates.pdf
1,basic and derived logic gates.pdf
 
Logic gates ,flip flop ,registers and
Logic gates ,flip flop ,registers andLogic gates ,flip flop ,registers and
Logic gates ,flip flop ,registers and
 
De Mornan Theory, Boolean Algebra, 7 logical get, truth table,
De Mornan Theory, Boolean Algebra, 7 logical get, truth table,  De Mornan Theory, Boolean Algebra, 7 logical get, truth table,
De Mornan Theory, Boolean Algebra, 7 logical get, truth table,
 
Digital logic
Digital logicDigital logic
Digital logic
 
Solids_And_Semiconductor_Devices_4.ppt
Solids_And_Semiconductor_Devices_4.pptSolids_And_Semiconductor_Devices_4.ppt
Solids_And_Semiconductor_Devices_4.ppt
 
solids_and_semiconductor_devices_4.ppt
solids_and_semiconductor_devices_4.pptsolids_and_semiconductor_devices_4.ppt
solids_and_semiconductor_devices_4.ppt
 
Semiconductor Devices Class 12 Part-4
Semiconductor Devices Class 12 Part-4Semiconductor Devices Class 12 Part-4
Semiconductor Devices Class 12 Part-4
 
Physics investigatgory project on logic gates class 12
Physics  investigatgory project on logic gates class 12Physics  investigatgory project on logic gates class 12
Physics investigatgory project on logic gates class 12
 
physics investigatory on logic gates
physics investigatory on logic gatesphysics investigatory on logic gates
physics investigatory on logic gates
 
Logic gates and NAND and NOR univarsal gates
Logic gates and NAND and NOR univarsal gatesLogic gates and NAND and NOR univarsal gates
Logic gates and NAND and NOR univarsal gates
 
ICT Basic Logic Gates Lessons.pptx
ICT Basic Logic Gates Lessons.pptxICT Basic Logic Gates Lessons.pptx
ICT Basic Logic Gates Lessons.pptx
 
Lecture 04-Digital logic gates.pptx
Lecture 04-Digital logic gates.pptxLecture 04-Digital logic gates.pptx
Lecture 04-Digital logic gates.pptx
 
Chapter_11.pdf
Chapter_11.pdfChapter_11.pdf
Chapter_11.pdf
 
Ass.(2)applications of logic u.s d.m
Ass.(2)applications of logic u.s d.mAss.(2)applications of logic u.s d.m
Ass.(2)applications of logic u.s d.m
 
9. logic gates._rr
9. logic gates._rr9. logic gates._rr
9. logic gates._rr
 
Chapter 4. logic function and boolean algebra
Chapter 4. logic function and boolean algebraChapter 4. logic function and boolean algebra
Chapter 4. logic function and boolean algebra
 
Report on-the-logic-gates
Report on-the-logic-gatesReport on-the-logic-gates
Report on-the-logic-gates
 
Digital Electronics-Review of Logic Gates.pptx
Digital Electronics-Review of Logic Gates.pptxDigital Electronics-Review of Logic Gates.pptx
Digital Electronics-Review of Logic Gates.pptx
 
Logic gates
Logic gatesLogic gates
Logic gates
 

Más de SARITHA REDDY

Unit iv microcontrollers final
Unit iv microcontrollers finalUnit iv microcontrollers final
Unit iv microcontrollers finalSARITHA REDDY
 
Introduction to microprocessors notes
Introduction to microprocessors notesIntroduction to microprocessors notes
Introduction to microprocessors notesSARITHA REDDY
 
8051 data types and directives
8051 data types and directives8051 data types and directives
8051 data types and directivesSARITHA REDDY
 
Unit ii microcontrollers final
Unit ii microcontrollers finalUnit ii microcontrollers final
Unit ii microcontrollers finalSARITHA REDDY
 
Introduction to microprocessor notes
Introduction to microprocessor notesIntroduction to microprocessor notes
Introduction to microprocessor notesSARITHA REDDY
 
8051 data type and directives
8051 data type and directives8051 data type and directives
8051 data type and directivesSARITHA REDDY
 
Decimation in time and frequency
Decimation in time and frequencyDecimation in time and frequency
Decimation in time and frequencySARITHA REDDY
 
Addressing modes of 8051
Addressing modes of 8051Addressing modes of 8051
Addressing modes of 8051SARITHA REDDY
 
I o ports and timers of 8051
I o ports and timers of 8051I o ports and timers of 8051
I o ports and timers of 8051SARITHA REDDY
 
Mos and cmos technology
Mos and cmos technologyMos and cmos technology
Mos and cmos technologySARITHA REDDY
 
Clampers and clippers
Clampers and clippersClampers and clippers
Clampers and clippersSARITHA REDDY
 
Electro Magnetic Wave Propagation
Electro Magnetic Wave PropagationElectro Magnetic Wave Propagation
Electro Magnetic Wave PropagationSARITHA REDDY
 
Satellite communications
Satellite communicationsSatellite communications
Satellite communicationsSARITHA REDDY
 
Electronics in daily life
Electronics in daily lifeElectronics in daily life
Electronics in daily lifeSARITHA REDDY
 
BSc I year practicals
BSc I year practicalsBSc I year practicals
BSc I year practicalsSARITHA REDDY
 
Applications of op amps
Applications of op ampsApplications of op amps
Applications of op ampsSARITHA REDDY
 

Más de SARITHA REDDY (20)

Unit iv microcontrollers final
Unit iv microcontrollers finalUnit iv microcontrollers final
Unit iv microcontrollers final
 
Introduction to microprocessors notes
Introduction to microprocessors notesIntroduction to microprocessors notes
Introduction to microprocessors notes
 
8051 data types and directives
8051 data types and directives8051 data types and directives
8051 data types and directives
 
Unit ii microcontrollers final
Unit ii microcontrollers finalUnit ii microcontrollers final
Unit ii microcontrollers final
 
Introduction to microprocessor notes
Introduction to microprocessor notesIntroduction to microprocessor notes
Introduction to microprocessor notes
 
8051 data type and directives
8051 data type and directives8051 data type and directives
8051 data type and directives
 
Decimation in time and frequency
Decimation in time and frequencyDecimation in time and frequency
Decimation in time and frequency
 
RT linux
RT linuxRT linux
RT linux
 
Addressing modes of 8051
Addressing modes of 8051Addressing modes of 8051
Addressing modes of 8051
 
I o ports and timers of 8051
I o ports and timers of 8051I o ports and timers of 8051
I o ports and timers of 8051
 
Mos and cmos technology
Mos and cmos technologyMos and cmos technology
Mos and cmos technology
 
Logic families
Logic familiesLogic families
Logic families
 
Clampers and clippers
Clampers and clippersClampers and clippers
Clampers and clippers
 
Linked lists
Linked listsLinked lists
Linked lists
 
Arrays
ArraysArrays
Arrays
 
Electro Magnetic Wave Propagation
Electro Magnetic Wave PropagationElectro Magnetic Wave Propagation
Electro Magnetic Wave Propagation
 
Satellite communications
Satellite communicationsSatellite communications
Satellite communications
 
Electronics in daily life
Electronics in daily lifeElectronics in daily life
Electronics in daily life
 
BSc I year practicals
BSc I year practicalsBSc I year practicals
BSc I year practicals
 
Applications of op amps
Applications of op ampsApplications of op amps
Applications of op amps
 

Digital logic gates and Boolean algebra

  • 1. DIGITAL LOGIC GATES AND BOOLEAN ALGEBRA Dr. C. SARITHA LECTURER IN ELECTRONICS SSBN DEGREE & PG COLLEGE ANANTAPUR
  • 2. LOGIC GATES 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.
  • 3.  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.
  • 4. 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
  • 5. 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:
  • 6.  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.
  • 7. TRUTH TABLE: A B A+B 0 0 0 0 1 1 1 0 1 1 1 1
  • 8. AND GATE:  The AND gate is also a basic kind of digital circuit.  It has also two or more inputs and one output. SYMBOL:
  • 9.  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.
  • 10. TRUTH TABLE: A B A+B 0 0 0 0 1 0 1 0 0 1 1 1
  • 11. NOT GATE or Inverter Gate:  A NOT gate is a basic gate that has one input and one output. SYMBOL:
  • 12.  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
  • 13. TRUTH TABLE: A Ā 0 1 1 0
  • 14. 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:
  • 15. The Boolean expression for the NAND operation is given by, Y=A.B
  • 16. TRUTH TABLE: A B AB 0 0 1 0 1 1 1 0 1 1 1 0
  • 17. NOR GATE:  The NOR gate is also a universal gate and it is a combination of a NOT and OR gates. SYMBOL:
  • 18. The Boolean expression for NOR gate is given by, Y=A+B
  • 19. TRUTH TABLE: A B A+B 0 0 1 0 1 0 1 0 0 1 1 0
  • 20. Exclusive OR or X-OR GATE:  The X-OR gate is a logic gate having two inputs with and single output. SYMBOL:
  • 21.  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
  • 22. TRUTH TABLE: A B AB+AB 0 0 0 0 1 1 1 0 1 1 1 0
  • 23. 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.
  • 24. BOOLEAN ALGEBRA  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.
  • 25. 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
  • 26. 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
  • 27. 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
  • 28. 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
  • 29. 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
  • 30. 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.