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

Primary memory (main memory)
Primary memory (main memory)Primary memory (main memory)
Primary memory (main memory)
shah baadshah
 
Von-Neumann machine and IAS architecture
Von-Neumann machine and  IAS architectureVon-Neumann machine and  IAS architecture
Von-Neumann machine and IAS architecture
Shishir Aryal
 
Computer memory
Computer memoryComputer memory
Computer memory
Jayapal Jp
 
Arm architecture chapter2_steve_furber
Arm architecture chapter2_steve_furberArm architecture chapter2_steve_furber
Arm architecture chapter2_steve_furber
asodariyabhavesh
 
Ch 1 introduction to Embedded Systems (AY:2018-2019--> First Semester)
Ch 1 introduction to Embedded Systems (AY:2018-2019--> First Semester)Ch 1 introduction to Embedded Systems (AY:2018-2019--> First Semester)
Ch 1 introduction to Embedded Systems (AY:2018-2019--> First Semester)
Moe Moe Myint
 
RTOS- Real Time Operating Systems
RTOS- Real Time Operating Systems RTOS- Real Time Operating Systems
RTOS- Real Time Operating Systems
Bayar shahab
 
Arithmetic Logic Unit .
Arithmetic Logic Unit .Arithmetic Logic Unit .
Arithmetic Logic Unit .
Deyaa Ahmed
 
Arithmetic Logic Unit (ALU)
Arithmetic Logic Unit (ALU)Arithmetic Logic Unit (ALU)
Arithmetic Logic Unit (ALU)
Student
 
Embedded systems
Embedded systemsEmbedded systems
Embedded systems
Ashok Raj
 
ROM (Read Only Memory)
ROM (Read Only Memory)ROM (Read Only Memory)
ROM (Read Only Memory)
JaneAlamAdnan
 
CISC & RISC Architecture
CISC & RISC Architecture CISC & RISC Architecture
CISC & RISC Architecture
Suvendu Kumar Dash
 
Microprocessor & Micro-controller
Microprocessor & Micro-controllerMicroprocessor & Micro-controller
Microprocessor & Micro-controller
Om Bheda
 
Processor types
Processor typesProcessor types
Processor types
Amr Aboelgood
 
Bus and memory transfer
Bus and memory transferBus and memory transfer
Bus and memory transfer
rishi ram khanal
 
introduction to microprocessors
introduction to microprocessorsintroduction to microprocessors
introduction to microprocessors
vishi1993
 
A review on reversible logic gates and their implementation
A review on reversible logic gates and their implementationA review on reversible logic gates and their implementation
A review on reversible logic gates and their implementation
Debraj Maji
 
Computer architecture
Computer architectureComputer architecture
Computer architecture
Rishabha Garg
 

What's hot (20)

Computer memory
Computer memoryComputer memory
Computer memory
 
Primary memory (main memory)
Primary memory (main memory)Primary memory (main memory)
Primary memory (main memory)
 
Von-Neumann machine and IAS architecture
Von-Neumann machine and  IAS architectureVon-Neumann machine and  IAS architecture
Von-Neumann machine and IAS architecture
 
Computer memory
Computer memoryComputer memory
Computer memory
 
Arm architecture chapter2_steve_furber
Arm architecture chapter2_steve_furberArm architecture chapter2_steve_furber
Arm architecture chapter2_steve_furber
 
Ch 1 introduction to Embedded Systems (AY:2018-2019--> First Semester)
Ch 1 introduction to Embedded Systems (AY:2018-2019--> First Semester)Ch 1 introduction to Embedded Systems (AY:2018-2019--> First Semester)
Ch 1 introduction to Embedded Systems (AY:2018-2019--> First Semester)
 
RTOS- Real Time Operating Systems
RTOS- Real Time Operating Systems RTOS- Real Time Operating Systems
RTOS- Real Time Operating Systems
 
Arithmetic Logic Unit .
Arithmetic Logic Unit .Arithmetic Logic Unit .
Arithmetic Logic Unit .
 
Arithmetic Logic Unit (ALU)
Arithmetic Logic Unit (ALU)Arithmetic Logic Unit (ALU)
Arithmetic Logic Unit (ALU)
 
Microprocessor
MicroprocessorMicroprocessor
Microprocessor
 
Embedded systems
Embedded systemsEmbedded systems
Embedded systems
 
ROM (Read Only Memory)
ROM (Read Only Memory)ROM (Read Only Memory)
ROM (Read Only Memory)
 
Control unit
Control unitControl unit
Control unit
 
CISC & RISC Architecture
CISC & RISC Architecture CISC & RISC Architecture
CISC & RISC Architecture
 
Microprocessor & Micro-controller
Microprocessor & Micro-controllerMicroprocessor & Micro-controller
Microprocessor & Micro-controller
 
Processor types
Processor typesProcessor types
Processor types
 
Bus and memory transfer
Bus and memory transferBus and memory transfer
Bus and memory transfer
 
introduction to microprocessors
introduction to microprocessorsintroduction to microprocessors
introduction to microprocessors
 
A review on reversible logic gates and their implementation
A review on reversible logic gates and their implementationA review on reversible logic gates and their implementation
A review on reversible logic gates and their implementation
 
Computer architecture
Computer architectureComputer architecture
Computer architecture
 

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.pptx
WilliamJosephat1
 
Digital logic
Digital logicDigital logic
Digital logic
Madhu Bala
 
Digital logic Gates of Computer Science
Digital logic Gates of Computer ScienceDigital logic Gates of Computer Science
Digital logic Gates of Computer Science
Anil 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 gates
Dhwanil 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.pdf
Dr.Florence Dayana
 
digital electronics .pptx
digital electronics .pptxdigital electronics .pptx
digital electronics .pptx
Ajaykumar967485
 
Cit 1101 lec 03
Cit 1101 lec 03Cit 1101 lec 03
Cit 1101 lec 03
sohag sikder
 
Logic gate
Logic gateLogic gate
Class 12th Logic Gates
Class 12th Logic GatesClass 12th Logic Gates
Class 12th Logic Gates
Priyanka Jakhar
 
logic gates
logic gates logic gates
logic gates
MohiniChorat
 
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
 
logic gates
logic gateslogic gates
Logic gates
Logic gatesLogic gates
Logic gates
Nisarg Amin
 
chapter-3-logic-gates.pdf
chapter-3-logic-gates.pdfchapter-3-logic-gates.pdf
chapter-3-logic-gates.pdf
study material
 
chapter-3-logic-gates.pdf
chapter-3-logic-gates.pdfchapter-3-logic-gates.pdf
chapter-3-logic-gates.pdf
study material
 
Basic logic gates
Basic logic gatesBasic logic gates
Basic logic gates
Param Radadiya
 
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
Ashish 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.pptx
ProfVilasShamraoPati
 

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

UNIT-1 Start Learning R.pdf
UNIT-1 Start Learning R.pdfUNIT-1 Start Learning R.pdf
UNIT-1 Start Learning R.pdf
Sweta Kumari Barnwal
 
MODULE-2-Cloud Computing.docx.pdf
MODULE-2-Cloud Computing.docx.pdfMODULE-2-Cloud Computing.docx.pdf
MODULE-2-Cloud Computing.docx.pdf
Sweta Kumari Barnwal
 
Cloud Computing_Module-1.pdf
Cloud Computing_Module-1.pdfCloud Computing_Module-1.pdf
Cloud Computing_Module-1.pdf
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.pdf
Sweta Kumari Barnwal
 
Sensors in Different Applications Area.pdf
Sensors in Different Applications Area.pdfSensors in Different Applications Area.pdf
Sensors in Different Applications Area.pdf
Sweta 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 circuits
Sweta 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 sensing
Sweta Kumari Barnwal
 
Features of windows
Features of windowsFeatures of windows
Features of windows
Sweta Kumari Barnwal
 
Operating system and services
Operating system and servicesOperating system and services
Operating system and services
Sweta Kumari Barnwal
 
Application Layer
Application LayerApplication Layer
Application Layer
Sweta Kumari Barnwal
 
Network Layer & Transport Layer
Network Layer & Transport LayerNetwork Layer & Transport Layer
Network Layer & Transport Layer
Sweta 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 CLOUD
Sweta Kumari Barnwal
 
Module 3-cyber security
Module 3-cyber securityModule 3-cyber security
Module 3-cyber security
Sweta Kumari Barnwal
 
Unit ii-hackers and cyber crimes
Unit ii-hackers and cyber crimesUnit ii-hackers and cyber crimes
Unit ii-hackers and cyber crimes
Sweta Kumari Barnwal
 
Module 3-cloud computing
Module 3-cloud computingModule 3-cloud computing
Module 3-cloud computing
Sweta Kumari Barnwal
 
Virtualization - cloud computing
Virtualization - cloud computingVirtualization - cloud computing
Virtualization - cloud computing
Sweta Kumari Barnwal
 
Process improvement & service oriented software engineering
Process improvement & service oriented software engineeringProcess improvement & service oriented software engineering
Process improvement & service oriented software engineering
Sweta Kumari Barnwal
 
Introduction to computers i
Introduction to computers iIntroduction to computers i
Introduction to computers i
Sweta Kumari Barnwal
 
file management
 file management file management
file management
Sweta Kumari Barnwal
 
Module 4 memory management
Module 4 memory managementModule 4 memory management
Module 4 memory management
Sweta 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
 
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
 
Module 4 memory management
Module 4 memory managementModule 4 memory management
Module 4 memory management
 

Recently uploaded

CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
BhavyaRajput3
 
Introduction to Quality Improvement Essentials
Introduction to Quality Improvement EssentialsIntroduction to Quality Improvement Essentials
Introduction to Quality Improvement Essentials
Excellence Foundation for South Sudan
 
Basic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumersBasic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumers
PedroFerreira53928
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
Sandy Millin
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
Jisc
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Thiyagu K
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
Atul Kumar Singh
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
Jheel Barad
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
joachimlavalley1
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
beazzy04
 
Ethnobotany and Ethnopharmacology ......
Ethnobotany and Ethnopharmacology ......Ethnobotany and Ethnopharmacology ......
Ethnobotany and Ethnopharmacology ......
Ashokrao Mane college of Pharmacy Peth-Vadgaon
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
EugeneSaldivar
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
RaedMohamed3
 
PART A. Introduction to Costumer Service
PART A. Introduction to Costumer ServicePART A. Introduction to Costumer Service
PART A. Introduction to Costumer Service
PedroFerreira53928
 
Sectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdfSectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdf
Vivekanand Anglo Vedic Academy
 
How to Break the cycle of negative Thoughts
How to Break the cycle of negative ThoughtsHow to Break the cycle of negative Thoughts
How to Break the cycle of negative Thoughts
Col Mukteshwar Prasad
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
MysoreMuleSoftMeetup
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
Thiyagu K
 

Recently uploaded (20)

CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
 
Introduction to Quality Improvement Essentials
Introduction to Quality Improvement EssentialsIntroduction to Quality Improvement Essentials
Introduction to Quality Improvement Essentials
 
Basic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumersBasic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumers
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
 
Ethnobotany and Ethnopharmacology ......
Ethnobotany and Ethnopharmacology ......Ethnobotany and Ethnopharmacology ......
Ethnobotany and Ethnopharmacology ......
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
 
PART A. Introduction to Costumer Service
PART A. Introduction to Costumer ServicePART A. Introduction to Costumer Service
PART A. Introduction to Costumer Service
 
Sectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdfSectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdf
 
How to Break the cycle of negative Thoughts
How to Break the cycle of negative ThoughtsHow to Break the cycle of negative Thoughts
How to Break the cycle of negative Thoughts
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
 

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