SlideShare ist ein Scribd-Unternehmen logo
1 von 28
2.2 PERFORM OPERATON
WITH BOOLEAN
ALGEBRA
LEARNING OUTCOME
1. Define logic gate
2. Explain the operation of logic gate
3. Draw the logic symbol for the following logic gate: NOT, AND,
OR, NAND, EX-OR, EX-NOR
4. Develop truth table
EXAMPLE OF IC : AND, OR, NOT
GATE
IC 7408 – AND gate IC 7404 – NOT gate IC 7432 – OR gate
INTRODUCTION
• Logic gates are the basic building blocks for forming digital
electronic circuitry.
• A logic gate has one output terminal and one or more input
terminals.
• Its output will be HIGH (1) or LOW (0) depending on the digital
level(s) at the input terminal(s).
• Through the use of logic gates, we can design digital systems
that will evaluate digital input levels and produce a specific output
response based on that particular logic circuit design.
• The five basic logic gates are the NOT (inverter), AND, OR,
NAND, NOR.ex or, ex nor
THE AND GATE
• The output, X is HIGH if input A and input B are both HIGH. In
other words, if A = 1 and B = 1, then X = 1.
• If either A or B or both are LOW, the output will be LOW.
A
B
Y
Y = A . B
Input A Input B Output Y
0 0 0
0 1 0
1 0 0
1 1 1
7408 Quad 2-input AND Gate
THE OR GATE
• The OR gate also has two or more inputs and a single output.
• The operation of the two-input OR gate is defined as follows: The
output at Y will be HIGH whenever input A or input B is HIGH
or both are HIGH.
A
B Y
Y = A + B
Input A Input B Output Y
0 0 0
0 1 1
1 0 1
1 1 1
7432 Quad 2-input Logic OR Gate
THE NOT GATE (INVERTER)
• The inverter is used to complement, or invert the digital signal.
• It has a single input and a single output.
• If a HIGH level (1) comes in, it produces a LOW-level (0)
output. If a LOW level (0) comes in, it produces a HIGH-level
(1) output.
THE NOT GATE (INVERTER)
Input A Output Y
0 1
1 0
A Y
AY 
Truth table:
Symbol:
Equation:
7404 NOT Gate or Inverter
THE NAND GATE
• The operation of the NAND gate is the same as the AND gate
except that its output is inverted.
• You can think of a NAND gate as an AND gate with in inverter at
is output.
• The symbol for a NAND gate is made from an AND gate with the
inversion circle (bubble) at its output.
Y = AB
A
B
Y = AB = NOT ( A AND B )
A
Input Output
A B Y
0 0 1
0 1 1
1 0 1
1 1 0
Symbol & Truth table of the NAND gate
7400 Quad 2-input Logic NAND Gate
THE NOR GATE
• The operation of the NOR gate is the same as the OR gate
except that its output is inverted.
• You can think of a NOR gate as an OR gate with in inverter at is
output.
• The symbol for a NOR gate is made from an OR gate with the
inversion circle (bubble) at its output.
SYMBOL & TRUTH TABLE OF
THE NOR GATE
Input Output
A B Y
0 0 1
0 1 0
1 0 0
1 1 0
7402 Quad 2-input NOR Gate
THE EXCLUSIVE-OR GATE
• Provides a HIGH output if one input or the other input is
HIGH, but not both.
• The Boolean equation for the Ex-OR function is written X=AB +
AB and can be constructed using the combinational logic.
SYMBOL AND TRUTH TABLE OF THE
EXCLUSIVE-OR GATE
Input Output
A B EX – OR
0 0 0
0 1 1
1 0 1
1 1 0
• No of input 1 is even output 0
• No of input 1 is odd output 1
7486 Quad 2-input Exclusive-OR Gate
THE EXCLUSIVE-NOR GATE
• The Exclusive-NOR is the complement of the exclusive-OR.
• The truth table for the Ex-NOR shows a HIGH output for both
inputs LOW and both inputs HIGH.
• The Ex-NOR is sometimes called the equality gate because both
inputs must be equal to get a HIGH output.
SYMBOL AND TRUTH TABLE OF THE
EXCLUSIVE-NOR GATE
EQUIVALENT CIRCUIT
EXERCISE
• 1) Develop truth table for 3 input Exclusive-OR gate
• 2) Develop truth table for 3 input Exclusive-NOR gate

Weitere ähnliche Inhalte

Was ist angesagt?

Logic gates for seminar purpose and easy to understand
Logic gates for seminar purpose and easy to understandLogic gates for seminar purpose and easy to understand
Logic gates for seminar purpose and easy to understandSwaraj Nayak
 
7 realization of logic function using logic gates (1)
7 realization of logic function using logic gates (1)7 realization of logic function using logic gates (1)
7 realization of logic function using logic gates (1)Hemant Suthar
 
Presentation of universal logic gate
Presentation of universal logic gatePresentation of universal logic gate
Presentation of universal logic gateNur Mohammad Rayhan
 
CSEC Physics Review - Introduction To Logic Gates
CSEC Physics Review - Introduction To Logic GatesCSEC Physics Review - Introduction To Logic Gates
CSEC Physics Review - Introduction To Logic GatesKevin Small
 
The logic gate circuit
The logic gate circuitThe logic gate circuit
The logic gate circuitroni Febriandi
 
Basic Gates in Digital Logic
Basic Gates in Digital LogicBasic Gates in Digital Logic
Basic Gates in Digital LogicISMT College
 
Exclusive OR GAte
Exclusive OR GAteExclusive OR GAte
Exclusive OR GAteawais ahmad
 
Digital Logic & Computer Architecture Practical Book by Yasir Ahmed Khan
Digital Logic & Computer Architecture Practical Book by Yasir Ahmed KhanDigital Logic & Computer Architecture Practical Book by Yasir Ahmed Khan
Digital Logic & Computer Architecture Practical Book by Yasir Ahmed KhanYasir Khan
 

Was ist angesagt? (20)

Basic logic gates
Basic logic gatesBasic logic gates
Basic logic gates
 
Logic gates for seminar purpose and easy to understand
Logic gates for seminar purpose and easy to understandLogic gates for seminar purpose and easy to understand
Logic gates for seminar purpose and easy to understand
 
Logic gates
Logic gatesLogic gates
Logic gates
 
7 realization of logic function using logic gates (1)
7 realization of logic function using logic gates (1)7 realization of logic function using logic gates (1)
7 realization of logic function using logic gates (1)
 
Presentation of universal logic gate
Presentation of universal logic gatePresentation of universal logic gate
Presentation of universal logic gate
 
CSEC Physics Review - Introduction To Logic Gates
CSEC Physics Review - Introduction To Logic GatesCSEC Physics Review - Introduction To Logic Gates
CSEC Physics Review - Introduction To Logic Gates
 
Logic Gates
Logic GatesLogic Gates
Logic Gates
 
Logic gates
Logic gatesLogic gates
Logic gates
 
The logic gate circuit
The logic gate circuitThe logic gate circuit
The logic gate circuit
 
Digital 1
Digital 1Digital 1
Digital 1
 
Logic Gates
Logic GatesLogic Gates
Logic Gates
 
Logic Gates
Logic GatesLogic Gates
Logic Gates
 
Logic gate
Logic gateLogic gate
Logic gate
 
Basic Gates in Digital Logic
Basic Gates in Digital LogicBasic Gates in Digital Logic
Basic Gates in Digital Logic
 
Logic gates
Logic gatesLogic gates
Logic gates
 
Logic gates
Logic gatesLogic gates
Logic gates
 
Logic gates
Logic gatesLogic gates
Logic gates
 
Logic Gates
Logic GatesLogic Gates
Logic Gates
 
Exclusive OR GAte
Exclusive OR GAteExclusive OR GAte
Exclusive OR GAte
 
Digital Logic & Computer Architecture Practical Book by Yasir Ahmed Khan
Digital Logic & Computer Architecture Practical Book by Yasir Ahmed KhanDigital Logic & Computer Architecture Practical Book by Yasir Ahmed Khan
Digital Logic & Computer Architecture Practical Book by Yasir Ahmed Khan
 

Ähnlich wie perform operation with boolean algebra

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
 
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
 
Introduction to digital logic gates
Introduction to digital logic gatesIntroduction to digital logic gates
Introduction to digital logic gatesVikas Dongre
 
introduction of logic gates
introduction of logic gates introduction of logic gates
introduction of logic gates HASNAINNAZIR1
 
LOGICAL_GATES_priyansh_singhal.pdf
LOGICAL_GATES_priyansh_singhal.pdfLOGICAL_GATES_priyansh_singhal.pdf
LOGICAL_GATES_priyansh_singhal.pdfMeghaChauhan75
 
LOGICAL GATES mayank chauhan.pdf
LOGICAL GATES mayank chauhan.pdfLOGICAL GATES mayank chauhan.pdf
LOGICAL GATES mayank chauhan.pdfMeghaChauhan75
 
11_Fundamentals_of_Digital_Electronics_L.pptx
11_Fundamentals_of_Digital_Electronics_L.pptx11_Fundamentals_of_Digital_Electronics_L.pptx
11_Fundamentals_of_Digital_Electronics_L.pptxElisée Ndjabu
 
Basic gates and functions
Basic gates and functionsBasic gates and functions
Basic gates and functionspong_sk1
 
investagatory PHYSICS-LOGIC GATES
investagatory PHYSICS-LOGIC GATESinvestagatory PHYSICS-LOGIC GATES
investagatory PHYSICS-LOGIC GATESLakhvinder Singh
 
Chapter 02 Logic Functions and Gates
Chapter 02 Logic Functions and GatesChapter 02 Logic Functions and Gates
Chapter 02 Logic Functions and GatesSSE_AndyLi
 
Logic gates and Digital system.pptx
Logic gates and Digital system.pptxLogic gates and Digital system.pptx
Logic gates and Digital system.pptxAmiShete2
 
Logic gatesrevised.ppt
Logic gatesrevised.pptLogic gatesrevised.ppt
Logic gatesrevised.pptDevanDev7
 
Chapter 3_Logic Gates (EEEg4302).pdf
Chapter 3_Logic Gates (EEEg4302).pdfChapter 3_Logic Gates (EEEg4302).pdf
Chapter 3_Logic Gates (EEEg4302).pdfTamiratDejene1
 

Ähnlich wie perform operation with boolean algebra (20)

Logic gates
Logic gatesLogic gates
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 gates logic gates
logic 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.
Logic gates - AND, OR, NOT, NOR, NAND, XOR, XNOR Gates.
 
Introduction to digital logic gates
Introduction to digital logic gatesIntroduction to digital logic gates
Introduction to digital logic gates
 
Logic gates
Logic gatesLogic gates
Logic gates
 
introduction of logic gates
introduction of logic gates introduction of logic gates
introduction of logic gates
 
LOGICAL_GATES_priyansh_singhal.pdf
LOGICAL_GATES_priyansh_singhal.pdfLOGICAL_GATES_priyansh_singhal.pdf
LOGICAL_GATES_priyansh_singhal.pdf
 
LOGICAL GATES mayank chauhan.pdf
LOGICAL GATES mayank chauhan.pdfLOGICAL GATES mayank chauhan.pdf
LOGICAL GATES mayank chauhan.pdf
 
11_Fundamentals_of_Digital_Electronics_L.pptx
11_Fundamentals_of_Digital_Electronics_L.pptx11_Fundamentals_of_Digital_Electronics_L.pptx
11_Fundamentals_of_Digital_Electronics_L.pptx
 
Basic gates and functions
Basic gates and functionsBasic gates and functions
Basic gates and functions
 
investagatory PHYSICS-LOGIC GATES
investagatory PHYSICS-LOGIC GATESinvestagatory PHYSICS-LOGIC GATES
investagatory PHYSICS-LOGIC GATES
 
DOC-20240203-WA0000.pptx
DOC-20240203-WA0000.pptxDOC-20240203-WA0000.pptx
DOC-20240203-WA0000.pptx
 
Logic gates and Boolean.pdf
Logic gates and Boolean.pdfLogic gates and Boolean.pdf
Logic gates and Boolean.pdf
 
BASIC LOGIC GATES.pdf
BASIC LOGIC GATES.pdfBASIC LOGIC GATES.pdf
BASIC LOGIC GATES.pdf
 
Chapter 02 Logic Functions and Gates
Chapter 02 Logic Functions and GatesChapter 02 Logic Functions and Gates
Chapter 02 Logic Functions and Gates
 
Logic gates and Digital system.pptx
Logic gates and Digital system.pptxLogic gates and Digital system.pptx
Logic gates and Digital system.pptx
 
Logic gatesrevised.ppt
Logic gatesrevised.pptLogic gatesrevised.ppt
Logic gatesrevised.ppt
 
Chapter 3_Logic Gates (EEEg4302).pdf
Chapter 3_Logic Gates (EEEg4302).pdfChapter 3_Logic Gates (EEEg4302).pdf
Chapter 3_Logic Gates (EEEg4302).pdf
 
Unit-4.pptx
Unit-4.pptxUnit-4.pptx
Unit-4.pptx
 

Mehr von Brenda Debra

Central Processing Unit
Central Processing UnitCentral Processing Unit
Central Processing UnitBrenda Debra
 
Instruction Set and Assembly Language Programming
Instruction Set and Assembly Language ProgrammingInstruction Set and Assembly Language Programming
Instruction Set and Assembly Language ProgrammingBrenda Debra
 
Describe the register
Describe the registerDescribe the register
Describe the registerBrenda Debra
 
Sequential circuit
Sequential circuitSequential circuit
Sequential circuitBrenda Debra
 
Understand data representation on CPU 1
Understand data representation on CPU 1Understand data representation on CPU 1
Understand data representation on CPU 1Brenda Debra
 
Computer System Architecture
Computer System ArchitectureComputer System Architecture
Computer System ArchitectureBrenda Debra
 

Mehr von Brenda Debra (6)

Central Processing Unit
Central Processing UnitCentral Processing Unit
Central Processing Unit
 
Instruction Set and Assembly Language Programming
Instruction Set and Assembly Language ProgrammingInstruction Set and Assembly Language Programming
Instruction Set and Assembly Language Programming
 
Describe the register
Describe the registerDescribe the register
Describe the register
 
Sequential circuit
Sequential circuitSequential circuit
Sequential circuit
 
Understand data representation on CPU 1
Understand data representation on CPU 1Understand data representation on CPU 1
Understand data representation on CPU 1
 
Computer System Architecture
Computer System ArchitectureComputer System Architecture
Computer System Architecture
 

Kürzlich hochgeladen

Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxRoyAbrique
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
PSYCHIATRIC History collection FORMAT.pptx
PSYCHIATRIC   History collection FORMAT.pptxPSYCHIATRIC   History collection FORMAT.pptx
PSYCHIATRIC History collection FORMAT.pptxPoojaSen20
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Micromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of PowdersMicromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of PowdersChitralekhaTherkar
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsKarinaGenton
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppCeline George
 

Kürzlich hochgeladen (20)

Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
PSYCHIATRIC History collection FORMAT.pptx
PSYCHIATRIC   History collection FORMAT.pptxPSYCHIATRIC   History collection FORMAT.pptx
PSYCHIATRIC History collection FORMAT.pptx
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Micromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of PowdersMicromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of Powders
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its Characteristics
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website App
 

perform operation with boolean algebra

  • 1. 2.2 PERFORM OPERATON WITH BOOLEAN ALGEBRA
  • 2. LEARNING OUTCOME 1. Define logic gate 2. Explain the operation of logic gate 3. Draw the logic symbol for the following logic gate: NOT, AND, OR, NAND, EX-OR, EX-NOR 4. Develop truth table
  • 3. EXAMPLE OF IC : AND, OR, NOT GATE IC 7408 – AND gate IC 7404 – NOT gate IC 7432 – OR gate
  • 4.
  • 5.
  • 6. INTRODUCTION • Logic gates are the basic building blocks for forming digital electronic circuitry. • A logic gate has one output terminal and one or more input terminals. • Its output will be HIGH (1) or LOW (0) depending on the digital level(s) at the input terminal(s).
  • 7. • Through the use of logic gates, we can design digital systems that will evaluate digital input levels and produce a specific output response based on that particular logic circuit design. • The five basic logic gates are the NOT (inverter), AND, OR, NAND, NOR.ex or, ex nor
  • 8. THE AND GATE • The output, X is HIGH if input A and input B are both HIGH. In other words, if A = 1 and B = 1, then X = 1. • If either A or B or both are LOW, the output will be LOW. A B Y Y = A . B Input A Input B Output Y 0 0 0 0 1 0 1 0 0 1 1 1
  • 9. 7408 Quad 2-input AND Gate
  • 10. THE OR GATE • The OR gate also has two or more inputs and a single output. • The operation of the two-input OR gate is defined as follows: The output at Y will be HIGH whenever input A or input B is HIGH or both are HIGH. A B Y Y = A + B Input A Input B Output Y 0 0 0 0 1 1 1 0 1 1 1 1
  • 11. 7432 Quad 2-input Logic OR Gate
  • 12. THE NOT GATE (INVERTER) • The inverter is used to complement, or invert the digital signal. • It has a single input and a single output. • If a HIGH level (1) comes in, it produces a LOW-level (0) output. If a LOW level (0) comes in, it produces a HIGH-level (1) output.
  • 13. THE NOT GATE (INVERTER) Input A Output Y 0 1 1 0 A Y AY  Truth table: Symbol: Equation:
  • 14. 7404 NOT Gate or Inverter
  • 15. THE NAND GATE • The operation of the NAND gate is the same as the AND gate except that its output is inverted. • You can think of a NAND gate as an AND gate with in inverter at is output. • The symbol for a NAND gate is made from an AND gate with the inversion circle (bubble) at its output.
  • 16. Y = AB A B Y = AB = NOT ( A AND B ) A Input Output A B Y 0 0 1 0 1 1 1 0 1 1 1 0 Symbol & Truth table of the NAND gate
  • 17. 7400 Quad 2-input Logic NAND Gate
  • 18. THE NOR GATE • The operation of the NOR gate is the same as the OR gate except that its output is inverted. • You can think of a NOR gate as an OR gate with in inverter at is output. • The symbol for a NOR gate is made from an OR gate with the inversion circle (bubble) at its output.
  • 19. SYMBOL & TRUTH TABLE OF THE NOR GATE Input Output A B Y 0 0 1 0 1 0 1 0 0 1 1 0
  • 20. 7402 Quad 2-input NOR Gate
  • 21. THE EXCLUSIVE-OR GATE • Provides a HIGH output if one input or the other input is HIGH, but not both. • The Boolean equation for the Ex-OR function is written X=AB + AB and can be constructed using the combinational logic.
  • 22. SYMBOL AND TRUTH TABLE OF THE EXCLUSIVE-OR GATE Input Output A B EX – OR 0 0 0 0 1 1 1 0 1 1 1 0 • No of input 1 is even output 0 • No of input 1 is odd output 1
  • 23.
  • 24. 7486 Quad 2-input Exclusive-OR Gate
  • 25. THE EXCLUSIVE-NOR GATE • The Exclusive-NOR is the complement of the exclusive-OR. • The truth table for the Ex-NOR shows a HIGH output for both inputs LOW and both inputs HIGH. • The Ex-NOR is sometimes called the equality gate because both inputs must be equal to get a HIGH output.
  • 26. SYMBOL AND TRUTH TABLE OF THE EXCLUSIVE-NOR GATE
  • 28. EXERCISE • 1) Develop truth table for 3 input Exclusive-OR gate • 2) Develop truth table for 3 input Exclusive-NOR gate

Hinweis der Redaktion

  1. No of input 1 is even output 0 No of input 1 is odd  output 1
  2. No of input 1 is even output 1 No of input 1 is odd  output 0