SlideShare a Scribd company logo
Digital Logic Gates of
Computer Science
Prof. Anil Kumar Prajapati
Govt. Madhav Science PG College
What is the gates
A logic gate consists of a series of transistors connected
together to produce one or more outputs,
each determined by the input or combination of inputs supplied
to it.
Logic gates are the most important component of a digital
system. They are pieces of hardware that produce binary
signals 1 or 0 when their input logic requirements are satisfied.
They have their own graphic symbols, and their operation can
be explained by algebra.
there are seven different types gates are available such as
AND, OR, NOT, NAND, NOR, XOR And XNOR. They have
their own symbols. let's understand them.
Gates
We will understand different logic gates in this
section such as,
 AND Gate
 OR Gate
 NOT Gate
 NAND Gate
 NOR Gate
 XOR Gate
 XNOR Gate
AND Gate
The AND gate is an electronic circuit uses two
inputs to generate one output. The output is 1
(true) only if both of the inputs are 1 (true). The
dot (.) is used to represent the AND operation.
This operation works on multiplication. the gate
also available in three input
A
B
Y= A.B
A
B
C
Y= A.B.C
Truth tables of AND Gate
A B Y = A.B
0 0 0
0 1 0
1 0 0
1 1 1
A B C Y = A.B.C
0 0 0 0
0 0 1 0
0 1 0 0
1 1 1 0
1 0 0 0
1 0 1 0
1 1 0 1
Two Input AND gate truth table
Three Input AND gate truth table
OR Gate
OR gates are digital logic gates that have two
or more inputs and one output that performs a
logical disconnection. The output of an OR
gate is true when one or more of its inputs
are true. If all of an OR gate's inputs are false,
then the output of the OR gate is false.
A
A
A
A
A
Y=A+B Y=A+B+C
Truth tables of OR Gate
A B Y= A+B
0 0 0
0 1 1
1 0 1
1 1 1
A B C Y=A+B+C
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
Two Input OR gate truth table
Three Input OR gate truth table
NOT Gate
The NOT gate is a single input single output gate.
This gate is also referred to as an inverter since it
performs the inversion of the binary data,
i.e., converting 0 into 1 or 1 into 0.
Symbol and Truth table of NOT Gate
A
A Y = A
0 1
1 0
Y= A
NAND Gate
A NAND gate is a special type of logic gate in
the digital logic circuit. It is the universal
gate, which implies that all the basic gates, such
as the AND, OR, and NOT gates, can be
constructed using the NAND gate. The NAND
gate is the combination of the NOT-AND gate.
A
B
Y= A.B
A
B
C
Y= A.B.C
Truth tables of NAND Gate
A B Y = A.B
0 0 1
0 1 1
1 0 1
1 1 0
A B C Y = A.B.C
0 0 0 1
0 0 1 1
0 1 0 1
1 1 1 1
1 0 0 1
1 0 1 1
1 1 0 0
Two Input NAND gate truth table
Three Input NAND gate truth table
NOR Gate
A
A
A
A
A
Y=A+B Y=A+B+C
NOR gate is Universal Gate like NAND Gate.
therefore we also create all basic gates employing
the NOR Gate. The NOR gate is the combination of
the NOT-OR gate. The output state of the NOR gate
will be high only when all of the inputs are low.
Simply, this gate returns the complement result of
the OR gate.
Truth tables of NOR Gate
A B Y= A+B
0 0 1
0 1 0
1 0 0
1 1 0
A B C Y=A+B+C
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
Two Input NOR gate truth table
Three Input NOR gate truth table
XOR Gate
XOR gate is a combinational circuit Generally we
called Exclusive OR gate . This gate is a special type
of gate used in different types of computational circuits.
Apart from the AND, OR, NOT, NAND, and NOR gate.
The Logic Diagram Of Exclusive OR gate is as follows
Y=(A⨁B)=¯A.B+A.¯B Y=(A⨁B)=¯A.B+A.¯B
Symbol of XOR Gate
Logic Design of XOR Gate
The Truth Tables of XOR gate
A B Y = A⨁B
0 0 0
0 1 1
1 0 1
1 1 0
A B C Y = A⨁B⨁C
0 0 0 0
0 0 1 1
0 1 0 1
0 1 1 0
1 0 0 1
1 0 1 0
1 1 0 0
1 1 1 1
The Truth Table of two input XOR gate
The Truth Table for three input XOR gate
XNOR Gate
There is a complementary gate to the XOR gate, the XNOR
gate. Both gates share a common characteristic. It is simply the
combination of the XOR gate and NOT gate. XNOR gates
result in high output levels only when both of their inputs are
the same, either 0 or 1. The XNOR gate has the same symbol
as the XOR gate, but a complement sign is added. The XNOR
gate is sometimes referred to as the Equivalence gate.
Symbol of XNOR Gate
Logic Design of XNOR Gate
The Truth Tables of XNOR gate
A B Y = A⨁B
0 0 1
0 1 0
1 0 0
1 1 1
A B C Y = A⨁B⨁C
0 0 0 1
0 0 1 0
0 1 0 0
0 1 1 1
1 0 0 0
1 0 1 1
1 1 0 1
1 1 1 0
The Truth Table of two input XNOR gate
The Truth Table for three input XNOR gate
Thanks and Regards:
Anil Kumar Prajapati
Assistant Professor: Computer Science
Ad

More Related Content

What's hot (20)

Universal Gates - Aneesa N Ali
Universal Gates - Aneesa N AliUniversal Gates - Aneesa N Ali
Universal Gates - Aneesa N Ali
Dipayan Sarkar
 
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
 
SHIFT REGISTERS
SHIFT REGISTERSSHIFT REGISTERS
SHIFT REGISTERS
kumari36
 
Nand and nor
Nand and norNand and nor
Nand and nor
Zahida Pervaiz
 
Binary parallel adder
Binary parallel adderBinary parallel adder
Binary parallel adder
jignesh prajapati
 
Introduction state machine
Introduction state machineIntroduction state machine
Introduction state machine
Shreyans Pathak
 
Logic gates
Logic gatesLogic gates
Logic gates
Niläńjäň Ghóšh
 
Logic gate
Logic gateLogic gate
Logic gate
Nazim Naeem
 
Counters
CountersCounters
Counters
Ketaki_Pattani
 
Basic Logic Gates with Truth Tables.pdf
Basic Logic Gates with Truth Tables.pdfBasic Logic Gates with Truth Tables.pdf
Basic Logic Gates with Truth Tables.pdf
KINGZzofYouTube
 
DIGITAL ELECTRONICS- Logic Gates
DIGITAL ELECTRONICS- Logic GatesDIGITAL ELECTRONICS- Logic Gates
DIGITAL ELECTRONICS- Logic Gates
Trinity Dwarka
 
Booth Multiplier
Booth MultiplierBooth Multiplier
Booth Multiplier
Sudhir Kumar
 
Computer circuit logic
Computer circuit logicComputer circuit logic
Computer circuit logic
Youngik Song
 
Binary codes
Binary codesBinary codes
Binary codes
Neha Jamini
 
UNIT-IV .FINITE STATE MACHINES
UNIT-IV .FINITE STATE MACHINESUNIT-IV .FINITE STATE MACHINES
UNIT-IV .FINITE STATE MACHINES
Dr.YNM
 
Encoders and Decoders
Encoders and DecodersEncoders and Decoders
Encoders and Decoders
Nic JM
 
Logic gates
Logic gatesLogic gates
Logic gates
Asuquo Asuquo
 
Decoders-Digital Electronics
Decoders-Digital ElectronicsDecoders-Digital Electronics
Decoders-Digital Electronics
Paurav Shah
 
Modified booths algorithm part 1
Modified booths algorithm part 1Modified booths algorithm part 1
Modified booths algorithm part 1
babuece
 
Booths Multiplication Algorithm
Booths Multiplication AlgorithmBooths Multiplication Algorithm
Booths Multiplication Algorithm
knightnick
 
Universal Gates - Aneesa N Ali
Universal Gates - Aneesa N AliUniversal Gates - Aneesa N Ali
Universal Gates - Aneesa N Ali
Dipayan Sarkar
 
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
 
SHIFT REGISTERS
SHIFT REGISTERSSHIFT REGISTERS
SHIFT REGISTERS
kumari36
 
Introduction state machine
Introduction state machineIntroduction state machine
Introduction state machine
Shreyans Pathak
 
Basic Logic Gates with Truth Tables.pdf
Basic Logic Gates with Truth Tables.pdfBasic Logic Gates with Truth Tables.pdf
Basic Logic Gates with Truth Tables.pdf
KINGZzofYouTube
 
DIGITAL ELECTRONICS- Logic Gates
DIGITAL ELECTRONICS- Logic GatesDIGITAL ELECTRONICS- Logic Gates
DIGITAL ELECTRONICS- Logic Gates
Trinity Dwarka
 
Computer circuit logic
Computer circuit logicComputer circuit logic
Computer circuit logic
Youngik Song
 
UNIT-IV .FINITE STATE MACHINES
UNIT-IV .FINITE STATE MACHINESUNIT-IV .FINITE STATE MACHINES
UNIT-IV .FINITE STATE MACHINES
Dr.YNM
 
Encoders and Decoders
Encoders and DecodersEncoders and Decoders
Encoders and Decoders
Nic JM
 
Decoders-Digital Electronics
Decoders-Digital ElectronicsDecoders-Digital Electronics
Decoders-Digital Electronics
Paurav Shah
 
Modified booths algorithm part 1
Modified booths algorithm part 1Modified booths algorithm part 1
Modified booths algorithm part 1
babuece
 
Booths Multiplication Algorithm
Booths Multiplication AlgorithmBooths Multiplication Algorithm
Booths Multiplication Algorithm
knightnick
 

Similar to Digital logic Gates of Computer Science (20)

Logic circuits and design PART 3.pptx
Logic circuits and  design PART 3.pptxLogic circuits and  design PART 3.pptx
Logic circuits and design PART 3.pptx
OrlyLisondra1
 
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
 
ICT Basic Logic Gates Lessons.pptx
ICT Basic Logic Gates Lessons.pptxICT Basic Logic Gates Lessons.pptx
ICT Basic Logic Gates Lessons.pptx
ChristianVelchez2
 
combinational-circuit____gates_456788 (2).docx
combinational-circuit____gates_456788 (2).docxcombinational-circuit____gates_456788 (2).docx
combinational-circuit____gates_456788 (2).docx
Ajanya5
 
Computer System Architecture lecture 12 GLAU
Computer System Architecture lecture 12 GLAUComputer System Architecture lecture 12 GLAU
Computer System Architecture lecture 12 GLAU
kajalaman434
 
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
 
Logic Gates
Logic GatesLogic Gates
Logic Gates
Saqib Naveed
 
Logic gates and Boolean.pdf
Logic gates and Boolean.pdfLogic gates and Boolean.pdf
Logic gates and Boolean.pdf
SHETEAMISANJAYRAOSHE
 
digital electronics .pptx
digital electronics .pptxdigital electronics .pptx
digital electronics .pptx
Ajaykumar967485
 
BASIC LOGIC GATES.pdf
BASIC LOGIC GATES.pdfBASIC LOGIC GATES.pdf
BASIC LOGIC GATES.pdf
john lexter emberador
 
Logic gates
Logic gatesLogic gates
Logic gates
SAEED ULLAH JAN
 
Digital logic gates and Boolean algebra
Digital logic gates and Boolean algebraDigital logic gates and Boolean algebra
Digital logic gates and Boolean algebra
SARITHA REDDY
 
Nursing Infromatics.pptx
Nursing Infromatics.pptxNursing Infromatics.pptx
Nursing Infromatics.pptx
8759000398
 
Logic gates
Logic gatesLogic gates
Logic gates
Edmund Merren
 
Logic Gates.pdf A short evaluation and description of logic gates
Logic Gates.pdf A short evaluation and description of logic gatesLogic Gates.pdf A short evaluation and description of logic gates
Logic Gates.pdf A short evaluation and description of logic gates
freeburn simunchembu
 
Logical Gates
Logical GatesLogical Gates
Logical Gates
عطاءالمنعم اثیل شیخ
 
Logic gates
Logic gatesLogic gates
Logic gates
Sweta Kumari Barnwal
 
Logic gates and Digital system.pptx
Logic gates and Digital system.pptxLogic gates and Digital system.pptx
Logic gates and Digital system.pptx
AmiShete2
 
digital electronics.pptx Logic gates, adders
digital electronics.pptx Logic gates, addersdigital electronics.pptx Logic gates, adders
digital electronics.pptx Logic gates, adders
arunkumarS178
 
Lecture 04-Digital logic gates.pptx
Lecture 04-Digital logic gates.pptxLecture 04-Digital logic gates.pptx
Lecture 04-Digital logic gates.pptx
WilliamJosephat1
 
Logic circuits and design PART 3.pptx
Logic circuits and  design PART 3.pptxLogic circuits and  design PART 3.pptx
Logic circuits and design PART 3.pptx
OrlyLisondra1
 
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
 
ICT Basic Logic Gates Lessons.pptx
ICT Basic Logic Gates Lessons.pptxICT Basic Logic Gates Lessons.pptx
ICT Basic Logic Gates Lessons.pptx
ChristianVelchez2
 
combinational-circuit____gates_456788 (2).docx
combinational-circuit____gates_456788 (2).docxcombinational-circuit____gates_456788 (2).docx
combinational-circuit____gates_456788 (2).docx
Ajanya5
 
Computer System Architecture lecture 12 GLAU
Computer System Architecture lecture 12 GLAUComputer System Architecture lecture 12 GLAU
Computer System Architecture lecture 12 GLAU
kajalaman434
 
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
 
digital electronics .pptx
digital electronics .pptxdigital electronics .pptx
digital electronics .pptx
Ajaykumar967485
 
Digital logic gates and Boolean algebra
Digital logic gates and Boolean algebraDigital logic gates and Boolean algebra
Digital logic gates and Boolean algebra
SARITHA REDDY
 
Nursing Infromatics.pptx
Nursing Infromatics.pptxNursing Infromatics.pptx
Nursing Infromatics.pptx
8759000398
 
Logic Gates.pdf A short evaluation and description of logic gates
Logic Gates.pdf A short evaluation and description of logic gatesLogic Gates.pdf A short evaluation and description of logic gates
Logic Gates.pdf A short evaluation and description of logic gates
freeburn simunchembu
 
Logic gates and Digital system.pptx
Logic gates and Digital system.pptxLogic gates and Digital system.pptx
Logic gates and Digital system.pptx
AmiShete2
 
digital electronics.pptx Logic gates, adders
digital electronics.pptx Logic gates, addersdigital electronics.pptx Logic gates, adders
digital electronics.pptx Logic gates, adders
arunkumarS178
 
Lecture 04-Digital logic gates.pptx
Lecture 04-Digital logic gates.pptxLecture 04-Digital logic gates.pptx
Lecture 04-Digital logic gates.pptx
WilliamJosephat1
 
Ad

More from Anil Kumar Prajapati (7)

Artificial Intelligence(Machine learning & deep Learning ).pptx
Artificial Intelligence(Machine learning & deep Learning ).pptxArtificial Intelligence(Machine learning & deep Learning ).pptx
Artificial Intelligence(Machine learning & deep Learning ).pptx
Anil Kumar Prajapati
 
Intellectual Property Rights.pptx
Intellectual Property Rights.pptxIntellectual Property Rights.pptx
Intellectual Property Rights.pptx
Anil Kumar Prajapati
 
Naac criteria
Naac criteriaNaac criteria
Naac criteria
Anil Kumar Prajapati
 
Naac criteria
Naac criteriaNaac criteria
Naac criteria
Anil Kumar Prajapati
 
Stack and queue
Stack and queueStack and queue
Stack and queue
Anil Kumar Prajapati
 
Computer Number system
Computer Number systemComputer Number system
Computer Number system
Anil Kumar Prajapati
 
Data structure power point presentation
Data structure power point presentation Data structure power point presentation
Data structure power point presentation
Anil Kumar Prajapati
 
Ad

Recently uploaded (20)

How to Use Upgrade Code Command in Odoo 18
How to Use Upgrade Code Command in Odoo 18How to Use Upgrade Code Command in Odoo 18
How to Use Upgrade Code Command in Odoo 18
Celine George
 
IPL QUIZ | THE QUIZ CLUB OF PSGCAS | 2025.pdf
IPL QUIZ | THE QUIZ CLUB OF PSGCAS | 2025.pdfIPL QUIZ | THE QUIZ CLUB OF PSGCAS | 2025.pdf
IPL QUIZ | THE QUIZ CLUB OF PSGCAS | 2025.pdf
Quiz Club of PSG College of Arts & Science
 
Module 1: Foundations of Research
Module 1: Foundations of ResearchModule 1: Foundations of Research
Module 1: Foundations of Research
drroxannekemp
 
GENERAL QUIZ PRELIMS | QUIZ CLUB OF PSGCAS | 4 MARCH 2025 .pdf
GENERAL QUIZ PRELIMS | QUIZ CLUB OF PSGCAS | 4 MARCH 2025 .pdfGENERAL QUIZ PRELIMS | QUIZ CLUB OF PSGCAS | 4 MARCH 2025 .pdf
GENERAL QUIZ PRELIMS | QUIZ CLUB OF PSGCAS | 4 MARCH 2025 .pdf
Quiz Club of PSG College of Arts & Science
 
Search Matching Applicants in Odoo 18 - Odoo Slides
Search Matching Applicants in Odoo 18 - Odoo SlidesSearch Matching Applicants in Odoo 18 - Odoo Slides
Search Matching Applicants in Odoo 18 - Odoo Slides
Celine George
 
Letter to Secretary Linda McMahon from U.S. Senators
Letter to Secretary Linda McMahon from U.S. SenatorsLetter to Secretary Linda McMahon from U.S. Senators
Letter to Secretary Linda McMahon from U.S. Senators
Mebane Rash
 
IMPACT_OF_SOCIAL-MEDIA- AMONG- TEENAGERS
IMPACT_OF_SOCIAL-MEDIA- AMONG- TEENAGERSIMPACT_OF_SOCIAL-MEDIA- AMONG- TEENAGERS
IMPACT_OF_SOCIAL-MEDIA- AMONG- TEENAGERS
rajaselviazhagiri1
 
Antepartum fetal surveillance---Dr. H.K.Cheema pdf.pdf
Antepartum fetal surveillance---Dr. H.K.Cheema pdf.pdfAntepartum fetal surveillance---Dr. H.K.Cheema pdf.pdf
Antepartum fetal surveillance---Dr. H.K.Cheema pdf.pdf
Dr H.K. Cheema
 
The role of wall art in interior designing
The role of wall art in interior designingThe role of wall art in interior designing
The role of wall art in interior designing
meghaark2110
 
Mental Health Assessment in 5th semester bsc. nursing and also used in 2nd ye...
Mental Health Assessment in 5th semester bsc. nursing and also used in 2nd ye...Mental Health Assessment in 5th semester bsc. nursing and also used in 2nd ye...
Mental Health Assessment in 5th semester bsc. nursing and also used in 2nd ye...
parmarjuli1412
 
PUBH1000 Slides - Module 10: Health Promotion
PUBH1000 Slides - Module 10: Health PromotionPUBH1000 Slides - Module 10: Health Promotion
PUBH1000 Slides - Module 10: Health Promotion
JonathanHallett4
 
PUBH1000 Slides - Module 11: Governance for Health
PUBH1000 Slides - Module 11: Governance for HealthPUBH1000 Slides - Module 11: Governance for Health
PUBH1000 Slides - Module 11: Governance for Health
JonathanHallett4
 
UNITED_KINGDOM.pptUNITED_KINGDOM.pptUNITED_KINGDOM.ppt
UNITED_KINGDOM.pptUNITED_KINGDOM.pptUNITED_KINGDOM.pptUNITED_KINGDOM.pptUNITED_KINGDOM.pptUNITED_KINGDOM.ppt
UNITED_KINGDOM.pptUNITED_KINGDOM.pptUNITED_KINGDOM.ppt
lsitinova
 
20250515 Ntegra San Francisco 20250515 v15.pptx
20250515 Ntegra San Francisco 20250515 v15.pptx20250515 Ntegra San Francisco 20250515 v15.pptx
20250515 Ntegra San Francisco 20250515 v15.pptx
home
 
How To Maximize Sales Performance using Odoo 18 Diverse views in sales module
How To Maximize Sales Performance using Odoo 18 Diverse views in sales moduleHow To Maximize Sales Performance using Odoo 18 Diverse views in sales module
How To Maximize Sales Performance using Odoo 18 Diverse views in sales module
Celine George
 
A report on the county distress rankings in NC
A report on the county distress rankings in NCA report on the county distress rankings in NC
A report on the county distress rankings in NC
Mebane Rash
 
MCQS (EMERGENCY NURSING) DR. NASIR MUSTAFA
MCQS (EMERGENCY NURSING) DR. NASIR MUSTAFAMCQS (EMERGENCY NURSING) DR. NASIR MUSTAFA
MCQS (EMERGENCY NURSING) DR. NASIR MUSTAFA
Dr. Nasir Mustafa
 
materi 3D Augmented Reality dengan assemblr
materi 3D Augmented Reality dengan assemblrmateri 3D Augmented Reality dengan assemblr
materi 3D Augmented Reality dengan assemblr
fatikhatunnajikhah1
 
How to Manage Cross Selling in Odoo 18 Sales
How to Manage Cross Selling in Odoo 18 SalesHow to Manage Cross Selling in Odoo 18 Sales
How to Manage Cross Selling in Odoo 18 Sales
Celine George
 
ITI COPA Question Paper PDF 2017 Theory MCQ
ITI COPA Question Paper PDF 2017 Theory MCQITI COPA Question Paper PDF 2017 Theory MCQ
ITI COPA Question Paper PDF 2017 Theory MCQ
SONU HEETSON
 
How to Use Upgrade Code Command in Odoo 18
How to Use Upgrade Code Command in Odoo 18How to Use Upgrade Code Command in Odoo 18
How to Use Upgrade Code Command in Odoo 18
Celine George
 
Module 1: Foundations of Research
Module 1: Foundations of ResearchModule 1: Foundations of Research
Module 1: Foundations of Research
drroxannekemp
 
Search Matching Applicants in Odoo 18 - Odoo Slides
Search Matching Applicants in Odoo 18 - Odoo SlidesSearch Matching Applicants in Odoo 18 - Odoo Slides
Search Matching Applicants in Odoo 18 - Odoo Slides
Celine George
 
Letter to Secretary Linda McMahon from U.S. Senators
Letter to Secretary Linda McMahon from U.S. SenatorsLetter to Secretary Linda McMahon from U.S. Senators
Letter to Secretary Linda McMahon from U.S. Senators
Mebane Rash
 
IMPACT_OF_SOCIAL-MEDIA- AMONG- TEENAGERS
IMPACT_OF_SOCIAL-MEDIA- AMONG- TEENAGERSIMPACT_OF_SOCIAL-MEDIA- AMONG- TEENAGERS
IMPACT_OF_SOCIAL-MEDIA- AMONG- TEENAGERS
rajaselviazhagiri1
 
Antepartum fetal surveillance---Dr. H.K.Cheema pdf.pdf
Antepartum fetal surveillance---Dr. H.K.Cheema pdf.pdfAntepartum fetal surveillance---Dr. H.K.Cheema pdf.pdf
Antepartum fetal surveillance---Dr. H.K.Cheema pdf.pdf
Dr H.K. Cheema
 
The role of wall art in interior designing
The role of wall art in interior designingThe role of wall art in interior designing
The role of wall art in interior designing
meghaark2110
 
Mental Health Assessment in 5th semester bsc. nursing and also used in 2nd ye...
Mental Health Assessment in 5th semester bsc. nursing and also used in 2nd ye...Mental Health Assessment in 5th semester bsc. nursing and also used in 2nd ye...
Mental Health Assessment in 5th semester bsc. nursing and also used in 2nd ye...
parmarjuli1412
 
PUBH1000 Slides - Module 10: Health Promotion
PUBH1000 Slides - Module 10: Health PromotionPUBH1000 Slides - Module 10: Health Promotion
PUBH1000 Slides - Module 10: Health Promotion
JonathanHallett4
 
PUBH1000 Slides - Module 11: Governance for Health
PUBH1000 Slides - Module 11: Governance for HealthPUBH1000 Slides - Module 11: Governance for Health
PUBH1000 Slides - Module 11: Governance for Health
JonathanHallett4
 
UNITED_KINGDOM.pptUNITED_KINGDOM.pptUNITED_KINGDOM.ppt
UNITED_KINGDOM.pptUNITED_KINGDOM.pptUNITED_KINGDOM.pptUNITED_KINGDOM.pptUNITED_KINGDOM.pptUNITED_KINGDOM.ppt
UNITED_KINGDOM.pptUNITED_KINGDOM.pptUNITED_KINGDOM.ppt
lsitinova
 
20250515 Ntegra San Francisco 20250515 v15.pptx
20250515 Ntegra San Francisco 20250515 v15.pptx20250515 Ntegra San Francisco 20250515 v15.pptx
20250515 Ntegra San Francisco 20250515 v15.pptx
home
 
How To Maximize Sales Performance using Odoo 18 Diverse views in sales module
How To Maximize Sales Performance using Odoo 18 Diverse views in sales moduleHow To Maximize Sales Performance using Odoo 18 Diverse views in sales module
How To Maximize Sales Performance using Odoo 18 Diverse views in sales module
Celine George
 
A report on the county distress rankings in NC
A report on the county distress rankings in NCA report on the county distress rankings in NC
A report on the county distress rankings in NC
Mebane Rash
 
MCQS (EMERGENCY NURSING) DR. NASIR MUSTAFA
MCQS (EMERGENCY NURSING) DR. NASIR MUSTAFAMCQS (EMERGENCY NURSING) DR. NASIR MUSTAFA
MCQS (EMERGENCY NURSING) DR. NASIR MUSTAFA
Dr. Nasir Mustafa
 
materi 3D Augmented Reality dengan assemblr
materi 3D Augmented Reality dengan assemblrmateri 3D Augmented Reality dengan assemblr
materi 3D Augmented Reality dengan assemblr
fatikhatunnajikhah1
 
How to Manage Cross Selling in Odoo 18 Sales
How to Manage Cross Selling in Odoo 18 SalesHow to Manage Cross Selling in Odoo 18 Sales
How to Manage Cross Selling in Odoo 18 Sales
Celine George
 
ITI COPA Question Paper PDF 2017 Theory MCQ
ITI COPA Question Paper PDF 2017 Theory MCQITI COPA Question Paper PDF 2017 Theory MCQ
ITI COPA Question Paper PDF 2017 Theory MCQ
SONU HEETSON
 

Digital logic Gates of Computer Science

  • 1. Digital Logic Gates of Computer Science Prof. Anil Kumar Prajapati Govt. Madhav Science PG College
  • 2. What is the gates A logic gate consists of a series of transistors connected together to produce one or more outputs, each determined by the input or combination of inputs supplied to it. Logic gates are the most important component of a digital system. They are pieces of hardware that produce binary signals 1 or 0 when their input logic requirements are satisfied. They have their own graphic symbols, and their operation can be explained by algebra. there are seven different types gates are available such as AND, OR, NOT, NAND, NOR, XOR And XNOR. They have their own symbols. let's understand them.
  • 3. Gates We will understand different logic gates in this section such as,  AND Gate  OR Gate  NOT Gate  NAND Gate  NOR Gate  XOR Gate  XNOR Gate
  • 4. AND Gate The AND gate is an electronic circuit uses two inputs to generate one output. The output is 1 (true) only if both of the inputs are 1 (true). The dot (.) is used to represent the AND operation. This operation works on multiplication. the gate also available in three input A B Y= A.B A B C Y= A.B.C
  • 5. Truth tables of AND Gate A B Y = A.B 0 0 0 0 1 0 1 0 0 1 1 1 A B C Y = A.B.C 0 0 0 0 0 0 1 0 0 1 0 0 1 1 1 0 1 0 0 0 1 0 1 0 1 1 0 1 Two Input AND gate truth table Three Input AND gate truth table
  • 6. OR Gate OR gates are digital logic gates that have two or more inputs and one output that performs a logical disconnection. The output of an OR gate is true when one or more of its inputs are true. If all of an OR gate's inputs are false, then the output of the OR gate is false. A A A A A Y=A+B Y=A+B+C
  • 7. Truth tables of OR Gate A B Y= A+B 0 0 0 0 1 1 1 0 1 1 1 1 A B C Y=A+B+C 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 Two Input OR gate truth table Three Input OR gate truth table
  • 8. NOT Gate The NOT gate is a single input single output gate. This gate is also referred to as an inverter since it performs the inversion of the binary data, i.e., converting 0 into 1 or 1 into 0. Symbol and Truth table of NOT Gate A A Y = A 0 1 1 0 Y= A
  • 9. NAND Gate A NAND gate is a special type of logic gate in the digital logic circuit. It is the universal gate, which implies that all the basic gates, such as the AND, OR, and NOT gates, can be constructed using the NAND gate. The NAND gate is the combination of the NOT-AND gate. A B Y= A.B A B C Y= A.B.C
  • 10. Truth tables of NAND Gate A B Y = A.B 0 0 1 0 1 1 1 0 1 1 1 0 A B C Y = A.B.C 0 0 0 1 0 0 1 1 0 1 0 1 1 1 1 1 1 0 0 1 1 0 1 1 1 1 0 0 Two Input NAND gate truth table Three Input NAND gate truth table
  • 11. NOR Gate A A A A A Y=A+B Y=A+B+C NOR gate is Universal Gate like NAND Gate. therefore we also create all basic gates employing the NOR Gate. The NOR gate is the combination of the NOT-OR gate. The output state of the NOR gate will be high only when all of the inputs are low. Simply, this gate returns the complement result of the OR gate.
  • 12. Truth tables of NOR Gate A B Y= A+B 0 0 1 0 1 0 1 0 0 1 1 0 A B C Y=A+B+C 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 Two Input NOR gate truth table Three Input NOR gate truth table
  • 13. XOR Gate XOR gate is a combinational circuit Generally we called Exclusive OR gate . This gate is a special type of gate used in different types of computational circuits. Apart from the AND, OR, NOT, NAND, and NOR gate. The Logic Diagram Of Exclusive OR gate is as follows Y=(A⨁B)=¯A.B+A.¯B Y=(A⨁B)=¯A.B+A.¯B Symbol of XOR Gate Logic Design of XOR Gate
  • 14. The Truth Tables of XOR gate A B Y = A⨁B 0 0 0 0 1 1 1 0 1 1 1 0 A B C Y = A⨁B⨁C 0 0 0 0 0 0 1 1 0 1 0 1 0 1 1 0 1 0 0 1 1 0 1 0 1 1 0 0 1 1 1 1 The Truth Table of two input XOR gate The Truth Table for three input XOR gate
  • 15. XNOR Gate There is a complementary gate to the XOR gate, the XNOR gate. Both gates share a common characteristic. It is simply the combination of the XOR gate and NOT gate. XNOR gates result in high output levels only when both of their inputs are the same, either 0 or 1. The XNOR gate has the same symbol as the XOR gate, but a complement sign is added. The XNOR gate is sometimes referred to as the Equivalence gate. Symbol of XNOR Gate Logic Design of XNOR Gate
  • 16. The Truth Tables of XNOR gate A B Y = A⨁B 0 0 1 0 1 0 1 0 0 1 1 1 A B C Y = A⨁B⨁C 0 0 0 1 0 0 1 0 0 1 0 0 0 1 1 1 1 0 0 0 1 0 1 1 1 1 0 1 1 1 1 0 The Truth Table of two input XNOR gate The Truth Table for three input XNOR gate
  • 17. Thanks and Regards: Anil Kumar Prajapati Assistant Professor: Computer Science
  翻译: