SlideShare ist ein Scribd-Unternehmen logo
1 von 11
INTRODUCTION
• Logic gates are the actual physical implementations of the
logical operators.
• These gates form the basic building blocks for all digital logic
circuits.
• Logic gates process signals which
represent true or false.
Logic States
True False
1 0
High Low
On Off
+Vs -0V
TRUTH TABLE
• A truth table is a means for describing how a logic
circuit's output depends on the logic levels present
at the circuit's inputs.
Input A
Output X
Input B
A B X
Low Low ?
Low High ?
High low ?
High High ?
LOGIC GATES
BASIC LOGIC
GATES
AND
OR
NOT
OTHER LOGIC
GATES
X-OR
X-NOR
UNIVERSAL LOGIC
GATES
NAND
NOR
5
v
The NOT gate is the first of the three fundamental logic
gates.
The NOT Gate (inverter):
Input A Output
X
A X
0 1
1 0
Truth Table: Is a chart that lists the input condition on the left
and the gate’s output response on the right. The table shows
that the NOT gate responds at the output with the inverse of
the signal applied to the input.
In order to see how it works, the gate has been connected to a
switch and LED. Continue to see the system in action…
Logic 1
OFF
Logic 0
ON
Logic 1
OFF
Logic 0
ON
Logic 1
OFF
Logic 0
ON
The OR Gate:
The OR gate is the second of three fundamental logic gates.
Truth Table: The table shows that the OR gate responds with
a high at the output if the signal applied to the input A or B
is high.
Input A
Output
XInput B
OR
5
v
5
v
5
v
In order to see how it works, the gate has been connected to 2
switches and LED. Continue to see the system in action…
Logic 0
Logic 0
Logic 0
Logic 0
Logic 1
Logic 1
Logic 1
Logic 1
Logic 0
Logic 1
Logic 1
Logic 1
A B X
0 0 0
0 1 1
1 0 1
1 1 1
The AND Gate:
The AND is the last of the remaining fundamental logic gates.
Truth Table: The table shows that the AND gate responds with a high at
the output if the signal applied to the input A and B are both high.
5
v
5
v
5
v
Input A
Output
X
Input B
AND
In order to see how it works, the gate has been connected to 2
switches and LED. Continue to see the system in action…
Logic 0
Logic 0
Logic 0
Logic 0
Logic 0
Logic 1
Logic 1
Logic 0
Logic 0
Logic 1
Logic 1
Logic 1
A B X
0 0 0
0 1 0
1 0 0
1 1 1
Logic 1
Logic 0
Logic 0
Logic 0
Logic 0
Logic 1
Logic 1
Logic 0
Logic 1
NOR Gate:
The NOR gate is equivalent to an OR gate with a NOT gate connected to
its output. NOR comes from the words Not OR. Continue to see the
standard symbol for NOR.
Input A
Output
XInput B
NOR
5
v
5
v
5
v
Logic 0
Logic 1
Logic 0
In order to see how it works, the gate has been connected to 2 switches and
LED. Continue to see the system in action…
BAX Boolean Equation: here is the equation for the
NOR gate.
A B X
0 0 1
0 1 0
1 0 0
1 1 0
NOR Symbol
Truth Table: The table shows that the NOR gate responds with a low at
the output if the signal applied to the input A or B is high.
5
v
5
v
5
v
Logic 1
Logic 1
Logic 0
Logic 0
Logic 1
Logic 1
Logic 1
Logic 0
Logic 1
NAND Gate:
The NAND gate is equivalent to an AND gate with a NOT gate connected to its
output. NAND comes from the words Not AND. Continue to see the standard
symbol for NAND.
Input A
Output
XInput B
NAND
Logic 0
Logic 1
Logic 0
In order to see how it works, the gate has been connected to 2
switches and LED. Continue to see the system in action…
BAX Boolean Equation: here is the equation for the
NAND gate.
A B X
0 0 1
0 1 1
1 0 1
1 1 0
NAND Symbol
Truth Table: The table shows that the NAND gate responds with a low
at the output if the signal applied to the input A and B is high.
X-OR Gate
The X-OR gate is an exclusive OR gate. It will output a logic 1 if there is an
exclusive logic 1 at input A or B. Exclusive means: Only one input can be high at
one time.
Input A
Output
XInput B
X-OR
BAX 
X-OR Boolean Equation:
A B X
0 0 0
0 1 1
1 0 1
1 1 0
The X-NOR gate is an exclusive OR gate with an NOT gate at the output. It will
output a logic 0 if there is an exclusive logic 1 at input A or B.
A B X
0 0 1
0 1 0
1 0 0
1 1 1
Input A
Output
XInput B
X-
NOR
X-OR Boolean Equation:
BAX 
X-NOR Gate
Logic gates 07 11-2014

Weitere ähnliche Inhalte

Was ist angesagt?

Lecture5 Chapter2- Positive and Negative Logic.pdf
Lecture5 Chapter2- Positive and Negative Logic.pdfLecture5 Chapter2- Positive and Negative Logic.pdf
Lecture5 Chapter2- Positive and Negative Logic.pdf
UmerKhan147799
 

Was ist angesagt? (20)

Encoder decoder
Encoder decoderEncoder decoder
Encoder decoder
 
Digital Logic Circuits
Digital Logic CircuitsDigital Logic Circuits
Digital Logic Circuits
 
Logic gate
Logic gateLogic gate
Logic gate
 
Encoders and decoders
Encoders and decodersEncoders and decoders
Encoders and decoders
 
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
 
DIGITAL ELECTRONICS- Logic Gates
DIGITAL ELECTRONICS- Logic GatesDIGITAL ELECTRONICS- Logic Gates
DIGITAL ELECTRONICS- Logic Gates
 
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
 
Logic gates
Logic gatesLogic gates
Logic gates
 
Universal logic gate
Universal logic gateUniversal logic gate
Universal logic gate
 
Dlc{binary to gray code conversion} ppt
Dlc{binary to gray code conversion} pptDlc{binary to gray code conversion} ppt
Dlc{binary to gray code conversion} ppt
 
24.logic gates
24.logic gates 24.logic gates
24.logic gates
 
Race around and master slave flip flop
Race around and master slave flip flopRace around and master slave flip flop
Race around and master slave flip flop
 
Decimal adder
Decimal adderDecimal adder
Decimal adder
 
Encoders and decoders
Encoders and decodersEncoders and decoders
Encoders and decoders
 
logic gates
logic gateslogic gates
logic gates
 
BOOLEAN ALGEBRA & LOGIC GATE
BOOLEAN ALGEBRA & LOGIC GATEBOOLEAN ALGEBRA & LOGIC GATE
BOOLEAN ALGEBRA & LOGIC GATE
 
Logic gates
Logic gatesLogic gates
Logic gates
 
Logic gate class 12
Logic gate class 12Logic gate class 12
Logic gate class 12
 
Presentation on bcd adder
Presentation on bcd adderPresentation on bcd adder
Presentation on bcd adder
 
Lecture5 Chapter2- Positive and Negative Logic.pdf
Lecture5 Chapter2- Positive and Negative Logic.pdfLecture5 Chapter2- Positive and Negative Logic.pdf
Lecture5 Chapter2- Positive and Negative Logic.pdf
 

Ähnlich wie Logic gates 07 11-2014

Ähnlich wie Logic gates 07 11-2014 (20)

Lecture 04-Digital logic gates.pptx
Lecture 04-Digital logic gates.pptxLecture 04-Digital logic gates.pptx
Lecture 04-Digital logic gates.pptx
 
Logic gates i & ii
Logic gates i & iiLogic gates i & ii
Logic gates i & ii
 
Digital logic
Digital logicDigital logic
Digital logic
 
Digital logic Gates of Computer Science
Digital logic Gates of Computer ScienceDigital logic Gates of Computer Science
Digital logic Gates of Computer Science
 
Logic Gates.pptx
Logic Gates.pptxLogic Gates.pptx
Logic Gates.pptx
 
ICT Basic Logic Gates Lessons.pptx
ICT Basic Logic Gates Lessons.pptxICT Basic Logic Gates Lessons.pptx
ICT Basic Logic Gates Lessons.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.
 
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
 
Basic Logic gates
Basic Logic gatesBasic Logic gates
Basic Logic gates
 
Logic gates
Logic gatesLogic gates
Logic gates
 
assignment_mathematics.pptx
assignment_mathematics.pptxassignment_mathematics.pptx
assignment_mathematics.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.pdf
 
Cit 1101 lec 03
Cit 1101 lec 03Cit 1101 lec 03
Cit 1101 lec 03
 
Logic gates ,flip flop ,registers and
Logic gates ,flip flop ,registers andLogic gates ,flip flop ,registers and
Logic gates ,flip flop ,registers and
 
DCF- Logic gates and circuit
DCF- Logic gates and circuitDCF- Logic gates and circuit
DCF- Logic gates and circuit
 
Logic Gate.pptx
Logic Gate.pptxLogic Gate.pptx
Logic Gate.pptx
 
combinational _logic_circuit_digital.pptx
combinational _logic_circuit_digital.pptxcombinational _logic_circuit_digital.pptx
combinational _logic_circuit_digital.pptx
 
DOC-20240203-WA0000.pptx
DOC-20240203-WA0000.pptxDOC-20240203-WA0000.pptx
DOC-20240203-WA0000.pptx
 
Class 12th Logic Gates
Class 12th Logic GatesClass 12th Logic Gates
Class 12th Logic Gates
 

Kürzlich hochgeladen

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Kürzlich hochgeladen (20)

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 

Logic gates 07 11-2014

  • 1.
  • 2. INTRODUCTION • Logic gates are the actual physical implementations of the logical operators. • These gates form the basic building blocks for all digital logic circuits. • Logic gates process signals which represent true or false. Logic States True False 1 0 High Low On Off +Vs -0V
  • 3. TRUTH TABLE • A truth table is a means for describing how a logic circuit's output depends on the logic levels present at the circuit's inputs. Input A Output X Input B A B X Low Low ? Low High ? High low ? High High ?
  • 4. LOGIC GATES BASIC LOGIC GATES AND OR NOT OTHER LOGIC GATES X-OR X-NOR UNIVERSAL LOGIC GATES NAND NOR
  • 5. 5 v The NOT gate is the first of the three fundamental logic gates. The NOT Gate (inverter): Input A Output X A X 0 1 1 0 Truth Table: Is a chart that lists the input condition on the left and the gate’s output response on the right. The table shows that the NOT gate responds at the output with the inverse of the signal applied to the input. In order to see how it works, the gate has been connected to a switch and LED. Continue to see the system in action… Logic 1 OFF Logic 0 ON Logic 1 OFF Logic 0 ON Logic 1 OFF Logic 0 ON
  • 6. The OR Gate: The OR gate is the second of three fundamental logic gates. Truth Table: The table shows that the OR gate responds with a high at the output if the signal applied to the input A or B is high. Input A Output XInput B OR 5 v 5 v 5 v In order to see how it works, the gate has been connected to 2 switches and LED. Continue to see the system in action… Logic 0 Logic 0 Logic 0 Logic 0 Logic 1 Logic 1 Logic 1 Logic 1 Logic 0 Logic 1 Logic 1 Logic 1 A B X 0 0 0 0 1 1 1 0 1 1 1 1
  • 7. The AND Gate: The AND is the last of the remaining fundamental logic gates. Truth Table: The table shows that the AND gate responds with a high at the output if the signal applied to the input A and B are both high. 5 v 5 v 5 v Input A Output X Input B AND In order to see how it works, the gate has been connected to 2 switches and LED. Continue to see the system in action… Logic 0 Logic 0 Logic 0 Logic 0 Logic 0 Logic 1 Logic 1 Logic 0 Logic 0 Logic 1 Logic 1 Logic 1 A B X 0 0 0 0 1 0 1 0 0 1 1 1
  • 8. Logic 1 Logic 0 Logic 0 Logic 0 Logic 0 Logic 1 Logic 1 Logic 0 Logic 1 NOR Gate: The NOR gate is equivalent to an OR gate with a NOT gate connected to its output. NOR comes from the words Not OR. Continue to see the standard symbol for NOR. Input A Output XInput B NOR 5 v 5 v 5 v Logic 0 Logic 1 Logic 0 In order to see how it works, the gate has been connected to 2 switches and LED. Continue to see the system in action… BAX Boolean Equation: here is the equation for the NOR gate. A B X 0 0 1 0 1 0 1 0 0 1 1 0 NOR Symbol Truth Table: The table shows that the NOR gate responds with a low at the output if the signal applied to the input A or B is high.
  • 9. 5 v 5 v 5 v Logic 1 Logic 1 Logic 0 Logic 0 Logic 1 Logic 1 Logic 1 Logic 0 Logic 1 NAND Gate: The NAND gate is equivalent to an AND gate with a NOT gate connected to its output. NAND comes from the words Not AND. Continue to see the standard symbol for NAND. Input A Output XInput B NAND Logic 0 Logic 1 Logic 0 In order to see how it works, the gate has been connected to 2 switches and LED. Continue to see the system in action… BAX Boolean Equation: here is the equation for the NAND gate. A B X 0 0 1 0 1 1 1 0 1 1 1 0 NAND Symbol Truth Table: The table shows that the NAND gate responds with a low at the output if the signal applied to the input A and B is high.
  • 10. X-OR Gate The X-OR gate is an exclusive OR gate. It will output a logic 1 if there is an exclusive logic 1 at input A or B. Exclusive means: Only one input can be high at one time. Input A Output XInput B X-OR BAX  X-OR Boolean Equation: A B X 0 0 0 0 1 1 1 0 1 1 1 0 The X-NOR gate is an exclusive OR gate with an NOT gate at the output. It will output a logic 0 if there is an exclusive logic 1 at input A or B. A B X 0 0 1 0 1 0 1 0 0 1 1 1 Input A Output XInput B X- NOR X-OR Boolean Equation: BAX  X-NOR Gate