SlideShare a Scribd company logo
1 of 31
G.H. Patel College of Engineering and
Technology
Subject: Digital Electronics
Name Enrollment no.
Champaneria Dhvanil J. 150113109004
Chauhan Nisarg D. 150113109005
Jadav Prashant 150113109009
Limbani Milan P. 150113109011
Logic Gates
&
Universal Gate
 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.
 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.
Inputs Output
A B X
0 0 0
0 1 0
1 0 0
1 1 1
Logical Symbol
Truth Table
• It’s logical expression is, X=A.B
 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
Logical Symbol
Inputs Output
A B X
0 0 0
0 1 1
1 0 1
1 1 1
Truth Table
• It’s logical expression is, X=A+B
 Not Gate:
 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.
Input Output
0 1
1 0
Logical Symbol
Truth Table
• It’s logical expression is, A=A’
 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.
 The output of NAND gate is low when all inputs are high, otherwise all outputs are high.
Logical Symbol
 It’s logical expression is, X= (AB)’
Inputs Output
A B X
0 0 1
0 1 1
1 0 1
1 1 0
 Truth Table and Expression of NAND Gate:
 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.
 The Output of NOR gate is high when all inputs are low otherwise the output is low.
Logical Symbol
Inputs Output
A B X
0 0 1
0 1 0
1 0 0
1 1 0
 It’s expression is, X=(A+B)’
 Truth Table and Expression of NOR Gate:
 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.
 If both inputs are Low or both are High then it produces the output Low or 0. otherwise it produce the High.
Logical Symbol
Inputs Output
A B X
0 0 0
0 1 1
1 0 1
1 1 0
 It’s logical expression is X=AB’+A’B
 𝑋 = 𝐴 ⊕ 𝐵
 Truth Table and Expression of Ex-OR Gate:
 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.
 If both inputs are Low or both are High then it produces the output High or 1. otherwise it produce the Low
output.
Logical symbol
Inputs Output
A B X
0 0 1
0 1 0
1 0 0
1 1 1
 It’s logical expression is 𝑋 = 𝐴𝐵 + 𝐴′
𝐵′
 𝑋 = 𝐴 ⊙ 𝐵
 Truth Table and Expression of Ex-NOR Gate:
NAND gate as Universal gate
 NAND Gate as an AND Gate:
X
Y
YXYXZ 
YX
NAND Gate Inverter
Logical symbol
Inputs Output
X Y Z
0 0 0
0 1 0
1 0 0
1 1 1
Truth Table
 NAND Gate as an OR Gate:
X
Y
YXYXYXZ 
X
NAND GateInverters
Y
Logical symbol
Inputs Output
X Y Z
0 0 0
0 1 1
1 0 1
1 1 1
Truth Table
 NAND Gate as an NOT Gate:
X XZ 
Logical symbol
Input Output
X Z
0 1
1 0
Truth Table
 NAND Gate:
X
Y YXYXZ 
Logical symbol
Truth Table
Inputs Output
A B Z
0 0 1
0 1 1
1 0 1
1 1 0
 NAND Gate as an NOR Gate:
Logical symbol
Truth Table
Inputs Output
A B Z
0 0 1
0 1 0
1 0 0
1 1 0
 NAND Gate as an Ex-OR Gate:
Logical symbol
Truth Table
Inputs Output
X Y Z
0 0 0
0 1 1
1 0 1
1 1 0
 NAND Gate as an Ex-NOR Gate:
Logical symbol
Truth Table
Inputs Output
X Y Z
0 0 1
0 1 0
1 0 0
1 1 1
NOR gate as Universal gate
 NOR Gate as an AND Gate:
X
Y
YXYXYXZ 
X
NOR Gate“Inverters”
Y
Logical symbol
Truth Table
Inputs Output
X Y Z
0 0 0
0 1 0
1 0 0
1 1 1
 NOR Gate as an OR Gate:
X
Y YXYXZ 
YX 
NOR Gate “Inverter”
Logical symbol
Truth Table
Inputs Output
X Y Z
0 0 0
0 1 1
1 0 1
1 1 1
 NOR Gate as an NOT Gate:
X XZ 
XXX 
(Before Bubble)
Logical symbol
Truth Table
Inputs Output
X Z
0 1
1 0
 NOR Gate as an NAND Gate:
Logical symbol
Truth Table
Inputs Output
X Y Z
0 0 1
0 1 1
1 0 1
1 1 0
 NOR Gate:
X
Y
YXYXZ 
Logical symbol
Truth Table
Inputs Output
X Y Z
0 0 1
0 1 0
1 0 0
1 1 0
 NOR Gate as an Ex-OR Gate:
Logical symbol
Truth Table
Inputs Output
X Y Z
0 0 0
0 1 1
1 0 1
1 1 0
 NOR Gate as an Ex-NOR Gate:
Logical symbol
Truth Table
Inputs Output
X Y Z
0 0 1
0 1 0
1 0 0
1 1 1
Thank You…..

More Related Content

What's hot

What's hot (20)

MULTIPLEXER
MULTIPLEXERMULTIPLEXER
MULTIPLEXER
 
Combinational circuits
Combinational circuits Combinational circuits
Combinational circuits
 
DIGITAL ELECTRONICS- Logic Gates
DIGITAL ELECTRONICS- Logic GatesDIGITAL ELECTRONICS- Logic Gates
DIGITAL ELECTRONICS- Logic Gates
 
Logic Gates
Logic GatesLogic Gates
Logic Gates
 
Shift Registers
Shift RegistersShift Registers
Shift Registers
 
Combinational Circuits & Sequential Circuits
Combinational Circuits & Sequential CircuitsCombinational Circuits & Sequential Circuits
Combinational Circuits & Sequential Circuits
 
Logic gates ppt
Logic gates pptLogic gates ppt
Logic gates ppt
 
Universal gates electronic
Universal gates electronic Universal gates electronic
Universal gates electronic
 
Logic gates
Logic gatesLogic gates
Logic gates
 
sequential circuits
sequential circuitssequential circuits
sequential circuits
 
Digital Logic circuit
Digital Logic circuitDigital Logic circuit
Digital Logic circuit
 
Decoder Full Presentation
Decoder Full Presentation Decoder Full Presentation
Decoder Full Presentation
 
Universal logic gate
Universal logic gateUniversal logic gate
Universal logic gate
 
Combinational circuits
Combinational circuitsCombinational circuits
Combinational circuits
 
Adder ppt
Adder pptAdder ppt
Adder ppt
 
Boolean Algebra
Boolean AlgebraBoolean Algebra
Boolean Algebra
 
Latches and flip flops
Latches and flip flopsLatches and flip flops
Latches and flip flops
 
Digital Logic Design
Digital Logic Design Digital Logic Design
Digital Logic Design
 
Digital Logic & Design (DLD) presentation
Digital Logic & Design (DLD) presentationDigital Logic & Design (DLD) presentation
Digital Logic & Design (DLD) presentation
 
Parity generator & checker
Parity generator & checkerParity generator & checker
Parity generator & checker
 

Viewers also liked

Viewers also liked (8)

Universal gate BY Abdullah
Universal gate BY AbdullahUniversal gate BY Abdullah
Universal gate BY Abdullah
 
Blow The Self-Sealing Bubble agile2015
Blow The Self-Sealing Bubble  agile2015Blow The Self-Sealing Bubble  agile2015
Blow The Self-Sealing Bubble agile2015
 
Silabus Artikel Hijramedia
Silabus Artikel HijramediaSilabus Artikel Hijramedia
Silabus Artikel Hijramedia
 
Nand and nor
Nand and norNand and nor
Nand and nor
 
Divrgence theorem with example
Divrgence theorem with exampleDivrgence theorem with example
Divrgence theorem with example
 
Report on-the-logic-gates
Report on-the-logic-gatesReport on-the-logic-gates
Report on-the-logic-gates
 
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
 

Similar to Logic gates and NAND and NOR univarsal gates

Similar to Logic gates and NAND and NOR univarsal gates (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
 
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 07 11-2014
Logic gates 07 11-2014Logic gates 07 11-2014
Logic gates 07 11-2014
 
Logic gates
Logic gatesLogic gates
Logic gates
 
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.
 
Digital logic Gates of Computer Science
Digital logic Gates of Computer ScienceDigital logic Gates of Computer Science
Digital logic Gates of Computer Science
 
Chap 3
Chap 3Chap 3
Chap 3
 
Logic gates
Logic gatesLogic gates
Logic gates
 
Digital logic
Digital logicDigital logic
Digital logic
 
Logic gates and Boolean.pdf
Logic gates and Boolean.pdfLogic gates and Boolean.pdf
Logic gates and Boolean.pdf
 
ICT Basic Logic Gates Lessons.pptx
ICT Basic Logic Gates Lessons.pptxICT Basic Logic Gates Lessons.pptx
ICT Basic Logic Gates Lessons.pptx
 
Logical Gates
Logical GatesLogical Gates
Logical Gates
 
Logic gates and Digital system.pptx
Logic gates and Digital system.pptxLogic gates and Digital system.pptx
Logic gates and Digital system.pptx
 
logic gates functions.pptx
logic gates functions.pptxlogic gates functions.pptx
logic gates functions.pptx
 
Digital logic gates and Boolean algebra
Digital logic gates and Boolean algebraDigital logic gates and Boolean algebra
Digital logic gates and Boolean algebra
 
Logic gates
Logic gatesLogic gates
Logic gates
 
Digital Electronics-Review of Logic Gates.pptx
Digital Electronics-Review of Logic Gates.pptxDigital Electronics-Review of Logic Gates.pptx
Digital Electronics-Review of Logic Gates.pptx
 
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.pptx
Logic Gates.pptxLogic Gates.pptx
Logic Gates.pptx
 

Recently uploaded

Recently uploaded (20)

Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
 
21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx
 
OSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsOSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & Systems
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
 
AIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.pptAIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.ppt
 
dusjagr & nano talk on open tools for agriculture research and learning
dusjagr & nano talk on open tools for agriculture research and learningdusjagr & nano talk on open tools for agriculture research and learning
dusjagr & nano talk on open tools for agriculture research and learning
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
How to Add a Tool Tip to a Field in Odoo 17
How to Add a Tool Tip to a Field in Odoo 17How to Add a Tool Tip to a Field in Odoo 17
How to Add a Tool Tip to a Field in Odoo 17
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
How to Manage Call for Tendor in Odoo 17
How to Manage Call for Tendor in Odoo 17How to Manage Call for Tendor in Odoo 17
How to Manage Call for Tendor in Odoo 17
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
 
What is 3 Way Matching Process in Odoo 17.pptx
What is 3 Way Matching Process in Odoo 17.pptxWhat is 3 Way Matching Process in Odoo 17.pptx
What is 3 Way Matching Process in Odoo 17.pptx
 
Model Attribute _rec_name in the Odoo 17
Model Attribute _rec_name in the Odoo 17Model Attribute _rec_name in the Odoo 17
Model Attribute _rec_name in the Odoo 17
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
UGC NET Paper 1 Unit 7 DATA INTERPRETATION.pdf
UGC NET Paper 1 Unit 7 DATA INTERPRETATION.pdfUGC NET Paper 1 Unit 7 DATA INTERPRETATION.pdf
UGC NET Paper 1 Unit 7 DATA INTERPRETATION.pdf
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
 

Logic gates and NAND and NOR univarsal gates

  • 1. G.H. Patel College of Engineering and Technology Subject: Digital Electronics Name Enrollment no. Champaneria Dhvanil J. 150113109004 Chauhan Nisarg D. 150113109005 Jadav Prashant 150113109009 Limbani Milan P. 150113109011
  • 3.  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.
  • 4.  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. Inputs Output A B X 0 0 0 0 1 0 1 0 0 1 1 1 Logical Symbol Truth Table • It’s logical expression is, X=A.B
  • 5.  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 Logical Symbol Inputs Output A B X 0 0 0 0 1 1 1 0 1 1 1 1 Truth Table • It’s logical expression is, X=A+B
  • 6.  Not Gate:  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. Input Output 0 1 1 0 Logical Symbol Truth Table • It’s logical expression is, A=A’
  • 7.  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.  The output of NAND gate is low when all inputs are high, otherwise all outputs are high. Logical Symbol
  • 8.  It’s logical expression is, X= (AB)’ Inputs Output A B X 0 0 1 0 1 1 1 0 1 1 1 0  Truth Table and Expression of NAND Gate:
  • 9.  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.  The Output of NOR gate is high when all inputs are low otherwise the output is low. Logical Symbol
  • 10. Inputs Output A B X 0 0 1 0 1 0 1 0 0 1 1 0  It’s expression is, X=(A+B)’  Truth Table and Expression of NOR Gate:
  • 11.  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.  If both inputs are Low or both are High then it produces the output Low or 0. otherwise it produce the High. Logical Symbol
  • 12. Inputs Output A B X 0 0 0 0 1 1 1 0 1 1 1 0  It’s logical expression is X=AB’+A’B  𝑋 = 𝐴 ⊕ 𝐵  Truth Table and Expression of Ex-OR Gate:
  • 13.  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.  If both inputs are Low or both are High then it produces the output High or 1. otherwise it produce the Low output. Logical symbol
  • 14. Inputs Output A B X 0 0 1 0 1 0 1 0 0 1 1 1  It’s logical expression is 𝑋 = 𝐴𝐵 + 𝐴′ 𝐵′  𝑋 = 𝐴 ⊙ 𝐵  Truth Table and Expression of Ex-NOR Gate:
  • 15. NAND gate as Universal gate
  • 16.  NAND Gate as an AND Gate: X Y YXYXZ  YX NAND Gate Inverter Logical symbol Inputs Output X Y Z 0 0 0 0 1 0 1 0 0 1 1 1 Truth Table
  • 17.  NAND Gate as an OR Gate: X Y YXYXYXZ  X NAND GateInverters Y Logical symbol Inputs Output X Y Z 0 0 0 0 1 1 1 0 1 1 1 1 Truth Table
  • 18.  NAND Gate as an NOT Gate: X XZ  Logical symbol Input Output X Z 0 1 1 0 Truth Table
  • 19.  NAND Gate: X Y YXYXZ  Logical symbol Truth Table Inputs Output A B Z 0 0 1 0 1 1 1 0 1 1 1 0
  • 20.  NAND Gate as an NOR Gate: Logical symbol Truth Table Inputs Output A B Z 0 0 1 0 1 0 1 0 0 1 1 0
  • 21.  NAND Gate as an Ex-OR Gate: Logical symbol Truth Table Inputs Output X Y Z 0 0 0 0 1 1 1 0 1 1 1 0
  • 22.  NAND Gate as an Ex-NOR Gate: Logical symbol Truth Table Inputs Output X Y Z 0 0 1 0 1 0 1 0 0 1 1 1
  • 23. NOR gate as Universal gate
  • 24.  NOR Gate as an AND Gate: X Y YXYXYXZ  X NOR Gate“Inverters” Y Logical symbol Truth Table Inputs Output X Y Z 0 0 0 0 1 0 1 0 0 1 1 1
  • 25.  NOR Gate as an OR Gate: X Y YXYXZ  YX  NOR Gate “Inverter” Logical symbol Truth Table Inputs Output X Y Z 0 0 0 0 1 1 1 0 1 1 1 1
  • 26.  NOR Gate as an NOT Gate: X XZ  XXX  (Before Bubble) Logical symbol Truth Table Inputs Output X Z 0 1 1 0
  • 27.  NOR Gate as an NAND Gate: Logical symbol Truth Table Inputs Output X Y Z 0 0 1 0 1 1 1 0 1 1 1 0
  • 28.  NOR Gate: X Y YXYXZ  Logical symbol Truth Table Inputs Output X Y Z 0 0 1 0 1 0 1 0 0 1 1 0
  • 29.  NOR Gate as an Ex-OR Gate: Logical symbol Truth Table Inputs Output X Y Z 0 0 0 0 1 1 1 0 1 1 1 0
  • 30.  NOR Gate as an Ex-NOR Gate: Logical symbol Truth Table Inputs Output X Y Z 0 0 1 0 1 0 1 0 0 1 1 1