SlideShare a Scribd company logo
1 of 27
Lesson 2
BASIC LOGIC GATES
Prepared by:
MARICRIST.EUBRA
Pre-ServiceTeacher
What is Logic Gates?
LOGIC
• Formal logic is a branch of mathematics that deals with true and
false values instead of numbers.
• In 1840’s George Boole developed many logic ideas.
• A logic gate performs a logical operation on one or more logic
inputs and produces a single logic output.
• Logic gates are an important concept if you are studying
electronics. These are important digital devices that are mainly
based on the Boolean function.
• Logic gates are used to carry out logical operations on single or
multiple or multiple binary inputs and give one binary output. In
simple terms , logic gates are the electronic circuits in an digital
system.
Types of Basic Logic Gates
There are several basic logic gates used in performing operations in
digital systems.The common ones are;
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
.
The Boolean expression of the OR gate is Y = A + B, read as Y
equals A ‘OR’ B.
The truth table of a two-input OR basic gate is given as;
A B Y
0 0 0
0 1 1
1 0 1
1 1 1
Digital logic OR Gate
Alarm circuit
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.
• An AND gate is an electrical circuit that combines two signals so
that the output is on if both signals are present.The output of the
AND gate is connected to a base driver which is coupled to the
bases of transistors, and alternately switches the transistors at
opposite corners of the inverter.
• Logic Symbol of AND Gate
The Boolean expression of AND gate is Y = A.B
The truth table of a two-input AND basic gate is given as;
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.
• Logic NOT gates provide the complement of their input signal
and are so called because when their input signal is “HIGH” their
output state will NOT be “HIGH”.
The Boolean expression is:
𝜸 = 𝑨
It is read asY equals NOT A.
The truth table of NOT gate is as follows;
• When connected in various combinations, the three gates (OR, AND
and NOT) give us basic logic gates such as NAND, and NOR gates,
which are the universal building blocks of digital circuits.
A Y
0 1
1 0
NAND Gate
This basic logic gate is the combination of AND and NOT gates.
NAND Gate
This basic logic gate is the combination of AND and NOT gates.
• The NAND gate or “NotAND” gate is the combination of two basic
logic gates, the AND gate and the NOT gate connected in series.
The NAND gate and NOR gate can be called the universal gates
since the combination of these gates can be used to accomplish any
of the basic operations.
The Boolean expression of the NAND gate is:
Y= 𝐴. 𝐵
The truth table of a NAND gate is given as;
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.
The Boolean expression of NOR gate is:
The truth table of a NOR gate is as follows;
A B Y
0 0 1
0 1 0
1 0 0
1 1 0
Exclusive-OR gate (XOR Gate)
In an XOR gate, the output of a two-input XOR gate attains state 1 if
one adds only input attains state 1.
The Boolean expression of the XOR gate is:
A+B=Y
The truth table of an XOR gate is;
A B Y
0 0 0
0 1 1
1 0 1
1 1 0
Exclusive-NOR Gate (XNOR Gate)
In the XNOR gate, the output is in state 1 when both inputs are
the same, that is, both 0 or both 1.
The Boolean expression of the XNOR gate.
The truth table of an XNOR gate is given below;
A B Y
0 0 1
0 1 0
1 0 0
1 1 1
Application Of Logic Gates
• Logic gates have a lot of applications, but they are mainly based
upon their mode of operations or their truth table. Basic logic
gates are often found in circuits such as safety thermostats,
push-button locks, automatic watering systems, light-activated
burglar alarms and many other electronic devices.
• One of the primary benefits is that basic logic gates can be used
in various combinations if the operations are advanced. Besides,
there is no limit to the number of gates that can be used in a
single device. However, it can be restricted due to the given
physical space in the device. In digital integrated circuits (ICs), we
will find an array of the logic gate area unit.
De Morgan’sTheorem
First theorem – It states that the NAND gate is equivalent to a
bubbled OR gate.
Second theorem – It states that the NOR gate is equivalent to a
bubbled AND gate.
Important Conversions
1) The ‘NAND’ gate: From ‘AND’ and ‘NOT’ gate.
Boolean expression and truth table :
A B Y′=A⋅B Y= A.B
0 0 0 1
0 1 1 0
1 0 1 0
1 1 1 0
(3)The ‘XOR’ gate: From ‘NOT’, ‘AND’ and ‘OR’ gate.
The logic gate, which gives a high output (i.e., 1) if either
input A or input B but not both are high (i.e. 1), is called the
exclusive OR gate or the XOR gate. It may be noted that if
both the inputs of the XOR gate are high, then the output is
low (i.e., 0).
Boolean expression and truth table:
A.B + A.B
Or
Y= A 𝐵
A B Y
0 0 0
0 1 1
1 0 1
1 1 0
(4)The Exclusive nor (XNOR) gate XOR + NOT
Boolean expression:
A B Output
0 0 1
0 1 0
1 0 0
1 1 1

More Related Content

What's hot

Microprocessor Lab Manual by Er. Swapnil V. Kaware
Microprocessor Lab Manual by Er. Swapnil V. KawareMicroprocessor Lab Manual by Er. Swapnil V. Kaware
Microprocessor Lab Manual by Er. Swapnil V. KawareProf. Swapnil V. Kaware
 
UNIT-IV .FINITE STATE MACHINES
UNIT-IV .FINITE STATE MACHINESUNIT-IV .FINITE STATE MACHINES
UNIT-IV .FINITE STATE MACHINESDr.YNM
 
basic logic gates
 basic logic gates basic logic gates
basic logic gatesvishal gupta
 
encoder and decoder in digital electronics
encoder and decoder in digital electronicsencoder and decoder in digital electronics
encoder and decoder in digital electronicsvikram rajpurohit
 
digital logic_families
digital logic_familiesdigital logic_families
digital logic_familiesPatel Jay
 
Logic gates and its realization
Logic gates and its realizationLogic gates and its realization
Logic gates and its realizationnganesh90
 
Magnitude comparator
Magnitude comparatorMagnitude comparator
Magnitude comparatorPreet_patel
 
Memories in digital electronics
Memories in digital electronicsMemories in digital electronics
Memories in digital electronicsSijuGeorge10
 
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
 
Digital Clock Using Logic Gates
Digital Clock Using Logic GatesDigital Clock Using Logic Gates
Digital Clock Using Logic GatesJalpaMaheshwari1
 
Data flow model -Lecture-4
Data flow model -Lecture-4Data flow model -Lecture-4
Data flow model -Lecture-4Dr.YNM
 
Fsm sequence detector
Fsm sequence detector Fsm sequence detector
Fsm sequence detector lpvasam
 
boolean algebra and logic simplification
boolean algebra and logic simplificationboolean algebra and logic simplification
boolean algebra and logic simplificationUnsa Shakir
 

What's hot (20)

Microprocessor Lab Manual by Er. Swapnil V. Kaware
Microprocessor Lab Manual by Er. Swapnil V. KawareMicroprocessor Lab Manual by Er. Swapnil V. Kaware
Microprocessor Lab Manual by Er. Swapnil V. Kaware
 
8 bit alu design
8 bit alu design8 bit alu design
8 bit alu design
 
UNIT-IV .FINITE STATE MACHINES
UNIT-IV .FINITE STATE MACHINESUNIT-IV .FINITE STATE MACHINES
UNIT-IV .FINITE STATE MACHINES
 
basic logic gates
 basic logic gates basic logic gates
basic logic gates
 
encoder and decoder in digital electronics
encoder and decoder in digital electronicsencoder and decoder in digital electronics
encoder and decoder in digital electronics
 
digital logic_families
digital logic_familiesdigital logic_families
digital logic_families
 
Digital electronics
Digital electronicsDigital electronics
Digital electronics
 
Logic gates and its realization
Logic gates and its realizationLogic gates and its realization
Logic gates and its realization
 
Magnitude comparator
Magnitude comparatorMagnitude comparator
Magnitude comparator
 
Memories in digital electronics
Memories in digital electronicsMemories in digital electronics
Memories in digital electronics
 
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
 
Synchronous Counter
Synchronous Counter Synchronous Counter
Synchronous Counter
 
Counters
CountersCounters
Counters
 
BOOLEAN ALGEBRA & LOGIC GATE
BOOLEAN ALGEBRA & LOGIC GATEBOOLEAN ALGEBRA & LOGIC GATE
BOOLEAN ALGEBRA & LOGIC GATE
 
Digital Clock Using Logic Gates
Digital Clock Using Logic GatesDigital Clock Using Logic Gates
Digital Clock Using Logic Gates
 
Data flow model -Lecture-4
Data flow model -Lecture-4Data flow model -Lecture-4
Data flow model -Lecture-4
 
Fsm sequence detector
Fsm sequence detector Fsm sequence detector
Fsm sequence detector
 
boolean algebra and logic simplification
boolean algebra and logic simplificationboolean algebra and logic simplification
boolean algebra and logic simplification
 
Basics of digital electronics
Basics of digital electronicsBasics of digital electronics
Basics of digital electronics
 
Multiplexers & Demultiplexers
Multiplexers & DemultiplexersMultiplexers & Demultiplexers
Multiplexers & Demultiplexers
 

Similar to ICT Basic Logic Gates Lessons.pptx

M. FLORENCE DAYANA/unit - II logic gates and circuits.pdf
M. FLORENCE DAYANA/unit - II logic gates and circuits.pdfM. FLORENCE DAYANA/unit - II logic gates and circuits.pdf
M. FLORENCE DAYANA/unit - II logic gates and circuits.pdfDr.Florence Dayana
 
Basic Logic Gates with Truth Tables.pdf
Basic Logic Gates with Truth Tables.pdfBasic Logic Gates with Truth Tables.pdf
Basic Logic Gates with Truth Tables.pdfKINGZzofYouTube
 
Lecture 04-Digital logic gates.pptx
Lecture 04-Digital logic gates.pptxLecture 04-Digital logic gates.pptx
Lecture 04-Digital logic gates.pptxWilliamJosephat1
 
Digital logic Gates of Computer Science
Digital logic Gates of Computer ScienceDigital logic Gates of Computer Science
Digital logic Gates of Computer ScienceAnil Kumar Prajapati
 
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
 
Computer circuit logic
Computer circuit logicComputer circuit logic
Computer circuit logicYoungik Song
 
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
 
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
 
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
 
6_2019_04_09!08_59_48_PM logic gate_.ppt
6_2019_04_09!08_59_48_PM logic gate_.ppt6_2019_04_09!08_59_48_PM logic gate_.ppt
6_2019_04_09!08_59_48_PM logic gate_.pptnaghamallella
 
basic logic gate presentation date23.ppt
basic logic gate presentation date23.pptbasic logic gate presentation date23.ppt
basic logic gate presentation date23.pptnaghamallella
 
Basic gates and functions
Basic gates and functionsBasic gates and functions
Basic gates and functionspong_sk1
 

Similar to ICT Basic Logic Gates Lessons.pptx (20)

M. FLORENCE DAYANA/unit - II logic gates and circuits.pdf
M. FLORENCE DAYANA/unit - II logic gates and circuits.pdfM. FLORENCE DAYANA/unit - II logic gates and circuits.pdf
M. FLORENCE DAYANA/unit - II logic gates and circuits.pdf
 
Basic Logic Gates with Truth Tables.pdf
Basic Logic Gates with Truth Tables.pdfBasic Logic Gates with Truth Tables.pdf
Basic Logic Gates with Truth Tables.pdf
 
Electronics: Logic Gates
Electronics: Logic GatesElectronics: Logic Gates
Electronics: Logic Gates
 
Lecture 04-Digital logic gates.pptx
Lecture 04-Digital logic gates.pptxLecture 04-Digital logic gates.pptx
Lecture 04-Digital logic gates.pptx
 
Digital logic Gates of Computer Science
Digital logic Gates of Computer ScienceDigital logic Gates of Computer Science
Digital logic Gates of Computer Science
 
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
 
Computer circuit logic
Computer circuit logicComputer circuit logic
Computer circuit logic
 
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
 
INTRODUCTION OF LOGIC GATES
INTRODUCTION OF LOGIC GATESINTRODUCTION OF LOGIC GATES
INTRODUCTION OF LOGIC GATES
 
Class 12th Logic Gates
Class 12th Logic GatesClass 12th Logic Gates
Class 12th Logic Gates
 
Logic gates
Logic gatesLogic gates
Logic gates
 
Basic Logic Gates
Basic Logic GatesBasic Logic Gates
Basic 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
 
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
 
Digital logic
Digital logicDigital logic
Digital logic
 
Logic gates
Logic gatesLogic gates
Logic gates
 
Logic gates 1
Logic gates 1Logic gates 1
Logic gates 1
 
6_2019_04_09!08_59_48_PM logic gate_.ppt
6_2019_04_09!08_59_48_PM logic gate_.ppt6_2019_04_09!08_59_48_PM logic gate_.ppt
6_2019_04_09!08_59_48_PM logic gate_.ppt
 
basic logic gate presentation date23.ppt
basic logic gate presentation date23.pptbasic logic gate presentation date23.ppt
basic logic gate presentation date23.ppt
 
Basic gates and functions
Basic gates and functionsBasic gates and functions
Basic gates and functions
 

More from ChristianVelchez2

THE-PURPOSES-AND-THE-APPROACHES-TO-COMMUNITY-ACTION.pptx
THE-PURPOSES-AND-THE-APPROACHES-TO-COMMUNITY-ACTION.pptxTHE-PURPOSES-AND-THE-APPROACHES-TO-COMMUNITY-ACTION.pptx
THE-PURPOSES-AND-THE-APPROACHES-TO-COMMUNITY-ACTION.pptxChristianVelchez2
 
THE PARTS OF THE MOTHERBOARD.pptx
THE PARTS OF THE MOTHERBOARD.pptxTHE PARTS OF THE MOTHERBOARD.pptx
THE PARTS OF THE MOTHERBOARD.pptxChristianVelchez2
 
Lesson 1 UNDERSTANDING MS WORD 2016.pptx
Lesson 1 UNDERSTANDING MS WORD 2016.pptxLesson 1 UNDERSTANDING MS WORD 2016.pptx
Lesson 1 UNDERSTANDING MS WORD 2016.pptxChristianVelchez2
 
DESKTOP PUBLISHING AND THE BASICS OF GRAPHICS DESIGN.pptx
DESKTOP PUBLISHING AND THE BASICS OF GRAPHICS DESIGN.pptxDESKTOP PUBLISHING AND THE BASICS OF GRAPHICS DESIGN.pptx
DESKTOP PUBLISHING AND THE BASICS OF GRAPHICS DESIGN.pptxChristianVelchez2
 
Images, Pictures, Photo, and Resolution - ICT 8.pptx
Images, Pictures, Photo, and Resolution - ICT 8.pptxImages, Pictures, Photo, and Resolution - ICT 8.pptx
Images, Pictures, Photo, and Resolution - ICT 8.pptxChristianVelchez2
 
Arts 9 Lesson 2 - Romantic Period.pptx
Arts 9 Lesson 2 - Romantic Period.pptxArts 9 Lesson 2 - Romantic Period.pptx
Arts 9 Lesson 2 - Romantic Period.pptxChristianVelchez2
 
ANG PANAHON NG PAGTUKLAS NG EUROPE SA ASIA.pptx
ANG PANAHON NG PAGTUKLAS NG EUROPE SA ASIA.pptxANG PANAHON NG PAGTUKLAS NG EUROPE SA ASIA.pptx
ANG PANAHON NG PAGTUKLAS NG EUROPE SA ASIA.pptxChristianVelchez2
 
Occupational Health & Safety Procedure.pptx
Occupational Health & Safety Procedure.pptxOccupational Health & Safety Procedure.pptx
Occupational Health & Safety Procedure.pptxChristianVelchez2
 
Western Plays and Operas.pptx
Western Plays and Operas.pptxWestern Plays and Operas.pptx
Western Plays and Operas.pptxChristianVelchez2
 
Personal Entrepreneurial Competencies grade 9.pptx
Personal Entrepreneurial Competencies grade 9.pptxPersonal Entrepreneurial Competencies grade 9.pptx
Personal Entrepreneurial Competencies grade 9.pptxChristianVelchez2
 

More from ChristianVelchez2 (11)

Personnel Relations.pptx
Personnel Relations.pptxPersonnel Relations.pptx
Personnel Relations.pptx
 
THE-PURPOSES-AND-THE-APPROACHES-TO-COMMUNITY-ACTION.pptx
THE-PURPOSES-AND-THE-APPROACHES-TO-COMMUNITY-ACTION.pptxTHE-PURPOSES-AND-THE-APPROACHES-TO-COMMUNITY-ACTION.pptx
THE-PURPOSES-AND-THE-APPROACHES-TO-COMMUNITY-ACTION.pptx
 
THE PARTS OF THE MOTHERBOARD.pptx
THE PARTS OF THE MOTHERBOARD.pptxTHE PARTS OF THE MOTHERBOARD.pptx
THE PARTS OF THE MOTHERBOARD.pptx
 
Lesson 1 UNDERSTANDING MS WORD 2016.pptx
Lesson 1 UNDERSTANDING MS WORD 2016.pptxLesson 1 UNDERSTANDING MS WORD 2016.pptx
Lesson 1 UNDERSTANDING MS WORD 2016.pptx
 
DESKTOP PUBLISHING AND THE BASICS OF GRAPHICS DESIGN.pptx
DESKTOP PUBLISHING AND THE BASICS OF GRAPHICS DESIGN.pptxDESKTOP PUBLISHING AND THE BASICS OF GRAPHICS DESIGN.pptx
DESKTOP PUBLISHING AND THE BASICS OF GRAPHICS DESIGN.pptx
 
Images, Pictures, Photo, and Resolution - ICT 8.pptx
Images, Pictures, Photo, and Resolution - ICT 8.pptxImages, Pictures, Photo, and Resolution - ICT 8.pptx
Images, Pictures, Photo, and Resolution - ICT 8.pptx
 
Arts 9 Lesson 2 - Romantic Period.pptx
Arts 9 Lesson 2 - Romantic Period.pptxArts 9 Lesson 2 - Romantic Period.pptx
Arts 9 Lesson 2 - Romantic Period.pptx
 
ANG PANAHON NG PAGTUKLAS NG EUROPE SA ASIA.pptx
ANG PANAHON NG PAGTUKLAS NG EUROPE SA ASIA.pptxANG PANAHON NG PAGTUKLAS NG EUROPE SA ASIA.pptx
ANG PANAHON NG PAGTUKLAS NG EUROPE SA ASIA.pptx
 
Occupational Health & Safety Procedure.pptx
Occupational Health & Safety Procedure.pptxOccupational Health & Safety Procedure.pptx
Occupational Health & Safety Procedure.pptx
 
Western Plays and Operas.pptx
Western Plays and Operas.pptxWestern Plays and Operas.pptx
Western Plays and Operas.pptx
 
Personal Entrepreneurial Competencies grade 9.pptx
Personal Entrepreneurial Competencies grade 9.pptxPersonal Entrepreneurial Competencies grade 9.pptx
Personal Entrepreneurial Competencies grade 9.pptx
 

Recently uploaded

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
 
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
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
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
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 

Recently uploaded (20)

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
 
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
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
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
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 

ICT Basic Logic Gates Lessons.pptx

  • 1. Lesson 2 BASIC LOGIC GATES Prepared by: MARICRIST.EUBRA Pre-ServiceTeacher
  • 2. What is Logic Gates? LOGIC • Formal logic is a branch of mathematics that deals with true and false values instead of numbers. • In 1840’s George Boole developed many logic ideas. • A logic gate performs a logical operation on one or more logic inputs and produces a single logic output. • Logic gates are an important concept if you are studying electronics. These are important digital devices that are mainly based on the Boolean function. • Logic gates are used to carry out logical operations on single or multiple or multiple binary inputs and give one binary output. In simple terms , logic gates are the electronic circuits in an digital system.
  • 3. Types of Basic Logic Gates There are several basic logic gates used in performing operations in digital systems.The common ones are; OR Gate AND Gate NOT Gate XOR Gate
  • 4. OR Gate In an OR gate, the output of an OR gate attains state 1 if one or more inputs attain state 1 .
  • 5. The Boolean expression of the OR gate is Y = A + B, read as Y equals A ‘OR’ B. The truth table of a two-input OR basic gate is given as; A B Y 0 0 0 0 1 1 1 0 1 1 1 1
  • 6. Digital logic OR Gate Alarm circuit
  • 7. 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. • An AND gate is an electrical circuit that combines two signals so that the output is on if both signals are present.The output of the AND gate is connected to a base driver which is coupled to the bases of transistors, and alternately switches the transistors at opposite corners of the inverter. • Logic Symbol of AND Gate
  • 8. The Boolean expression of AND gate is Y = A.B The truth table of a two-input AND basic gate is given as; A B Y 0 0 0 0 1 0 1 0 0 1 1 1
  • 9. 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. • Logic NOT gates provide the complement of their input signal and are so called because when their input signal is “HIGH” their output state will NOT be “HIGH”.
  • 10. The Boolean expression is: 𝜸 = 𝑨 It is read asY equals NOT A. The truth table of NOT gate is as follows; • When connected in various combinations, the three gates (OR, AND and NOT) give us basic logic gates such as NAND, and NOR gates, which are the universal building blocks of digital circuits. A Y 0 1 1 0
  • 11. NAND Gate This basic logic gate is the combination of AND and NOT gates.
  • 12. NAND Gate This basic logic gate is the combination of AND and NOT gates. • The NAND gate or “NotAND” gate is the combination of two basic logic gates, the AND gate and the NOT gate connected in series. The NAND gate and NOR gate can be called the universal gates since the combination of these gates can be used to accomplish any of the basic operations.
  • 13. The Boolean expression of the NAND gate is: Y= 𝐴. 𝐵 The truth table of a NAND gate is given as; A B Y 0 0 1 0 1 1 1 0 1 1 1 0
  • 14. NOR Gate This gate is the combination of OR and NOT gate.
  • 15. The Boolean expression of NOR gate is: The truth table of a NOR gate is as follows; A B Y 0 0 1 0 1 0 1 0 0 1 1 0
  • 16. Exclusive-OR gate (XOR Gate) In an XOR gate, the output of a two-input XOR gate attains state 1 if one adds only input attains state 1.
  • 17. The Boolean expression of the XOR gate is: A+B=Y The truth table of an XOR gate is; A B Y 0 0 0 0 1 1 1 0 1 1 1 0
  • 18. Exclusive-NOR Gate (XNOR Gate) In the XNOR gate, the output is in state 1 when both inputs are the same, that is, both 0 or both 1.
  • 19. The Boolean expression of the XNOR gate. The truth table of an XNOR gate is given below; A B Y 0 0 1 0 1 0 1 0 0 1 1 1
  • 20. Application Of Logic Gates • Logic gates have a lot of applications, but they are mainly based upon their mode of operations or their truth table. Basic logic gates are often found in circuits such as safety thermostats, push-button locks, automatic watering systems, light-activated burglar alarms and many other electronic devices. • One of the primary benefits is that basic logic gates can be used in various combinations if the operations are advanced. Besides, there is no limit to the number of gates that can be used in a single device. However, it can be restricted due to the given physical space in the device. In digital integrated circuits (ICs), we will find an array of the logic gate area unit.
  • 21. De Morgan’sTheorem First theorem – It states that the NAND gate is equivalent to a bubbled OR gate. Second theorem – It states that the NOR gate is equivalent to a bubbled AND gate. Important Conversions 1) The ‘NAND’ gate: From ‘AND’ and ‘NOT’ gate.
  • 22.
  • 23. Boolean expression and truth table : A B Y′=A⋅B Y= A.B 0 0 0 1 0 1 1 0 1 0 1 0 1 1 1 0
  • 24. (3)The ‘XOR’ gate: From ‘NOT’, ‘AND’ and ‘OR’ gate. The logic gate, which gives a high output (i.e., 1) if either input A or input B but not both are high (i.e. 1), is called the exclusive OR gate or the XOR gate. It may be noted that if both the inputs of the XOR gate are high, then the output is low (i.e., 0).
  • 25. Boolean expression and truth table: A.B + A.B Or Y= A 𝐵 A B Y 0 0 0 0 1 1 1 0 1 1 1 0
  • 26. (4)The Exclusive nor (XNOR) gate XOR + NOT
  • 27. Boolean expression: A B Output 0 0 1 0 1 0 1 0 0 1 1 1

Editor's Notes

  1. A truth table is a mathematical table used in logic—specifically in connection with Boolean algebra, boolean functions, and propositional calculus—which sets out the functional values of logical expressions on each of their functional arguments, that is, for each combination of values taken by their logical variables.