Define Logic gates?
Building block of a digital circuit.
It performs various logic operations.
Name a few example of devices using logic gates?
Cell phones
computer
Memory devices
Tablets
Electronic devices
What is Boolean algebra?
The logical algebra in which symbols represent the logic levels is called
Boolean algebra.
The logical levels in this algebra are associated with the digits or symbols 1
and 0.
For electronic circuit logic 1 will represent a closed switch, a high voltage
or “on” state of device.
For electronic circuit logic 0 will represent a open switch or low voltage or
“off” state of device
What is a truth table?
A truth table is a tabulated form of the output for all possible combination of
inputs that can be applied to a logic gate or circuit.
When putting values into a truth table, we often write them as 0 or 1, where
1 represent true and 0 represent false.
What are 5 types of logic gates?
AND
OR
NOR
NOT
NAND
XOR
XNOR
AND Gate
An AND gate can have 2 or more input and a single ouput
In this gate , the output is 1 when all the input are 1.
If there are 2 input A and b ,the Boolean expression for AND gate is
Y=A.B ( A X B).
The symbol and truth table for an AND gate can be given as
OR Gate
An OR gate can have 2 or more input and a single output
The logic of this gate is that, the output is 1 when at least one of the
input are 1.
If there are 2 input A and b , then the OR gate’s output will be given
by the following mathematical operation
Y=A+B
The symbol and truth table for an OR gate can be given as
NOT Gate
NOT gate is a simple gate with 1 input and 1 output.
The output is “0” when the input is 1 and vice-versa. Due to this property a
NOT gate is also known as inveter.
If there is a single input A,then the output can be given by Boolean
expression
The symbol and truth table of NOT gate can be given as
What are the universal blocks of digital circuit
NAND and NOR, are essential building blocks in digital electronics. NAND and
NOR gates are called "universal" because they can be used to build any other logic
gate, like AND, OR, or NOT gates.
NAND gate (NAND-NOT+ AND)
A NAND or ‘NOT-AND’ is simply a combination of a NOT gate followed
by an AND gate.
The output of this gate is 1 when all the inputs are NOT or the output I high
when all inputs are NOT high and at least one is low.
If there are 2 inputs A and B then the Boolean expression for NAND gate is
The Symbol and truth table for NAND gate can be given as
A B Y=A.B
0 0 0 1
0 1 0 1
1 0 0 1
1 1 1 0
NOR gate
A NOR or ”NOT-OR” gate is an OR gate followed by NOT gate.
The output of this gate is 1 only when all the input are 0,or the output is high
when all the inputs are low.
If there are 2 input A and B then the Boolean expression for the NOR gate
is
The Symbol and truth table for NOR gate can be given as
A B Y=A+B
0 0 1 0
0 1 0 1
1 0 0 1
1 1 0 1
XOR Gate
The Exclusively-OR or “EX-OR” gate is a digital logic gate with more than
two inputs and gives only one output.
The output of XOR gate is “high” if either inputs is ”high”. The output is
“Low” if both the inputs are “high” or if both inputs are “low”.
If there are 2 inputs A and B then the Boolean expression for the XOR gate
is
Y=
The Symbol and truth table for XOR gate can be given as
0 1 0 1 0 0 0
0 1 1 0 0 1 1
1 0 0 1 1 0 1
1 0 1 0 0 0 0
XNOR gate
The exclusive –NOR or “ EX-NOR” gate is a digital gate with more than 2
inputs and gives only one output.
The output of XNOR gate is “high” if both input are “high” or if both the
input are “low” the output is “low” if either of input is “low”
If there are 2 inputs A nad B then the Boolean expression or The XNOR gate
is
Y=
The Symbol and truth table for XNOR gate can be given as
0 1 0 1 0 0 0 1
0 1 1 0 0 1 1 0
1 0 0 1 1 0 1 0
1 0 1 0 0 0 0 1
What is application of logic gate?
Logic gates have a lot of application but they are mainly based on
their mode of operation or their truth table.
Basic logic gates are often found in circuit such as safety thermostats,
push-buttons locks, automatic watering system, light activated burglar
alarms and many other electronic devices.