SlideShare a Scribd company logo
REPRESENTATION OF GATES
1. Logic diagrams
2. Truth tables
3. Boolean expressions
1
Representation of Gates
• There are three different, but equally
powerful, notational methods
for describing the behavior of gates
and circuits
– Logic diagrams
– Truth tables
– Boolean expressions
2
1- Logic diagram
• Logic diagram: a graphical representation
of a circuit
– Each type of gate is represented by a specific
graphical symbol
3
2- Truth table
• Truth table: defines the function of a gate
by listing all possible input combinations
that the gate could encounter, and the
corresponding output
4
3- Boolean algebra
• Boolean algebra: expressions in this
algebraic notation are an elegant and
powerful way to demonstrate the activity of
electrical circuits
 AND is denoted by a dot (.)
OR is denoted by a plus (+).
NOT is denoted by a single quote mark (')
after the variable or an overbar ( ¯ ).
XOR is denoted by
5
Note
The statement:
1 + 1 = 2 (read “one plus one equals two”) is
not the same as 1 + 1 = 1 (read “1 or 1
equals 1”).
1.1 = 1 ( read 1 AND 1 equals 1 )
6
TYPES OF GATES
7
Types of Gates
• Let’s examine the processing of the following
seven types of gates
– NOT
– AND
– OR
– XOR
– NAND
– NOR
– XNOR
Three Basic Gate Functions
Additional Gate Functions
8
 Three Basic Gate Functions
 Using these three gates we can design any
logic circuit.
 Additional Gate Functions
 We will define four additional gates which aid
circuit design.
Types of Gates
9
THREE BASIC GATE FUNCTIONS
1. NOT
2. AND
3. OR
10
NOT Gate Representation
• A NOT gate accepts one input value
and produces one output value
Figure 4.1 Various representations of a NOT gate
To illustrate how it works visually .. Check this link: https://logic.ly/lessons/
11
What NOT Gate Means
• By definition, if the input value for a NOT
gate is 0, the output value is 1, and if the
input value is 1, the output is 0
• A NOT gate is sometimes referred to as
an inverter because it inverts the input
value
12
Example of NOT Gate
e.g. I turn on the heating if it is NOT hot
if A = hot and Y = Heating on then:
where the bar represents logical NOT.
A
Y 
13
Practical Application of “Not”
Logic Gate
14
AND Gate Representation
• An AND gate accepts two input signals
• If the two input values for an AND gate are
both 1, the output is 1; otherwise, the
output is 0
Figure 4.2 Various representations of an AND gate
To illustrate how it works visually .. Check this link: https://logic.ly/lessons/
15
Example of AND gate
e.g. I get up early if I have lectures AND it is a weekday
he said if A = lecture B = weekday and Y = get up early
then he said you can write:
where the dot represents logical AND.
Thus ,
If 1 represents TRUE and 0 represents FALSE
then the function can be defined in a truth table.
B
A
Y 

Logic Gates 16
How AND Gate Work
17
Practical Application of “AND”
Logic Gate
18
OR Gate Representation
• If the two input values are both 0, the
output value is 0; otherwise, the output is 1
Figure 4.3 Various representations of a OR gate
To illustrate how it works visually .. Check this link: https://logic.ly/lessons/
19
How OR Gate Work
20
Example of OR Gate
e.g. I turn on my headlights if it is dark OR it is raining
if A = dark B = raining and Y = headlights on then:
where the + sign represents logical OR.
B
A
Y 

21
Practical Application of “OR”
Logic Gate
22
ADDITIONAL GATES FUNCTIONS
1. XOR
2. NAND
3. NOR
4. XNOR 23
What XOR Gate Means
• XOR, or exclusive OR, gate
– An XOR gate produces 0 if its two inputs are
the same, and a 1 otherwise
– Note the difference between the XOR gate
and the OR gate; they differ only in one
input situation
 When both input signals are 1, the OR gate
produces a 1 and the XOR produces a 0
24
XOR Gate Representation
Figure 4.4 Various representations of an XOR gate
To illustrate how it works visually .. Check this link: https://logic.ly/lessons/
25
NAND and NOR Gates
• The NAND and NOR gates are essentially the
opposite of the AND and OR gates, respectively
Figure 4.5 Various representations
of a NAND gate
Figure 4.6 Various representations
of a NOR gate
To illustrate how it works visually .. Check this link: https://logic.ly/lessons/
26
How NAND Gate Work
27
How NOR Gate Work
28
XNOR
The XNOR gate is essentially the opposite of the XOR.
To illustrate how it works visually .. Check this link: https://logic.ly/lessons/
29
Conclusion
• Logic Gate is an electronic circuit which
receive one or more than one input and deliver
single output.
• There are seven logic gates. NOT , OR , AND
are the basic logic gates. NOR , NAND, XOR ,
NXOR are the additional logic gates.
• A NOT gate inverts its single input value.
• An AND gate produces 1 if both input values
are 1.
• An OR gate produces 1 if one or the other or
both input values are 1. 30
Conclusion
• An XOR gate produces 1 if one or the other
(but not both) input values are 1.
• A NAND gate produces the opposite results
of an AND gate.
• A NOR gate produces the opposite results of
an OR gate.
• A XNOR gate produces the opposite results
of an XOR gate.
• NAND and NOR gates are referred to as
universal gates as the three basic gates can
be constructed using either one of the two. 31
Conclusion
32
Conclusion
33

More Related Content

Similar to 12733771.ppt

BASIC LOGIC GATES.pdf
BASIC LOGIC GATES.pdfBASIC LOGIC GATES.pdf
BASIC LOGIC GATES.pdf
john lexter emberador
 
Basic logic gates
Basic logic gatesBasic logic gates
Basic logic gates
Param Radadiya
 
Boolean Aljabra.pptx of dld and computer
Boolean Aljabra.pptx of dld and computerBoolean Aljabra.pptx of dld and computer
Boolean Aljabra.pptx of dld and computer
itxminahil29
 
assignment_mathematics.pptx
assignment_mathematics.pptxassignment_mathematics.pptx
assignment_mathematics.pptx
AravindaAKumar1
 
ICT Basic Logic Gates Lessons.pptx
ICT Basic Logic Gates Lessons.pptxICT Basic Logic Gates Lessons.pptx
ICT Basic Logic Gates Lessons.pptx
ChristianVelchez2
 
Lecture 04-Digital logic gates.pptx
Lecture 04-Digital logic gates.pptxLecture 04-Digital logic gates.pptx
Lecture 04-Digital logic gates.pptx
WilliamJosephat1
 
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
Rojin Khadka
 
Module 4 Logic Circuits.pptx
Module 4 Logic Circuits.pptxModule 4 Logic Circuits.pptx
Module 4 Logic Circuits.pptx
DrVaibhavMeshram
 
logic gates
logic gateslogic gates
Logic gates
Logic gatesLogic gates
Logic gates
Edmund Merren
 
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 logic gates and Boolean algebra
Digital logic gates and Boolean algebraDigital logic gates and Boolean algebra
Digital logic gates and Boolean algebra
SARITHA REDDY
 
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 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
 
Computer architecture 1
Computer architecture  1Computer architecture  1
Computer architecture 1
Ramakrishna Reddy Bijjam
 
1,basic and derived logic gates.pdf
1,basic and derived logic gates.pdf1,basic and derived logic gates.pdf
1,basic and derived logic gates.pdf
DamotTesfaye
 
chapter 3 Boolean algebra (2).pptx
chapter 3 Boolean algebra (2).pptxchapter 3 Boolean algebra (2).pptx
chapter 3 Boolean algebra (2).pptx
RithinA1
 
Digital Logic Gates .pptx
Digital Logic Gates .pptxDigital Logic Gates .pptx
Digital Logic Gates .pptx
MdMeshkatHasan213331
 
Logic gates ,flip flop ,registers and
Logic gates ,flip flop ,registers andLogic gates ,flip flop ,registers and
Logic gates ,flip flop ,registers and
MuruganandhanD
 
basic logic gates
 basic logic gates basic logic gates
basic logic gates
vishal gupta
 

Similar to 12733771.ppt (20)

BASIC LOGIC GATES.pdf
BASIC LOGIC GATES.pdfBASIC LOGIC GATES.pdf
BASIC LOGIC GATES.pdf
 
Basic logic gates
Basic logic gatesBasic logic gates
Basic logic gates
 
Boolean Aljabra.pptx of dld and computer
Boolean Aljabra.pptx of dld and computerBoolean Aljabra.pptx of dld and computer
Boolean Aljabra.pptx of dld and computer
 
assignment_mathematics.pptx
assignment_mathematics.pptxassignment_mathematics.pptx
assignment_mathematics.pptx
 
ICT Basic Logic Gates Lessons.pptx
ICT Basic Logic Gates Lessons.pptxICT Basic Logic Gates Lessons.pptx
ICT Basic Logic Gates Lessons.pptx
 
Lecture 04-Digital logic gates.pptx
Lecture 04-Digital logic gates.pptxLecture 04-Digital logic gates.pptx
Lecture 04-Digital 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
 
Module 4 Logic Circuits.pptx
Module 4 Logic Circuits.pptxModule 4 Logic Circuits.pptx
Module 4 Logic Circuits.pptx
 
logic gates
logic gateslogic gates
logic gates
 
Logic gates
Logic gatesLogic gates
Logic gates
 
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
 
Digital logic gates and Boolean algebra
Digital logic gates and Boolean algebraDigital logic gates and Boolean algebra
Digital logic gates and Boolean algebra
 
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
 
Digital logic Gates of Computer Science
Digital logic Gates of Computer ScienceDigital logic Gates of Computer Science
Digital logic Gates of Computer Science
 
Computer architecture 1
Computer architecture  1Computer architecture  1
Computer architecture 1
 
1,basic and derived logic gates.pdf
1,basic and derived logic gates.pdf1,basic and derived logic gates.pdf
1,basic and derived logic gates.pdf
 
chapter 3 Boolean algebra (2).pptx
chapter 3 Boolean algebra (2).pptxchapter 3 Boolean algebra (2).pptx
chapter 3 Boolean algebra (2).pptx
 
Digital Logic Gates .pptx
Digital Logic Gates .pptxDigital Logic Gates .pptx
Digital Logic Gates .pptx
 
Logic gates ,flip flop ,registers and
Logic gates ,flip flop ,registers andLogic gates ,flip flop ,registers and
Logic gates ,flip flop ,registers and
 
basic logic gates
 basic logic gates basic logic gates
basic logic gates
 

Recently uploaded

End-to-end pipeline agility - Berlin Buzzwords 2024
End-to-end pipeline agility - Berlin Buzzwords 2024End-to-end pipeline agility - Berlin Buzzwords 2024
End-to-end pipeline agility - Berlin Buzzwords 2024
Lars Albertsson
 
一比一原版(GWU,GW文凭证书)乔治·华盛顿大学毕业证如何办理
一比一原版(GWU,GW文凭证书)乔治·华盛顿大学毕业证如何办理一比一原版(GWU,GW文凭证书)乔治·华盛顿大学毕业证如何办理
一比一原版(GWU,GW文凭证书)乔治·华盛顿大学毕业证如何办理
bopyb
 
Open Source Contributions to Postgres: The Basics POSETTE 2024
Open Source Contributions to Postgres: The Basics POSETTE 2024Open Source Contributions to Postgres: The Basics POSETTE 2024
Open Source Contributions to Postgres: The Basics POSETTE 2024
ElizabethGarrettChri
 
一比一原版澳洲西澳大学毕业证(uwa毕业证书)如何办理
一比一原版澳洲西澳大学毕业证(uwa毕业证书)如何办理一比一原版澳洲西澳大学毕业证(uwa毕业证书)如何办理
一比一原版澳洲西澳大学毕业证(uwa毕业证书)如何办理
aguty
 
一比一原版多伦多大学毕业证(UofT毕业证书)学历如何办理
一比一原版多伦多大学毕业证(UofT毕业证书)学历如何办理一比一原版多伦多大学毕业证(UofT毕业证书)学历如何办理
一比一原版多伦多大学毕业证(UofT毕业证书)学历如何办理
eoxhsaa
 
4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...
4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...
4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...
Social Samosa
 
writing report business partner b1+ .pdf
writing report business partner b1+ .pdfwriting report business partner b1+ .pdf
writing report business partner b1+ .pdf
VyNguyen709676
 
The Ipsos - AI - Monitor 2024 Report.pdf
The  Ipsos - AI - Monitor 2024 Report.pdfThe  Ipsos - AI - Monitor 2024 Report.pdf
The Ipsos - AI - Monitor 2024 Report.pdf
Social Samosa
 
Beyond the Basics of A/B Tests: Highly Innovative Experimentation Tactics You...
Beyond the Basics of A/B Tests: Highly Innovative Experimentation Tactics You...Beyond the Basics of A/B Tests: Highly Innovative Experimentation Tactics You...
Beyond the Basics of A/B Tests: Highly Innovative Experimentation Tactics You...
Aggregage
 
A presentation that explain the Power BI Licensing
A presentation that explain the Power BI LicensingA presentation that explain the Power BI Licensing
A presentation that explain the Power BI Licensing
AlessioFois2
 
一比一原版(UO毕业证)渥太华大学毕业证如何办理
一比一原版(UO毕业证)渥太华大学毕业证如何办理一比一原版(UO毕业证)渥太华大学毕业证如何办理
一比一原版(UO毕业证)渥太华大学毕业证如何办理
aqzctr7x
 
一比一原版(曼大毕业证书)曼尼托巴大学毕业证如何办理
一比一原版(曼大毕业证书)曼尼托巴大学毕业证如何办理一比一原版(曼大毕业证书)曼尼托巴大学毕业证如何办理
一比一原版(曼大毕业证书)曼尼托巴大学毕业证如何办理
ytypuem
 
Template xxxxxxxx ssssssssssss Sertifikat.pptx
Template xxxxxxxx ssssssssssss Sertifikat.pptxTemplate xxxxxxxx ssssssssssss Sertifikat.pptx
Template xxxxxxxx ssssssssssss Sertifikat.pptx
TeukuEriSyahputra
 
一比一原版南十字星大学毕业证(SCU毕业证书)学历如何办理
一比一原版南十字星大学毕业证(SCU毕业证书)学历如何办理一比一原版南十字星大学毕业证(SCU毕业证书)学历如何办理
一比一原版南十字星大学毕业证(SCU毕业证书)学历如何办理
slg6lamcq
 
DSSML24_tspann_CodelessGenerativeAIPipelines
DSSML24_tspann_CodelessGenerativeAIPipelinesDSSML24_tspann_CodelessGenerativeAIPipelines
DSSML24_tspann_CodelessGenerativeAIPipelines
Timothy Spann
 
一比一原版(Sheffield毕业证书)谢菲尔德大学毕业证如何办理
一比一原版(Sheffield毕业证书)谢菲尔德大学毕业证如何办理一比一原版(Sheffield毕业证书)谢菲尔德大学毕业证如何办理
一比一原版(Sheffield毕业证书)谢菲尔德大学毕业证如何办理
1tyxnjpia
 
一比一原版英属哥伦比亚大学毕业证(UBC毕业证书)学历如何办理
一比一原版英属哥伦比亚大学毕业证(UBC毕业证书)学历如何办理一比一原版英属哥伦比亚大学毕业证(UBC毕业证书)学历如何办理
一比一原版英属哥伦比亚大学毕业证(UBC毕业证书)学历如何办理
z6osjkqvd
 
Building a Quantum Computer Neutral Atom.pdf
Building a Quantum Computer Neutral Atom.pdfBuilding a Quantum Computer Neutral Atom.pdf
Building a Quantum Computer Neutral Atom.pdf
cjimenez2581
 
一比一原版卡尔加里大学毕业证(uc毕业证)如何办理
一比一原版卡尔加里大学毕业证(uc毕业证)如何办理一比一原版卡尔加里大学毕业证(uc毕业证)如何办理
一比一原版卡尔加里大学毕业证(uc毕业证)如何办理
oaxefes
 
一比一原版英国赫特福德大学毕业证(hertfordshire毕业证书)如何办理
一比一原版英国赫特福德大学毕业证(hertfordshire毕业证书)如何办理一比一原版英国赫特福德大学毕业证(hertfordshire毕业证书)如何办理
一比一原版英国赫特福德大学毕业证(hertfordshire毕业证书)如何办理
nyvan3
 

Recently uploaded (20)

End-to-end pipeline agility - Berlin Buzzwords 2024
End-to-end pipeline agility - Berlin Buzzwords 2024End-to-end pipeline agility - Berlin Buzzwords 2024
End-to-end pipeline agility - Berlin Buzzwords 2024
 
一比一原版(GWU,GW文凭证书)乔治·华盛顿大学毕业证如何办理
一比一原版(GWU,GW文凭证书)乔治·华盛顿大学毕业证如何办理一比一原版(GWU,GW文凭证书)乔治·华盛顿大学毕业证如何办理
一比一原版(GWU,GW文凭证书)乔治·华盛顿大学毕业证如何办理
 
Open Source Contributions to Postgres: The Basics POSETTE 2024
Open Source Contributions to Postgres: The Basics POSETTE 2024Open Source Contributions to Postgres: The Basics POSETTE 2024
Open Source Contributions to Postgres: The Basics POSETTE 2024
 
一比一原版澳洲西澳大学毕业证(uwa毕业证书)如何办理
一比一原版澳洲西澳大学毕业证(uwa毕业证书)如何办理一比一原版澳洲西澳大学毕业证(uwa毕业证书)如何办理
一比一原版澳洲西澳大学毕业证(uwa毕业证书)如何办理
 
一比一原版多伦多大学毕业证(UofT毕业证书)学历如何办理
一比一原版多伦多大学毕业证(UofT毕业证书)学历如何办理一比一原版多伦多大学毕业证(UofT毕业证书)学历如何办理
一比一原版多伦多大学毕业证(UofT毕业证书)学历如何办理
 
4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...
4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...
4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...
 
writing report business partner b1+ .pdf
writing report business partner b1+ .pdfwriting report business partner b1+ .pdf
writing report business partner b1+ .pdf
 
The Ipsos - AI - Monitor 2024 Report.pdf
The  Ipsos - AI - Monitor 2024 Report.pdfThe  Ipsos - AI - Monitor 2024 Report.pdf
The Ipsos - AI - Monitor 2024 Report.pdf
 
Beyond the Basics of A/B Tests: Highly Innovative Experimentation Tactics You...
Beyond the Basics of A/B Tests: Highly Innovative Experimentation Tactics You...Beyond the Basics of A/B Tests: Highly Innovative Experimentation Tactics You...
Beyond the Basics of A/B Tests: Highly Innovative Experimentation Tactics You...
 
A presentation that explain the Power BI Licensing
A presentation that explain the Power BI LicensingA presentation that explain the Power BI Licensing
A presentation that explain the Power BI Licensing
 
一比一原版(UO毕业证)渥太华大学毕业证如何办理
一比一原版(UO毕业证)渥太华大学毕业证如何办理一比一原版(UO毕业证)渥太华大学毕业证如何办理
一比一原版(UO毕业证)渥太华大学毕业证如何办理
 
一比一原版(曼大毕业证书)曼尼托巴大学毕业证如何办理
一比一原版(曼大毕业证书)曼尼托巴大学毕业证如何办理一比一原版(曼大毕业证书)曼尼托巴大学毕业证如何办理
一比一原版(曼大毕业证书)曼尼托巴大学毕业证如何办理
 
Template xxxxxxxx ssssssssssss Sertifikat.pptx
Template xxxxxxxx ssssssssssss Sertifikat.pptxTemplate xxxxxxxx ssssssssssss Sertifikat.pptx
Template xxxxxxxx ssssssssssss Sertifikat.pptx
 
一比一原版南十字星大学毕业证(SCU毕业证书)学历如何办理
一比一原版南十字星大学毕业证(SCU毕业证书)学历如何办理一比一原版南十字星大学毕业证(SCU毕业证书)学历如何办理
一比一原版南十字星大学毕业证(SCU毕业证书)学历如何办理
 
DSSML24_tspann_CodelessGenerativeAIPipelines
DSSML24_tspann_CodelessGenerativeAIPipelinesDSSML24_tspann_CodelessGenerativeAIPipelines
DSSML24_tspann_CodelessGenerativeAIPipelines
 
一比一原版(Sheffield毕业证书)谢菲尔德大学毕业证如何办理
一比一原版(Sheffield毕业证书)谢菲尔德大学毕业证如何办理一比一原版(Sheffield毕业证书)谢菲尔德大学毕业证如何办理
一比一原版(Sheffield毕业证书)谢菲尔德大学毕业证如何办理
 
一比一原版英属哥伦比亚大学毕业证(UBC毕业证书)学历如何办理
一比一原版英属哥伦比亚大学毕业证(UBC毕业证书)学历如何办理一比一原版英属哥伦比亚大学毕业证(UBC毕业证书)学历如何办理
一比一原版英属哥伦比亚大学毕业证(UBC毕业证书)学历如何办理
 
Building a Quantum Computer Neutral Atom.pdf
Building a Quantum Computer Neutral Atom.pdfBuilding a Quantum Computer Neutral Atom.pdf
Building a Quantum Computer Neutral Atom.pdf
 
一比一原版卡尔加里大学毕业证(uc毕业证)如何办理
一比一原版卡尔加里大学毕业证(uc毕业证)如何办理一比一原版卡尔加里大学毕业证(uc毕业证)如何办理
一比一原版卡尔加里大学毕业证(uc毕业证)如何办理
 
一比一原版英国赫特福德大学毕业证(hertfordshire毕业证书)如何办理
一比一原版英国赫特福德大学毕业证(hertfordshire毕业证书)如何办理一比一原版英国赫特福德大学毕业证(hertfordshire毕业证书)如何办理
一比一原版英国赫特福德大学毕业证(hertfordshire毕业证书)如何办理
 

12733771.ppt

  • 1. REPRESENTATION OF GATES 1. Logic diagrams 2. Truth tables 3. Boolean expressions 1
  • 2. Representation of Gates • There are three different, but equally powerful, notational methods for describing the behavior of gates and circuits – Logic diagrams – Truth tables – Boolean expressions 2
  • 3. 1- Logic diagram • Logic diagram: a graphical representation of a circuit – Each type of gate is represented by a specific graphical symbol 3
  • 4. 2- Truth table • Truth table: defines the function of a gate by listing all possible input combinations that the gate could encounter, and the corresponding output 4
  • 5. 3- Boolean algebra • Boolean algebra: expressions in this algebraic notation are an elegant and powerful way to demonstrate the activity of electrical circuits  AND is denoted by a dot (.) OR is denoted by a plus (+). NOT is denoted by a single quote mark (') after the variable or an overbar ( ¯ ). XOR is denoted by 5
  • 6. Note The statement: 1 + 1 = 2 (read “one plus one equals two”) is not the same as 1 + 1 = 1 (read “1 or 1 equals 1”). 1.1 = 1 ( read 1 AND 1 equals 1 ) 6
  • 8. Types of Gates • Let’s examine the processing of the following seven types of gates – NOT – AND – OR – XOR – NAND – NOR – XNOR Three Basic Gate Functions Additional Gate Functions 8
  • 9.  Three Basic Gate Functions  Using these three gates we can design any logic circuit.  Additional Gate Functions  We will define four additional gates which aid circuit design. Types of Gates 9
  • 10. THREE BASIC GATE FUNCTIONS 1. NOT 2. AND 3. OR 10
  • 11. NOT Gate Representation • A NOT gate accepts one input value and produces one output value Figure 4.1 Various representations of a NOT gate To illustrate how it works visually .. Check this link: https://logic.ly/lessons/ 11
  • 12. What NOT Gate Means • By definition, if the input value for a NOT gate is 0, the output value is 1, and if the input value is 1, the output is 0 • A NOT gate is sometimes referred to as an inverter because it inverts the input value 12
  • 13. Example of NOT Gate e.g. I turn on the heating if it is NOT hot if A = hot and Y = Heating on then: where the bar represents logical NOT. A Y  13
  • 14. Practical Application of “Not” Logic Gate 14
  • 15. AND Gate Representation • An AND gate accepts two input signals • If the two input values for an AND gate are both 1, the output is 1; otherwise, the output is 0 Figure 4.2 Various representations of an AND gate To illustrate how it works visually .. Check this link: https://logic.ly/lessons/ 15
  • 16. Example of AND gate e.g. I get up early if I have lectures AND it is a weekday he said if A = lecture B = weekday and Y = get up early then he said you can write: where the dot represents logical AND. Thus , If 1 represents TRUE and 0 represents FALSE then the function can be defined in a truth table. B A Y   Logic Gates 16
  • 17. How AND Gate Work 17
  • 18. Practical Application of “AND” Logic Gate 18
  • 19. OR Gate Representation • If the two input values are both 0, the output value is 0; otherwise, the output is 1 Figure 4.3 Various representations of a OR gate To illustrate how it works visually .. Check this link: https://logic.ly/lessons/ 19
  • 20. How OR Gate Work 20
  • 21. Example of OR Gate e.g. I turn on my headlights if it is dark OR it is raining if A = dark B = raining and Y = headlights on then: where the + sign represents logical OR. B A Y   21
  • 22. Practical Application of “OR” Logic Gate 22
  • 23. ADDITIONAL GATES FUNCTIONS 1. XOR 2. NAND 3. NOR 4. XNOR 23
  • 24. What XOR Gate Means • XOR, or exclusive OR, gate – An XOR gate produces 0 if its two inputs are the same, and a 1 otherwise – Note the difference between the XOR gate and the OR gate; they differ only in one input situation  When both input signals are 1, the OR gate produces a 1 and the XOR produces a 0 24
  • 25. XOR Gate Representation Figure 4.4 Various representations of an XOR gate To illustrate how it works visually .. Check this link: https://logic.ly/lessons/ 25
  • 26. NAND and NOR Gates • The NAND and NOR gates are essentially the opposite of the AND and OR gates, respectively Figure 4.5 Various representations of a NAND gate Figure 4.6 Various representations of a NOR gate To illustrate how it works visually .. Check this link: https://logic.ly/lessons/ 26
  • 27. How NAND Gate Work 27
  • 28. How NOR Gate Work 28
  • 29. XNOR The XNOR gate is essentially the opposite of the XOR. To illustrate how it works visually .. Check this link: https://logic.ly/lessons/ 29
  • 30. Conclusion • Logic Gate is an electronic circuit which receive one or more than one input and deliver single output. • There are seven logic gates. NOT , OR , AND are the basic logic gates. NOR , NAND, XOR , NXOR are the additional logic gates. • A NOT gate inverts its single input value. • An AND gate produces 1 if both input values are 1. • An OR gate produces 1 if one or the other or both input values are 1. 30
  • 31. Conclusion • An XOR gate produces 1 if one or the other (but not both) input values are 1. • A NAND gate produces the opposite results of an AND gate. • A NOR gate produces the opposite results of an OR gate. • A XNOR gate produces the opposite results of an XOR gate. • NAND and NOR gates are referred to as universal gates as the three basic gates can be constructed using either one of the two. 31

Editor's Notes

  1. When the temperature falls below 20c the Not gate will set on the central heating system (cool huh).
  2. So while going out of the house you set the "Alarm Switch" and if the burglar enters he will set the "Person switch", and tada the alarm will ring.
  3. You would of course want your doorbell to ring when someone presses either the front door switch or the back door switch..(nice).