SlideShare a Scribd company logo
1 of 36
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
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
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
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
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

What's hot

What's hot (20)

Digital Logic circuit
Digital Logic circuitDigital Logic circuit
Digital Logic circuit
 
Logic gates
Logic gatesLogic gates
Logic gates
 
Logic gates
Logic gatesLogic gates
Logic gates
 
Universal logic gate
Universal logic gateUniversal logic gate
Universal logic gate
 
latches
 latches latches
latches
 
DIGITAL ELECTRONICS- Logic Gates
DIGITAL ELECTRONICS- Logic GatesDIGITAL ELECTRONICS- Logic Gates
DIGITAL ELECTRONICS- Logic Gates
 
Encoder & Decoder
Encoder & DecoderEncoder & Decoder
Encoder & Decoder
 
Presentation On Logic Gate
Presentation On Logic Gate Presentation On Logic Gate
Presentation On Logic Gate
 
Combinational circuits
Combinational circuits Combinational circuits
Combinational circuits
 
Nand gate
Nand gateNand gate
Nand gate
 
Nand and nor as a universal gates
Nand and nor as a universal gatesNand and nor as a universal gates
Nand and nor as a universal gates
 
Basic Logic gates
Basic Logic gatesBasic Logic gates
Basic Logic gates
 
Combinational circuit
Combinational circuitCombinational circuit
Combinational circuit
 
Logic gates
Logic gatesLogic gates
Logic gates
 
Half adder & full adder
Half adder & full adderHalf adder & full adder
Half adder & full adder
 
Logic gate
Logic gateLogic gate
Logic gate
 
Parity Generator and Parity Checker
Parity Generator and Parity CheckerParity Generator and Parity Checker
Parity Generator and Parity Checker
 
Registers
RegistersRegisters
Registers
 
boolean algebra and logic simplification
boolean algebra and logic simplificationboolean algebra and logic simplification
boolean algebra and logic simplification
 
MULTIPLEXER
MULTIPLEXERMULTIPLEXER
MULTIPLEXER
 

Viewers also liked

Viewers also liked (7)

Logic Gates Presentation
Logic Gates PresentationLogic Gates Presentation
Logic Gates Presentation
 
Logic gate class 12
Logic gate class 12Logic gate class 12
Logic gate class 12
 
Logic gates
Logic gatesLogic gates
Logic gates
 
Physics logic gates1
Physics logic gates1Physics logic gates1
Physics logic gates1
 
logic gates using IC cbse class 12
logic gates using IC cbse class 12logic gates using IC cbse class 12
logic gates using IC cbse class 12
 
Ebola virus disease [ bio project ]
Ebola virus disease [ bio project ] Ebola virus disease [ bio project ]
Ebola virus disease [ bio project ]
 
physics investigatory project class 12 on logic gates ,boolean algebra
physics investigatory project class 12 on logic gates ,boolean algebraphysics investigatory project class 12 on logic gates ,boolean algebra
physics investigatory project class 12 on logic gates ,boolean algebra
 

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

perform operation with boolean algebra
perform operation with boolean algebraperform operation with boolean algebra
perform operation with boolean algebraBrenda Debra
 
Logic gates and Digital system.pptx
Logic gates and Digital system.pptxLogic gates and Digital system.pptx
Logic gates and Digital system.pptxAmiShete2
 
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 Gate.pptx
Logic Gate.pptxLogic Gate.pptx
Logic Gate.pptxHrRajon2
 
Basic Gates in Digital Logic
Basic Gates in Digital LogicBasic Gates in Digital Logic
Basic Gates in Digital LogicISMT College
 
investagatory PHYSICS-LOGIC GATES
investagatory PHYSICS-LOGIC GATESinvestagatory PHYSICS-LOGIC GATES
investagatory PHYSICS-LOGIC GATESLakhvinder Singh
 
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
 
Logic Gates & Related Device
Logic Gates & Related DeviceLogic Gates & Related Device
Logic Gates & Related DeviceMd. Nahidul Islam
 
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
 
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 ORGANIZATION - Logic gates, Boolean Algebra, Combinational Circuits
COMPUTER ORGANIZATION - Logic gates, Boolean Algebra, Combinational CircuitsCOMPUTER ORGANIZATION - Logic gates, Boolean Algebra, Combinational Circuits
COMPUTER ORGANIZATION - Logic gates, Boolean Algebra, Combinational CircuitsVanitha Chandru
 
LOGICAL_GATES_priyansh_singhal.pdf
LOGICAL_GATES_priyansh_singhal.pdfLOGICAL_GATES_priyansh_singhal.pdf
LOGICAL_GATES_priyansh_singhal.pdfMeghaChauhan75
 

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

perform operation with boolean algebra
perform operation with boolean algebraperform operation with boolean algebra
perform operation with boolean algebra
 
Electronics: Logic Gates
Electronics: Logic GatesElectronics: Logic Gates
Electronics: Logic Gates
 
Logic gates and Digital system.pptx
Logic gates and Digital system.pptxLogic gates and Digital system.pptx
Logic gates and Digital system.pptx
 
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 Gate.pptx
Logic Gate.pptxLogic Gate.pptx
Logic Gate.pptx
 
Logic gates and Boolean.pdf
Logic gates and Boolean.pdfLogic gates and Boolean.pdf
Logic gates and Boolean.pdf
 
Basic Gates in Digital Logic
Basic Gates in Digital LogicBasic Gates in Digital Logic
Basic Gates in Digital Logic
 
investagatory PHYSICS-LOGIC GATES
investagatory PHYSICS-LOGIC GATESinvestagatory PHYSICS-LOGIC GATES
investagatory PHYSICS-LOGIC GATES
 
Basic logic gates
Basic logic gatesBasic logic gates
Basic logic gates
 
BASIC LOGIC GATES.pdf
BASIC LOGIC GATES.pdfBASIC LOGIC GATES.pdf
BASIC LOGIC GATES.pdf
 
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
 
Logic Gates & Related Device
Logic Gates & Related DeviceLogic Gates & Related Device
Logic Gates & Related Device
 
DOC-20240203-WA0000.pptx
DOC-20240203-WA0000.pptxDOC-20240203-WA0000.pptx
DOC-20240203-WA0000.pptx
 
Logic Gates.pptx
Logic Gates.pptxLogic Gates.pptx
Logic Gates.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
 
Logic gates
Logic gatesLogic gates
Logic gates
 
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 ORGANIZATION - Logic gates, Boolean Algebra, Combinational Circuits
COMPUTER ORGANIZATION - Logic gates, Boolean Algebra, Combinational CircuitsCOMPUTER ORGANIZATION - Logic gates, Boolean Algebra, Combinational Circuits
COMPUTER ORGANIZATION - Logic gates, Boolean Algebra, Combinational Circuits
 
LOGICAL_GATES_priyansh_singhal.pdf
LOGICAL_GATES_priyansh_singhal.pdfLOGICAL_GATES_priyansh_singhal.pdf
LOGICAL_GATES_priyansh_singhal.pdf
 

More from Satya P. Joshi

Intergroup Conflict Management.pptx
Intergroup Conflict Management.pptxIntergroup Conflict Management.pptx
Intergroup Conflict Management.pptxSatya P. Joshi
 
Training methods in human resource managment
Training methods in human resource managmentTraining methods in human resource managment
Training methods in human resource managmentSatya P. Joshi
 
Selection tests in human resource management
Selection tests in human resource managementSelection tests in human resource management
Selection tests in human resource managementSatya P. Joshi
 
Interview and it’s types - human resource managmenet
Interview and it’s types - human resource managmenetInterview and it’s types - human resource managmenet
Interview and it’s types - human resource managmenetSatya P. Joshi
 
Motivation, achievement theory, goal setting theory
Motivation, achievement theory, goal setting theoryMotivation, achievement theory, goal setting theory
Motivation, achievement theory, goal setting theorySatya P. Joshi
 
Characteristics, objectives & challenges of human resource manager
Characteristics, objectives & challenges of human resource managerCharacteristics, objectives & challenges of human resource manager
Characteristics, objectives & challenges of human resource managerSatya P. Joshi
 
Human Resource Planning
Human Resource PlanningHuman Resource Planning
Human Resource PlanningSatya P. Joshi
 
Nested queries in database
Nested queries in databaseNested queries in database
Nested queries in databaseSatya P. Joshi
 
Technology and work design in Organizational Relation
Technology and work design in Organizational RelationTechnology and work design in Organizational Relation
Technology and work design in Organizational RelationSatya P. Joshi
 
Techniques of achieving google quality of service
Techniques of achieving google quality of serviceTechniques of achieving google quality of service
Techniques of achieving google quality of serviceSatya P. Joshi
 
Overview of digital communication in HSN and Multimedia
Overview of digital communication in HSN and MultimediaOverview of digital communication in HSN and Multimedia
Overview of digital communication in HSN and MultimediaSatya P. Joshi
 
Introduction to human resource management
Introduction to human resource managementIntroduction to human resource management
Introduction to human resource managementSatya P. Joshi
 
Security and control in Management Information System
Security and control in Management Information SystemSecurity and control in Management Information System
Security and control in Management Information SystemSatya P. Joshi
 
Designing the supply chain network
Designing the supply chain networkDesigning the supply chain network
Designing the supply chain networkSatya P. Joshi
 
Introduction to Organizational Behavior and Organizational Relation
Introduction to Organizational Behavior and Organizational RelationIntroduction to Organizational Behavior and Organizational Relation
Introduction to Organizational Behavior and Organizational RelationSatya P. Joshi
 
Selection tests and Reliability and Validity in HRM
Selection tests and Reliability and Validity in HRMSelection tests and Reliability and Validity in HRM
Selection tests and Reliability and Validity in HRMSatya P. Joshi
 
Analog and digital signal system : digital logic
Analog and digital signal system : digital logicAnalog and digital signal system : digital logic
Analog and digital signal system : digital logicSatya P. Joshi
 
Transmission media on Client server and high speed network
Transmission media on Client server and high speed networkTransmission media on Client server and high speed network
Transmission media on Client server and high speed networkSatya P. Joshi
 
Remote procedure call on client server computing
Remote procedure call on client server computingRemote procedure call on client server computing
Remote procedure call on client server computingSatya P. Joshi
 
Physical and logical topologies in computer network and client server
Physical  and logical topologies in computer network and client serverPhysical  and logical topologies in computer network and client server
Physical and logical topologies in computer network and client serverSatya P. Joshi
 

More from Satya P. Joshi (20)

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

Recently uploaded

Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAndikSusilo4
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?XfilesPro
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 

Recently uploaded (20)

Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & Application
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 

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
  • 8.
  • 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
  • 15.
  • 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
  • 21.
  • 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
  • 27.
  • 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 𝑋 = 𝐴𝐵 + 𝐴′ 𝐵′ • 𝑋 = 𝐴 ⊙ 𝐵