SlideShare a Scribd company logo
1 of 9
Download to read offline
LOGIC GATES:
Logic gates are the basic building blocks of any digital system. It is an electronic circuit
having one or more than one input and only one output.
The relationship between i/p & o/p is based on certain logic.
LOGIC GATES
Basic Logic Gate Universal Logic Gate
Ex-OR EX-NOR
AND OR NOT NAND NOR
Any Logical gate → (Name, Definition, Symbol, Boolean Expression, Truth Table)
1. AND Gate:
It consists 2 or more than 2 i/p lines & 1 o/p line. It provides high o/p when only all i/p(s)
are high and in rest condition it will provides low o/p.
Digital having 2 values (0, 1) (1 → high, 0 → low)
(10*20999*10798787634794389*0 = 0)
Logical symbol of AND Gate:
Y = A AND B = A . B (read as A dot B, A & B)
Y = A AND B AND C………..upto n terms = A . B . C . upto n terms
Y = A.B
Truth Table: It is a tabular representation which will show the relation between i/p &
o/p. It tells how o/p is varying a/c to the i/p.
Truth Table for AND Gate:
Inputs Output
A B Y
0 0 0
0 1 0
1 0 0
1 1 1
1.1.1.1..1.1.1.1..1…………1…………….1 = 1
2. OR GATE:
It consists 2 or more than 2 i/p lines & 1 o/p line. It provides low o/p when only all i/p(s)
are low and in rest condition it will provides high o/p.
Y = A OR B = A+B (OR → +)
Y = A OR B OR C OR up to n terms ( A+B+C+ up to n terms)
Inputs Output
A B Y
0 0 0
0 1 1
1 0 1
1 1 1
Y = A+B+C+D……………up to 100 terms
3. NOT GATE: (Inverter) (Complement)
It consists 1 i/p line & 1 o/p line. It provides low o/p when i/p is high & vice versa.
Y = A’ = NOT (A) = A
I/P (A) O/P (B)
0 1
1 0
4. NAND GATE: (NOT + AND)
Reverse of AND GATE, Compliment of AND GATE, Inverted AND GATE
Y = A AND B = A NAND B = A NOT AND B = A.B = (A.B)’
Truth Table of NAND GATE:
Inputs AND Output NAND O/P
A B Y1 Y
0 0 0 1
0 1 0 1
1 0 0 1
1 1 1 0
NAND: It consists 2 or more than 2 i/p lines & 1 o/p line. It provides low o/p when only
all i/p(s) are high and in rest condition it will provides low o/p.
5. NOR GATES: (NOT + OR)
Reverse of OR GATE, Compliment of OR GATE, Inverted OR GATE
Inputs Intermediate
Output
Output
A B Y1 = A+B Y = (A+B)’
0 0 0 1
0 1 1 0
1 0 1 0
1 1 1 0
NOR: It consists 2 or more than 2 i/p lines & 1 o/p line. It provides high o/p when only all
i/p(s) are low and in rest condition it will provides low o/p.
EX-OR Gate (XOR Gate): Special type of gate, used for adder & subtractor. Exclusive -
OR Gate/X-OR Gate. It consists 2 or more than 2 i/p lines & 1 o/p line. It provides high
o/p, when only all inputs are different.
Y = A XOR B
Y = A’B + AB’
Inputs Output
A B Y
0 0 0
0 1 1
1 0 1
1 1 0
EX-NOR Gate (XNOR Gate): Special type of gate, used for adder & subtractor. Exclusive
N-OR Gate/X-NOR Gate. It consists 2 or more than 2 i/p lines & 1 o/p line. It provides
high o/p, when only all inputs are same.
Inputs Output
A B Y
0 0 1
0 1 0
1 0 0
1 1 1
AND → Y = A.B NAND → Y = (A.B)’
OR → Y= A+B N OR → Y = (A+B)’
NOT → Y = A’ Buffer → Y = A
XOR → Y = A ⊕ B XNOR → Y = (A ⊕ B)’
Q. What is Logic Gates? Classify & explain with their symbols, Boolean equations & truth
table.
Q. Why NAND & NOR Gates are called Universal Gates?
NAND & NOR Gates are called Universal Gates because Combinations of NAND/NOR can
be used to work as of the basic gates (AND, OR & NOT).
a) NAND Gate as a NOT Gate:
A a b Y
0 0 0 1
1 1 1 0
b) NAND as an AND Gate
(NAND = AND+NOT) → (AND = NAND - NOT)
(NAND = NOT + AND)
(AND = NAND + NOT)
A B Y1 Y
0 0 1 0
0 1 1 0
1 0 1 0
1 1 0 1
c) NAND as an OR Gate
A B Y1 Y2 Y
0 0
0 1
1 0
1 1
NAND → NOT (1 NAND gate required)
NAND → AND (2 NAND gates required)
NAND → OR (3 NAND gates required)
a) NOR as a NOT Gate
A a b Y
0 0 0 1
1 1 1 0
b) NOR as an OR Gate
A B Y1 Y
0 0 1 0
0 1 0 1
1 0 0 1
1 1 0 1
c) NOR as an AND Gate
A B Y1 Y2 Y
0 0 1 1 0
0 1 1 0 0
1 0 0 1 0
1 1 0 0 1

More Related Content

What's hot (20)

ROM(Read Only Memory )
ROM(Read Only Memory )ROM(Read Only Memory )
ROM(Read Only Memory )
 
Computer Memory
Computer MemoryComputer Memory
Computer Memory
 
SRAM DRAM
SRAM DRAMSRAM DRAM
SRAM DRAM
 
Microprocessor ppt
Microprocessor pptMicroprocessor ppt
Microprocessor ppt
 
Number System.pdf
Number System.pdfNumber System.pdf
Number System.pdf
 
RISC and CISC Processors
RISC and CISC ProcessorsRISC and CISC Processors
RISC and CISC Processors
 
Flip-Flop || Digital Electronics
Flip-Flop || Digital ElectronicsFlip-Flop || Digital Electronics
Flip-Flop || Digital Electronics
 
Read & write
Read & writeRead & write
Read & write
 
Von Neumann Architecture
Von Neumann ArchitectureVon Neumann Architecture
Von Neumann Architecture
 
Microprocessor
MicroprocessorMicroprocessor
Microprocessor
 
Memories in digital electronics
Memories in digital electronicsMemories in digital electronics
Memories in digital electronics
 
Introduction to computer architecture and organization
Introduction to computer architecture and organizationIntroduction to computer architecture and organization
Introduction to computer architecture and organization
 
Computer system bus
Computer system busComputer system bus
Computer system bus
 
Microcontroller
MicrocontrollerMicrocontroller
Microcontroller
 
Control unit
Control  unitControl  unit
Control unit
 
JK flip flops
JK flip flopsJK flip flops
JK flip flops
 
Arithmetic Logic Unit (ALU)
Arithmetic Logic Unit (ALU)Arithmetic Logic Unit (ALU)
Arithmetic Logic Unit (ALU)
 
Random access memory
Random access memoryRandom access memory
Random access memory
 
SRAM
SRAMSRAM
SRAM
 
Cache memory
Cache memoryCache memory
Cache memory
 

Similar to Logic gates

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 and NAND and NOR univarsal gates
Logic gates and NAND and NOR univarsal gatesLogic gates and NAND and NOR univarsal gates
Logic gates and NAND and NOR univarsal gatesDhwanil Champaneria
 
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
 
digital electronics .pptx
digital electronics .pptxdigital electronics .pptx
digital electronics .pptxAjaykumar967485
 
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.Satya P. Joshi
 
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. Satya P. Joshi
 
chapter-3-logic-gates.pdf
chapter-3-logic-gates.pdfchapter-3-logic-gates.pdf
chapter-3-logic-gates.pdfstudy material
 
chapter-3-logic-gates.pdf
chapter-3-logic-gates.pdfchapter-3-logic-gates.pdf
chapter-3-logic-gates.pdfstudy material
 
Chapter 4. logic function and boolean algebra
Chapter 4. logic function and boolean algebraChapter 4. logic function and boolean algebra
Chapter 4. logic function and boolean algebraAshish KC
 
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
 

Similar to Logic gates (20)

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
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 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
 
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
 
digital electronics .pptx
digital electronics .pptxdigital electronics .pptx
digital electronics .pptx
 
Cit 1101 lec 03
Cit 1101 lec 03Cit 1101 lec 03
Cit 1101 lec 03
 
Logic gate
Logic gateLogic gate
Logic gate
 
Class 12th Logic Gates
Class 12th Logic GatesClass 12th Logic Gates
Class 12th 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.
 
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.
 
logic gates
logic gateslogic gates
logic gates
 
Logic gates
Logic gatesLogic gates
Logic gates
 
chapter-3-logic-gates.pdf
chapter-3-logic-gates.pdfchapter-3-logic-gates.pdf
chapter-3-logic-gates.pdf
 
chapter-3-logic-gates.pdf
chapter-3-logic-gates.pdfchapter-3-logic-gates.pdf
chapter-3-logic-gates.pdf
 
Basic logic gates
Basic logic gatesBasic logic gates
Basic logic gates
 
Chapter 4. logic function and boolean algebra
Chapter 4. logic function and boolean algebraChapter 4. logic function and boolean algebra
Chapter 4. logic function and boolean algebra
 
Chap 3
Chap 3Chap 3
Chap 3
 
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
 

More from Sweta Kumari Barnwal

Computer Network-Data Link Layer-Module-2.pdf
Computer Network-Data Link Layer-Module-2.pdfComputer Network-Data Link Layer-Module-2.pdf
Computer Network-Data Link Layer-Module-2.pdfSweta Kumari Barnwal
 
Sensors in Different Applications Area.pdf
Sensors in Different Applications Area.pdfSensors in Different Applications Area.pdf
Sensors in Different Applications Area.pdfSweta Kumari Barnwal
 
Sensor technology module-3-interface electronic circuits
Sensor technology module-3-interface electronic circuitsSensor technology module-3-interface electronic circuits
Sensor technology module-3-interface electronic circuitsSweta Kumari Barnwal
 
Sensors fundamentals and characteristics, physical principle of sensing
Sensors fundamentals and characteristics, physical principle of sensingSensors fundamentals and characteristics, physical principle of sensing
Sensors fundamentals and characteristics, physical principle of sensingSweta Kumari Barnwal
 
Module 5-cloud computing-SECURITY IN THE CLOUD
Module 5-cloud computing-SECURITY IN THE CLOUDModule 5-cloud computing-SECURITY IN THE CLOUD
Module 5-cloud computing-SECURITY IN THE CLOUDSweta Kumari Barnwal
 
Process improvement & service oriented software engineering
Process improvement & service oriented software engineeringProcess improvement & service oriented software engineering
Process improvement & service oriented software engineeringSweta Kumari Barnwal
 

More from Sweta Kumari Barnwal (20)

UNIT-1 Start Learning R.pdf
UNIT-1 Start Learning R.pdfUNIT-1 Start Learning R.pdf
UNIT-1 Start Learning R.pdf
 
MODULE-2-Cloud Computing.docx.pdf
MODULE-2-Cloud Computing.docx.pdfMODULE-2-Cloud Computing.docx.pdf
MODULE-2-Cloud Computing.docx.pdf
 
Cloud Computing_Module-1.pdf
Cloud Computing_Module-1.pdfCloud Computing_Module-1.pdf
Cloud Computing_Module-1.pdf
 
Computer Network-Data Link Layer-Module-2.pdf
Computer Network-Data Link Layer-Module-2.pdfComputer Network-Data Link Layer-Module-2.pdf
Computer Network-Data Link Layer-Module-2.pdf
 
Sensors in Different Applications Area.pdf
Sensors in Different Applications Area.pdfSensors in Different Applications Area.pdf
Sensors in Different Applications Area.pdf
 
Sensor technology module-3-interface electronic circuits
Sensor technology module-3-interface electronic circuitsSensor technology module-3-interface electronic circuits
Sensor technology module-3-interface electronic circuits
 
Sensors fundamentals and characteristics, physical principle of sensing
Sensors fundamentals and characteristics, physical principle of sensingSensors fundamentals and characteristics, physical principle of sensing
Sensors fundamentals and characteristics, physical principle of sensing
 
Features of windows
Features of windowsFeatures of windows
Features of windows
 
Operating system and services
Operating system and servicesOperating system and services
Operating system and services
 
Introduction to computers
Introduction to computersIntroduction to computers
Introduction to computers
 
Application Layer
Application LayerApplication Layer
Application Layer
 
Network Layer & Transport Layer
Network Layer & Transport LayerNetwork Layer & Transport Layer
Network Layer & Transport Layer
 
Module 5-cloud computing-SECURITY IN THE CLOUD
Module 5-cloud computing-SECURITY IN THE CLOUDModule 5-cloud computing-SECURITY IN THE CLOUD
Module 5-cloud computing-SECURITY IN THE CLOUD
 
Module 3-cyber security
Module 3-cyber securityModule 3-cyber security
Module 3-cyber security
 
Unit ii-hackers and cyber crimes
Unit ii-hackers and cyber crimesUnit ii-hackers and cyber crimes
Unit ii-hackers and cyber crimes
 
Module 3-cloud computing
Module 3-cloud computingModule 3-cloud computing
Module 3-cloud computing
 
Virtualization - cloud computing
Virtualization - cloud computingVirtualization - cloud computing
Virtualization - cloud computing
 
Process improvement & service oriented software engineering
Process improvement & service oriented software engineeringProcess improvement & service oriented software engineering
Process improvement & service oriented software engineering
 
Introduction to computers i
Introduction to computers iIntroduction to computers i
Introduction to computers i
 
file management
 file management file management
file management
 

Recently uploaded

KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...M56BOOKSTORE PRODUCT/SERVICE
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaVirag Sontakke
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfMahmoud M. Sallam
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxEyham Joco
 
Capitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitolTechU
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
internship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerinternship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerunnathinaik
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,Virag Sontakke
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupJonathanParaisoCruz
 
Biting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfBiting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfadityarao40181
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 

Recently uploaded (20)

KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of India
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdf
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptx
 
Capitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptx
 
ESSENTIAL of (CS/IT/IS) class 06 (database)
ESSENTIAL of (CS/IT/IS) class 06 (database)ESSENTIAL of (CS/IT/IS) class 06 (database)
ESSENTIAL of (CS/IT/IS) class 06 (database)
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
internship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerinternship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developer
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized Group
 
Biting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfBiting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdf
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 

Logic gates

  • 1. LOGIC GATES: Logic gates are the basic building blocks of any digital system. It is an electronic circuit having one or more than one input and only one output. The relationship between i/p & o/p is based on certain logic. LOGIC GATES Basic Logic Gate Universal Logic Gate Ex-OR EX-NOR AND OR NOT NAND NOR Any Logical gate → (Name, Definition, Symbol, Boolean Expression, Truth Table) 1. AND Gate: It consists 2 or more than 2 i/p lines & 1 o/p line. It provides high o/p when only all i/p(s) are high and in rest condition it will provides low o/p. Digital having 2 values (0, 1) (1 → high, 0 → low) (10*20999*10798787634794389*0 = 0) Logical symbol of AND Gate: Y = A AND B = A . B (read as A dot B, A & B) Y = A AND B AND C………..upto n terms = A . B . C . upto n terms Y = A.B Truth Table: It is a tabular representation which will show the relation between i/p & o/p. It tells how o/p is varying a/c to the i/p. Truth Table for AND Gate: Inputs Output A B Y 0 0 0 0 1 0 1 0 0
  • 2. 1 1 1 1.1.1.1..1.1.1.1..1…………1…………….1 = 1 2. OR GATE: It consists 2 or more than 2 i/p lines & 1 o/p line. It provides low o/p when only all i/p(s) are low and in rest condition it will provides high o/p. Y = A OR B = A+B (OR → +) Y = A OR B OR C OR up to n terms ( A+B+C+ up to n terms) Inputs Output A B Y 0 0 0 0 1 1 1 0 1 1 1 1 Y = A+B+C+D……………up to 100 terms 3. NOT GATE: (Inverter) (Complement) It consists 1 i/p line & 1 o/p line. It provides low o/p when i/p is high & vice versa. Y = A’ = NOT (A) = A I/P (A) O/P (B) 0 1 1 0
  • 3. 4. NAND GATE: (NOT + AND) Reverse of AND GATE, Compliment of AND GATE, Inverted AND GATE Y = A AND B = A NAND B = A NOT AND B = A.B = (A.B)’ Truth Table of NAND GATE: Inputs AND Output NAND O/P A B Y1 Y 0 0 0 1 0 1 0 1 1 0 0 1 1 1 1 0 NAND: It consists 2 or more than 2 i/p lines & 1 o/p line. It provides low o/p when only all i/p(s) are high and in rest condition it will provides low o/p. 5. NOR GATES: (NOT + OR) Reverse of OR GATE, Compliment of OR GATE, Inverted OR GATE
  • 4. Inputs Intermediate Output Output A B Y1 = A+B Y = (A+B)’ 0 0 0 1 0 1 1 0 1 0 1 0 1 1 1 0 NOR: It consists 2 or more than 2 i/p lines & 1 o/p line. It provides high o/p when only all i/p(s) are low and in rest condition it will provides low o/p.
  • 5. EX-OR Gate (XOR Gate): Special type of gate, used for adder & subtractor. Exclusive - OR Gate/X-OR Gate. It consists 2 or more than 2 i/p lines & 1 o/p line. It provides high o/p, when only all inputs are different. Y = A XOR B Y = A’B + AB’ Inputs Output A B Y 0 0 0 0 1 1 1 0 1 1 1 0 EX-NOR Gate (XNOR Gate): Special type of gate, used for adder & subtractor. Exclusive N-OR Gate/X-NOR Gate. It consists 2 or more than 2 i/p lines & 1 o/p line. It provides high o/p, when only all inputs are same. Inputs Output A B Y 0 0 1 0 1 0 1 0 0 1 1 1
  • 6.
  • 7. AND → Y = A.B NAND → Y = (A.B)’ OR → Y= A+B N OR → Y = (A+B)’ NOT → Y = A’ Buffer → Y = A XOR → Y = A ⊕ B XNOR → Y = (A ⊕ B)’ Q. What is Logic Gates? Classify & explain with their symbols, Boolean equations & truth table. Q. Why NAND & NOR Gates are called Universal Gates? NAND & NOR Gates are called Universal Gates because Combinations of NAND/NOR can be used to work as of the basic gates (AND, OR & NOT). a) NAND Gate as a NOT Gate: A a b Y 0 0 0 1 1 1 1 0 b) NAND as an AND Gate
  • 8. (NAND = AND+NOT) → (AND = NAND - NOT) (NAND = NOT + AND) (AND = NAND + NOT) A B Y1 Y 0 0 1 0 0 1 1 0 1 0 1 0 1 1 0 1 c) NAND as an OR Gate A B Y1 Y2 Y 0 0 0 1 1 0 1 1 NAND → NOT (1 NAND gate required)
  • 9. NAND → AND (2 NAND gates required) NAND → OR (3 NAND gates required) a) NOR as a NOT Gate A a b Y 0 0 0 1 1 1 1 0 b) NOR as an OR Gate A B Y1 Y 0 0 1 0 0 1 0 1 1 0 0 1 1 1 0 1 c) NOR as an AND Gate A B Y1 Y2 Y 0 0 1 1 0 0 1 1 0 0 1 0 0 1 0 1 1 0 0 1