SlideShare a Scribd company logo
LOGIC GATES
Presented By,
Satya Prakash Joshi.
LOGIC GATE
• Actually the term logic is applied to digital circuits used to implement logic
functions. Several kinds of digital logic circuits are the basic elements that
form the building blocks for such complex digital system as the computer.
• The lines connected to each symbols are the inputs and outputs.
• The inputs are on the left of each symbol and the output is on the right.
• A circuit that performs a specific logic operation (AND, OR) is called a logic
gate.
THE INVERTER
• The inverter (NOT circuit) performs the operation called inversion or
complementation.
• The NOT operation changes one logic level to the opposite logical level.
When the input is Low, the output is high. When the input is high, the output is
low.
• The inverter changes one logic level to the opposite level. In terms of bits, it
changes a 1 to a 0 and 0 to 1.
TRUTH TABLE OF INVERTER
Input Output
0 1
1 0
When a High level is applied to an inverter input, a Low level will appear on its output.
When a Low level is applied to its input, a High will appear on its output.
LOGICAL EXPRESSION OF INVERTER
X = A’
Logical Symbol.
THE AND GATE
• An AND gate can have two or more inputs and performs what is know as
multiplication.
• The output of AND gate is high when all inputs are high otherwise all outputs
are low.
OPERATION OF AND GATE
• An AND gate produces a HIGH output only when all of the inputs are HIGH.
When any of the inputs is LOW, the output is LOW. Therefore, the basic
purpose of AND gate is to determine when certain conditions are
simultaneously true, as indicated by High levels on all of its inputs, and
produces a High on its output.
Inputs Output
A B X
0 0 0
0 1 0
1 0 0
1 1 1
Logical Symbol Truth Table
Logic gates - AND, OR, NOT, NOR, NAND, XOR, XNOR Gates.
LOGICAL EXPRESSION
• It’s logical expression is, X=A.B
X=ABC
A
B
X=AB
FOR THREE INPUT AND GATE
INPUT OUTPUT
X Y Z O=X.Y.Z
0 0 0 0
0 0 1 0
0 1 0 0
0 1 1 0
1 0 0 0
1 0 1 0
1 1 0 0
1 1 1 1
THREE INPUT AND GATE USING (2/1 AND
GATES)
• To determine the total number of possible combination of binary inputs to a
gate is determined by the following formula.
N=2n
Where N is the number of possible input combinations and n is the number of input
variables.
Example,
Two inputs variables; N=22 = 4 Combinations.
Three inputs variables; N=23 = 8 Combinations.
Four inputs variables; N=24 = 16 Combinations.
THE OR GATE
• OR gate can have two or more inputs and performs what is known as logical
addition.
• The output of OR gate is Low when all inputs are low, otherwise all outputs
are high
OPERATION OF AN OR GATE
• An OR gate produces a High on the output when any of the inputs is High.
The output is Low only when all of the inputs are Low. Therefore, an OR gate
determines when one or more of its inputs are High and produces a High on
its output.
Logical Symbol
Inputs Output
A B X
0 0 0
0 1 1
1 0 1
1 1 1
Truth Table
Logic gates - AND, OR, NOT, NOR, NAND, XOR, XNOR Gates.
LOGICAL EXPRESSION
• It’s logical expression is, X=A+B
A
B
X=A+B
A
B
C
X=A+B+C
FOR THREE INPUT OR GATE
INPUT OUTPUT
X Y Z O=X+Y+Z
0 0 0 0
0 0 1 1
0 1 0 1
0 1 1 1
1 0 0 1
1 0 1 1
1 1 0 1
1 1 1 1
THREE INPUT OR GATE USING 2/1
OR GATE
THE NAND GATE
• The NAND gate is the one of the popular logic element because it can be
used as a universal gate; that is NAND gate can be used in combination to
perform the AND, OR, and inverter operations.
• NAND Gate is constructed by attaching NOT Gate at the output of AND
Gate, hence NAND Gate is called NOT- AND Gate.
• NAND Gate has two or more input and only one output.
• The output of NAND gate is low when all inputs are high, otherwise all outputs
are high.
OPERATION OF A NAND GATE
• A NAND gate produces a Low output only when all the inputs are High.
When any of the inputs is Low, the output will be High.
Logical Symbol
Inputs Output
A B X
0 0 1
0 1 1
1 0 1
1 1 0
Truth Table
Logic gates - AND, OR, NOT, NOR, NAND, XOR, XNOR Gates.
LOGICAL EXPRESSION OF NAND
• It’s logical expression is, X= (AB)’
Inputs
A B
0 0 (0.0)’= 0’=1
0 1 (0.1)’= 0’=1
1 0 (1.0)’= 0’=1
1 1 (1.1)’= 1’=0
FOR THREE INPUT NAND GATE
INPUT OUTPUT
X Y Z O=(X.Y.Z)’
0 0 0 1
0 0 1 1
0 1 0 1
0 1 1 1
1 0 0 1
1 0 1 1
1 1 0 1
1 1 1 0
THREE INPUT NAND GATE USING
2/1 NAND GATE
THE NOR GATE
• The NOR gate, like the NAND gate, NOR gate is also useful logical element
because it can also be used as a universal gate.
• NOR gate can be used in combination to perform the AND, OR and Inverter
operations.
• NOR Gate is the combination of NOT gate at the output of OR gate, hence
NOR gate is type of NOT-OR gate.
• NOR gate has two or more input and only one output.
• The Output of NOR gate is high when all inputs are low otherwise the output
is low.
OPERATION OF NOR GATE
• A NOR gate produces a Low output when any of its inputs is high. Only when
all of it’s inputs are low is the output high.
Logical Symbol
Inputs Output
A B X
0 0 1
0 1 0
1 0 0
1 1 0
Truth Table
Logic gates - AND, OR, NOT, NOR, NAND, XOR, XNOR Gates.
EXPRESSION OF NOR GATE
• It’s expression is, X=(A+B)’
Inputs
A B
0 0 (0+0)’= 0’=1
0 1 (0+1)’= 0’=0
1 0 (1+0)’= 0’=0
1 1 (1+1)’= 1’=0
FOR THREE INPUT NOR GATE
INPUT OUTPUT
X Y Z O=(X+Y+Z)’
0 0 0 1
0 0 1 0
0 1 0 0
0 1 1 0
1 0 0 0
1 0 1 0
1 1 0 0
1 1 1 0
THREE INPUT NOR GATE USING 2/1
NOR GATE
THE EXCLUSIVE- OR GATE
• The exclusive-OR gate has a graphical symbol similar to that of the OR gate,
except for the additional curved line on the input side.
• It can take only 2 inputs.
• We can’t construct Ex-OR Gate using three input Ex-OR gate.
• If both inputs are Low or both are High then it produces the output Low or 0.
otherwise it produce the High.
TRUTH TABLE
• Logical Symbol
Inputs Output
A B AB’+A’B=X
0 0 0.0’+0’.0 =0+0=0
0 1 0.1’+0’+1=0+1=1
1 0 1.0’+1’.0=1+0=1
1 1 1.1’+1’.1=0+0=0
LOGICAL EXPRESSION
• It’s logical expression is X=AB’+A’B
• 𝑋 = 𝐴 ⊕ 𝐵
EXCLUSIVE-NOR GATE
• The exclusive-NOR gate is the complement of the exclusive-OR gate, as
indicated by small circle on the output side of the graphic symbol.
• It can take only 2 inputs.
• We can’t construct Ex-NOR Gate using three input Ex-OR gate.
• If both inputs are Low or both are High then it produces the output High or 1.
otherwise it produce the Low output.
TRUTH TABLE
• Logical symbol
Inputs Output
A B AB’+A’B=X
0 0 0.0+0’.0’=0+1=0
0 1 0.1+0’+1’=0+0=0
1 0 1.0+1’.0’=0+0=0
1 1 1.1+1’.1’=1+0=1
LOGICAL EXPRESSION
• It’s logical expression is 𝑋 = 𝐴𝐵 + 𝐴′
𝐵′
• 𝑋 = 𝐴 ⊙ 𝐵

More Related Content

PPT
basic logic gates
PPTX
Logic gates ppt
PPT
Logic gates presentation
PPTX
Logic Gates
PPTX
PPTX
DIGITAL ELECTRONICS- Logic Gates
PPTX
BOOLEAN ALGEBRA AND LOGIC GATE
PPTX
Logic gates
basic logic gates
Logic gates ppt
Logic gates presentation
Logic Gates
DIGITAL ELECTRONICS- Logic Gates
BOOLEAN ALGEBRA AND LOGIC GATE
Logic gates

What's hot (20)

PPT
Logic gates
PPTX
Number system in Digital Electronics
PPTX
Parity Generator and Parity Checker
PPTX
K - Map
PPTX
Presentation On Logic Gate
PPTX
Combinational circuits
PPTX
Logic gates and NAND and NOR univarsal gates
PPT
Half adder & full adder
PPTX
Combinational circuit
PPTX
latches
PPTX
Nand and nor as a universal gates
PPTX
Latches and flip flop
PPTX
Logic gates
PDF
Binary codes
PPT
PDF
Programmable Logic Array(PLA) & Programmable Array Logic(PAL)
PDF
Decoders
PDF
Encoder & Decoder
PDF
Binary multipliers
PDF
Signed Binary Numbers
Logic gates
Number system in Digital Electronics
Parity Generator and Parity Checker
K - Map
Presentation On Logic Gate
Combinational circuits
Logic gates and NAND and NOR univarsal gates
Half adder & full adder
Combinational circuit
latches
Nand and nor as a universal gates
Latches and flip flop
Logic gates
Binary codes
Programmable Logic Array(PLA) & Programmable Array Logic(PAL)
Decoders
Encoder & Decoder
Binary multipliers
Signed Binary Numbers
Ad

Viewers also liked (7)

PPTX
Logic Gates Presentation
DOCX
Logic gate class 12
DOCX
Physics logic gates1
DOCX
logic gates using IC cbse class 12
PDF
Ebola virus disease [ bio project ]
DOCX
physics investigatory project class 12 on logic gates ,boolean algebra
Logic Gates Presentation
Logic gate class 12
Physics logic gates1
logic gates using IC cbse class 12
Ebola virus disease [ bio project ]
physics investigatory project class 12 on logic gates ,boolean algebra
Ad

Similar to Logic gates - AND, OR, NOT, NOR, NAND, XOR, XNOR Gates. (20)

PPTX
Logic gates
PPTX
investagatory PHYSICS-LOGIC GATES
PDF
Logic gates
PDF
Logic Gates.pdf A short evaluation and description of logic gates
PPTX
digital electronics .pptx
PPTX
EEE-4822_8th_8A_PRESENTATION fILE 8TH.pptx
PPTX
Digital Electronics-Review of Logic Gates.pptx
PPTX
DOC-20240203-WA0000.pptx
PDF
M. FLORENCE DAYANA/unit - II logic gates and circuits.pdf
PPT
Logic gates
PDF
Chapter 3_Logic Gates (EEEg4302).pdf
PDF
BASIC LOGIC GATES.pdf
PPTX
Computer System Architecture lecture 12 GLAU
PPTX
Basic Gates in Digital Logic
PPTX
logic gates.pptx
DOCX
combinational-circuit____gates_456788 (2).docx
PDF
Logic gates and Boolean.pdf
PPTX
ICT Basic Logic Gates Lessons.pptx
PPTX
perform operation with boolean algebra
PPTX
067 [BEEE].pptx
Logic gates
investagatory PHYSICS-LOGIC GATES
Logic gates
Logic Gates.pdf A short evaluation and description of logic gates
digital electronics .pptx
EEE-4822_8th_8A_PRESENTATION fILE 8TH.pptx
Digital Electronics-Review of Logic Gates.pptx
DOC-20240203-WA0000.pptx
M. FLORENCE DAYANA/unit - II logic gates and circuits.pdf
Logic gates
Chapter 3_Logic Gates (EEEg4302).pdf
BASIC LOGIC GATES.pdf
Computer System Architecture lecture 12 GLAU
Basic Gates in Digital Logic
logic gates.pptx
combinational-circuit____gates_456788 (2).docx
Logic gates and Boolean.pdf
ICT Basic Logic Gates Lessons.pptx
perform operation with boolean algebra
067 [BEEE].pptx

More from Satya P. Joshi (20)

PPTX
Intergroup Conflict Management.pptx
PPTX
Training methods in human resource managment
PPTX
Selection tests in human resource management
PPTX
Interview and it’s types - human resource managmenet
PPTX
Motivation, achievement theory, goal setting theory
PPTX
Characteristics, objectives & challenges of human resource manager
PPTX
Human Resource Planning
PPTX
Nested queries in database
PPTX
Technology and work design in Organizational Relation
PPTX
Techniques of achieving google quality of service
PPTX
Overview of digital communication in HSN and Multimedia
PPTX
Introduction to human resource management
PPTX
Security and control in Management Information System
PPTX
Designing the supply chain network
PPTX
Introduction to Organizational Behavior and Organizational Relation
PPTX
Selection tests and Reliability and Validity in HRM
PPTX
Analog and digital signal system : digital logic
PPTX
Transmission media on Client server and high speed network
PPTX
Remote procedure call on client server computing
PPTX
Physical and logical topologies in computer network and client server
Intergroup Conflict Management.pptx
Training methods in human resource managment
Selection tests in human resource management
Interview and it’s types - human resource managmenet
Motivation, achievement theory, goal setting theory
Characteristics, objectives & challenges of human resource manager
Human Resource Planning
Nested queries in database
Technology and work design in Organizational Relation
Techniques of achieving google quality of service
Overview of digital communication in HSN and Multimedia
Introduction to human resource management
Security and control in Management Information System
Designing the supply chain network
Introduction to Organizational Behavior and Organizational Relation
Selection tests and Reliability and Validity in HRM
Analog and digital signal system : digital logic
Transmission media on Client server and high speed network
Remote procedure call on client server computing
Physical and logical topologies in computer network and client server

Recently uploaded (20)

PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
cuic standard and advanced reporting.pdf
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PPTX
Cloud computing and distributed systems.
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
PDF
Electronic commerce courselecture one. Pdf
PPT
Teaching material agriculture food technology
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
KodekX | Application Modernization Development
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
NewMind AI Weekly Chronicles - August'25 Week I
CIFDAQ's Market Insight: SEC Turns Pro Crypto
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
cuic standard and advanced reporting.pdf
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Cloud computing and distributed systems.
20250228 LYD VKU AI Blended-Learning.pptx
Diabetes mellitus diagnosis method based random forest with bat algorithm
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
“AI and Expert System Decision Support & Business Intelligence Systems”
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Mobile App Security Testing_ A Comprehensive Guide.pdf
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
Electronic commerce courselecture one. Pdf
Teaching material agriculture food technology
Per capita expenditure prediction using model stacking based on satellite ima...
KodekX | Application Modernization Development
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
NewMind AI Weekly Chronicles - August'25 Week I

Logic gates - AND, OR, NOT, NOR, NAND, XOR, XNOR Gates.

  • 2. LOGIC GATE • Actually the term logic is applied to digital circuits used to implement logic functions. Several kinds of digital logic circuits are the basic elements that form the building blocks for such complex digital system as the computer. • The lines connected to each symbols are the inputs and outputs. • The inputs are on the left of each symbol and the output is on the right. • A circuit that performs a specific logic operation (AND, OR) is called a logic gate.
  • 3. THE INVERTER • The inverter (NOT circuit) performs the operation called inversion or complementation. • The NOT operation changes one logic level to the opposite logical level. When the input is Low, the output is high. When the input is high, the output is low. • The inverter changes one logic level to the opposite level. In terms of bits, it changes a 1 to a 0 and 0 to 1.
  • 4. TRUTH TABLE OF INVERTER Input Output 0 1 1 0 When a High level is applied to an inverter input, a Low level will appear on its output. When a Low level is applied to its input, a High will appear on its output. LOGICAL EXPRESSION OF INVERTER X = A’
  • 6. THE AND GATE • An AND gate can have two or more inputs and performs what is know as multiplication. • The output of AND gate is high when all inputs are high otherwise all outputs are low.
  • 7. OPERATION OF AND GATE • An AND gate produces a HIGH output only when all of the inputs are HIGH. When any of the inputs is LOW, the output is LOW. Therefore, the basic purpose of AND gate is to determine when certain conditions are simultaneously true, as indicated by High levels on all of its inputs, and produces a High on its output. Inputs Output A B X 0 0 0 0 1 0 1 0 0 1 1 1 Logical Symbol Truth Table
  • 9. LOGICAL EXPRESSION • It’s logical expression is, X=A.B X=ABC A B X=AB
  • 10. FOR THREE INPUT AND GATE INPUT OUTPUT X Y Z O=X.Y.Z 0 0 0 0 0 0 1 0 0 1 0 0 0 1 1 0 1 0 0 0 1 0 1 0 1 1 0 0 1 1 1 1
  • 11. THREE INPUT AND GATE USING (2/1 AND GATES)
  • 12. • To determine the total number of possible combination of binary inputs to a gate is determined by the following formula. N=2n Where N is the number of possible input combinations and n is the number of input variables. Example, Two inputs variables; N=22 = 4 Combinations. Three inputs variables; N=23 = 8 Combinations. Four inputs variables; N=24 = 16 Combinations.
  • 13. THE OR GATE • OR gate can have two or more inputs and performs what is known as logical addition. • The output of OR gate is Low when all inputs are low, otherwise all outputs are high
  • 14. OPERATION OF AN OR GATE • An OR gate produces a High on the output when any of the inputs is High. The output is Low only when all of the inputs are Low. Therefore, an OR gate determines when one or more of its inputs are High and produces a High on its output. Logical Symbol Inputs Output A B X 0 0 0 0 1 1 1 0 1 1 1 1 Truth Table
  • 16. LOGICAL EXPRESSION • It’s logical expression is, X=A+B A B X=A+B A B C X=A+B+C
  • 17. FOR THREE INPUT OR GATE INPUT OUTPUT X Y Z O=X+Y+Z 0 0 0 0 0 0 1 1 0 1 0 1 0 1 1 1 1 0 0 1 1 0 1 1 1 1 0 1 1 1 1 1
  • 18. THREE INPUT OR GATE USING 2/1 OR GATE
  • 19. THE NAND GATE • The NAND gate is the one of the popular logic element because it can be used as a universal gate; that is NAND gate can be used in combination to perform the AND, OR, and inverter operations. • NAND Gate is constructed by attaching NOT Gate at the output of AND Gate, hence NAND Gate is called NOT- AND Gate. • NAND Gate has two or more input and only one output. • The output of NAND gate is low when all inputs are high, otherwise all outputs are high.
  • 20. OPERATION OF A NAND GATE • A NAND gate produces a Low output only when all the inputs are High. When any of the inputs is Low, the output will be High. Logical Symbol Inputs Output A B X 0 0 1 0 1 1 1 0 1 1 1 0 Truth Table
  • 22. LOGICAL EXPRESSION OF NAND • It’s logical expression is, X= (AB)’ Inputs A B 0 0 (0.0)’= 0’=1 0 1 (0.1)’= 0’=1 1 0 (1.0)’= 0’=1 1 1 (1.1)’= 1’=0
  • 23. FOR THREE INPUT NAND GATE INPUT OUTPUT X Y Z O=(X.Y.Z)’ 0 0 0 1 0 0 1 1 0 1 0 1 0 1 1 1 1 0 0 1 1 0 1 1 1 1 0 1 1 1 1 0
  • 24. THREE INPUT NAND GATE USING 2/1 NAND GATE
  • 25. THE NOR GATE • The NOR gate, like the NAND gate, NOR gate is also useful logical element because it can also be used as a universal gate. • NOR gate can be used in combination to perform the AND, OR and Inverter operations. • NOR Gate is the combination of NOT gate at the output of OR gate, hence NOR gate is type of NOT-OR gate. • NOR gate has two or more input and only one output. • The Output of NOR gate is high when all inputs are low otherwise the output is low.
  • 26. OPERATION OF NOR GATE • A NOR gate produces a Low output when any of its inputs is high. Only when all of it’s inputs are low is the output high. Logical Symbol Inputs Output A B X 0 0 1 0 1 0 1 0 0 1 1 0 Truth Table
  • 28. EXPRESSION OF NOR GATE • It’s expression is, X=(A+B)’ Inputs A B 0 0 (0+0)’= 0’=1 0 1 (0+1)’= 0’=0 1 0 (1+0)’= 0’=0 1 1 (1+1)’= 1’=0
  • 29. FOR THREE INPUT NOR GATE INPUT OUTPUT X Y Z O=(X+Y+Z)’ 0 0 0 1 0 0 1 0 0 1 0 0 0 1 1 0 1 0 0 0 1 0 1 0 1 1 0 0 1 1 1 0
  • 30. THREE INPUT NOR GATE USING 2/1 NOR GATE
  • 31. THE EXCLUSIVE- OR GATE • The exclusive-OR gate has a graphical symbol similar to that of the OR gate, except for the additional curved line on the input side. • It can take only 2 inputs. • We can’t construct Ex-OR Gate using three input Ex-OR gate. • If both inputs are Low or both are High then it produces the output Low or 0. otherwise it produce the High.
  • 32. TRUTH TABLE • Logical Symbol Inputs Output A B AB’+A’B=X 0 0 0.0’+0’.0 =0+0=0 0 1 0.1’+0’+1=0+1=1 1 0 1.0’+1’.0=1+0=1 1 1 1.1’+1’.1=0+0=0
  • 33. LOGICAL EXPRESSION • It’s logical expression is X=AB’+A’B • 𝑋 = 𝐴 ⊕ 𝐵
  • 34. EXCLUSIVE-NOR GATE • The exclusive-NOR gate is the complement of the exclusive-OR gate, as indicated by small circle on the output side of the graphic symbol. • It can take only 2 inputs. • We can’t construct Ex-NOR Gate using three input Ex-OR gate. • If both inputs are Low or both are High then it produces the output High or 1. otherwise it produce the Low output.
  • 35. TRUTH TABLE • Logical symbol Inputs Output A B AB’+A’B=X 0 0 0.0+0’.0’=0+1=0 0 1 0.1+0’+1’=0+0=0 1 0 1.0+1’.0’=0+0=0 1 1 1.1+1’.1’=1+0=1
  • 36. LOGICAL EXPRESSION • It’s logical expression is 𝑋 = 𝐴𝐵 + 𝐴′ 𝐵′ • 𝑋 = 𝐴 ⊙ 𝐵