0% found this document useful (0 votes)
18 views

Logic Gates

computer studies logic gates

Uploaded by

Gonzalo Portal
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
18 views

Logic Gates

computer studies logic gates

Uploaded by

Gonzalo Portal
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 15

Logic Gates

OBJECTIVES
•Define logic gate
•Different types of logic gate (basic and
universal gate)
•Interpret truth tables and logic
expression
•Application of logic gates
What is a gate?
•A gate is a digital electronic device that
operates on one or more binary inputs
to produce a binary output based on a
certain logic function.
Logic gate
• A logic gate is a fundamental building block
of digital circuits, performing a Boolean
function based on one or more input signals
to produce a single output signal.
• Logic refers to the study or use of valid reasoning
or principles to deduce correct conclusions or
make decisions based on consistent rules and
patterns.
Basic Logic gate
AND Gate
OR Gate
Not Gate
Universal gates
NAND gate
NOR gate
Other gates
⊕XOR gate
⊕XNOR gate
AND Gate
Generates a high or logic 1 output, only when all the inputs applied to
it are high or logic 1.
It is denoted by a dote (.) sign in an expression which can sometimes
be omitted
It takes in two or more inputs producing one output
INPUT OUTPUT
A B A.B
0 0 0
0 1 0
1 0 0
1 1 1
OR Gate
Produces high output if one of the input is high or
both
Takes in 2 or more input producing 1 output
It is denoted by a plus sign (+) in an expression
INPUT OUTPUT
A B A+B
0 0 0
0 1 1
1 0 1
1 1 1
Buffer and NOT gate
A buffer in logic gates is used to amplify signals, isolate different parts of a
circuit, or match impedance between different parts of a circuit.
A NOT GATE is an inverter
A note gate is denoted by an over bar in an expression
produces an output that is the inverse (complement) of its input.
It takes in 1 input producing 1 output
NAND Gate
A NAND gate is a fundamental digital logic gate that produces an
output that is the negation of the conjunction (AND) of its input
signals.
• The NAND gate is also represented as a combination of two basic
logic gates namely, AND gate and NOT gate. Hence, it can be
expressed as INPUT AND NAND
• NAND Gate = AND Gate + NOT Gate A B A.B A.B
0 0 0 1
0 1 0 1
1 0 0 1
1 1 1 0
NOR gate
The NOR gate is a type of universal logic gate that can take two or
more inputs but one output. It is basically a combination of two basic
logic gates i.e., OR gate and NOT gate. Thus, it can be expressed as,
NOR Gate = OR Gate + NOT Gate
In other words, a NOR gate is an OR gate followed by a NOT gate.
INPUT OR NOR
A B A+B A+B
0 0 0 1
0 1 1 0
1 0 1 0
1 1 1 0
Exclusive OR gate (XOR Gate)
ꚚThe XOR gate can take only two inputs at a time and give an output.
The output of the XOR gate is high or logic 1 only when its two inputs
are dissimilar.
ꚚIt can accept only two inputs at a time. There is nothing like a three or
more input XOR gate.
Ꚛ it is denoted by encircled plus sign (⊕) in an expression
INPUT OUTPUT
A B A XOR B
0 0 0
0 1 1
1 0 1
1 1 0
Exclusive NOR gate (XNOR gate)
XNOR gate takes only two inputs and produces one output.
The output of the XNOR gate is high or logic 1 only when it
has similar inputs.
INPUT OUTPUT
A B A XOR B
0 0 1
0 1 0
1 0 0
1 1 1
Application of logic gate
• Here are some key digital devices in which logic gates
are utilized to design their circuits:
• Computers
• Microprocessors
• Microcontrollers
• Digital and smart watches
• Smartphones, etc.
FOR ANY QUESTION CONTACT
[email protected]
+260978734443/+260966253335
Understanding Logic expression

You might also like