Professional Documents
Culture Documents
First and foremost, I would extend our deepest gratitude to the Almighty
God for showering love and grace on me and made me complete the project.
I would like to appreciate the co-operation and vivacity offered by my
colleagues and friends that made this project easy and feasible. They helped
me in the domains of creativeness, designing, managing and in demonstration of new ways to accomplish my tasks.
I express my deep sense of gratitude to my parents for their love and support
all over the way, giving us valuable solutions and new ideas.
Sincere thanks to my kind and helpful physics teacher Miss Sapna
Vishwakarma, who always encouraged me in my projects and its
completion and in the rectification of my doubts.
I am extremely indebted and grateful to our Head of the Institution, Mr R P
Shahi for providing me the sources, so that I can successfully complete out
project.
(Name)
INDEX
Introduction
Types of gates
The OR gate
The AND gate
The NOT gate
The NOR gate
The NAND gate
The XOR gate
The XNOR gate
Universal logic gates
De Morgans equivalent symbols
PREFACE
I hereby feel immense pleasure in presenting this project file as per the
requirements of the CBSE board for AISSCE practicals.
Best possible efforts have been made to present this project in a very
interactive way. Great care has been taken to make one understand the
subjective approach of this project through this presentation.
I hope that my project will fulfill the needs of the viewers and I would receive
nice complements from them.
(Rishabh Dhakar)
INTRODUCTION
Truth table of a Logic Gates is a table that shows all the input and output
possibilities for the logic gate.
George Boole in 1980 invented a different kind of algebra based on binary
nature at the logic, this algebra of logic called BOOLEAN ALGEBRA. A logical
statement can have only two values, such as HIGH/LOW, ON/OFF,
CLOSED/OPEN, YES/NO, TRUE/FALSE, CONDUCTING/NON-CONDUCTING
etc. The two values of logic statements one denoted by the binary number 1
and 0. The binary number 1 is used to denote the HIGH value. The logical
statements that logic gates follow are called Boolean expression.
TYPES OF GATES
There are three types of basic logic gates which follows Boolean expression.
i.
OR gate
ii.
AND gate
iii.
NOT gate
iv.
NOR gate
v.
NAND gate
vi.
XOR gate
vii.
XNOR gate
THE OR GATE
The OR gate is a two inputs and one output logic gate. It combines the input
A and B with the output Y following the Boolean expression.
Y=A+B
The Boolean algebra, the addition symbol (+) is called OR (i.e. OR operation
OR operator).
The various possible combinations of the input and output of the OR gate
can be easily understand with the help of the electrical circuit. In this electric
circuit, a parallel combination of two switches A and B is connected to a
battery and a lump L.
The following interference can be easily drawn from the working of electrical
circuit is :
a)
b)
c)
d)
The AND gate is also a two inputs and one output logic gate. It combines
the input A and B with the output Y following the Boolean expression.
Y=A.B
The Boolean algebra, the multiplication symbol (. dot or x Gross) is taken to
mean AND.
Y = A . B have Y is equal to A AND B.
The various possible combination of the input and outputs of the AND gate
can be easily found with the help of the electrical circuit. Here a series
combination of the switch A and B is connected to a battery and a lump L.
The following conclusions can be easily drawn from the working of electrical
circuit :
a)
If both switches A&B are open (A=0, B=0) then lamp will not glow.
(y=0)
b)
If Switch A closed & B open (A=1, B=0) then Lamp will not glow. (y=0)
c)
If switch A open & B closed (A=0, B=1) then Lamp will not glow. (y=0)
d)
If switch A & B both closed (A=1, B=1) then Lamp will glow. (y=1)
The NOT gate is a one inputs and one output logic gate. It combines the
input A with the output following the Boolean expression.
Y=A
i.e. Y not equal A. The way, the NOT gate gives the output it is also called
inverter. It is represented by the symbol.
The Boolean algebra, the negative sign (-) is called NOT. The equation Y= A
called Boolean expression.
The possible input and output combination of a NOT gate can be easily
discussed with the help of electrical circuit. Here, the switch is connected in
parallel to the lump of the battery. The following conclusion can be easily
drawn from the working of the electrical circuit.
a)
If switch A is open (i.e. A=0), the lump will glow (i.e. Y=1)
b)
If Switch A is closed (i.e. A=1), the lump will not glow (Y=0).
It follows that in the given electrical circuit, the lump glows (or output is
obtained), when the switch A is not closed. Far this reason, the electrical
circuit is called not gate. The two possible input-output combinations can be
written in the form of the table. It is called truth table of NOT gate.
Some more logic gates are also there derived from three basic gates (i.e
AND, OR and NOT). These gates are more popular than AND,OR and NOT
and are widely used in industry. These gates are NOR, NAND, XOR, XNOR
gates.
The NOR gate has two or more input signals but only one output signal. If all
the inputs are 0 (i.e low), then the output signal is 1 (high).
If either of the two inputs is 1 (high), the output will be 0 (low). NOR gate is
nothing but inverted OR gate.
The NOR gate can have as many inputs as desired. No matter how many
inputs aare there the action of NOR gate iis the same i.e., all 0 (low) inputs
produce output as 1.
INPUT OUTPUT
A B A NOR B
NOR
0 1
0 0
The NAND gate has two or more input signals but only one output signal. If
all of the inputs are 1 (high), then the output produced is 0 (low).
NAND gate is inverted AND gate. Thus for all 1 (high) inputs, it produces 0
(low) output, otherwise for any other input combination, it produces a 1 (high)
output. NAND gate can also have as many inputs as desired.
INPUT OUTPUT
A B A NAND B
NAND
0 1
0 1
The XOR gate can also have two or more inputs but produces one output
signal. XOR gate is different from OR gate. OR gate produces output 1for any
input combination having one or more 1s, but XOR gate produces output 1
for only those input combinations that have odd number of 1s.
In Boolean algebra (+) sign stands for XOR operation.
INPUT OUTPUT
A B A XOR B
XOR
0 0
0 1
The XNOR gate is logically equivalent to an inverted XOR i.e., XOR gate
followed by a NOT gate (inverter). Thus XNOR produces 1 (high) output when
the input combination has even number of 1s.
INPUT OUTPUT
A B A XNOR B
XNOR
or
0 1
0 0
Charles Sanders Peirce (winter of 188081) showed that NOR gates alone (or
alternatively NAND gates alone) can be used to reproduce the functions of all
the other logic gates, but his work on it was unpublished until 1933. The first
published proof was by Henry M. Sheffer in 1913, so the NAND logical
operation is sometimes called Sheffer stroke; the logical NOR is sometimes
called Peirce's arrow. Consequently, these gates are sometimes called
universal logic gates.
All logic relations can be realized by using NAND gates (this can not also be
done using NOR gates). De Morgan's theorem is most commonly used to
transform all logic gates to NAND gates or NOR gates. This is done mainly
since it is easy to buy logic gates in bulk and because many electronics labs
stock only NAND and NOR gates.
BIBLIOGRAPHY
I would like to declare the array of references hereby and submit that I took
help from following sources1- Comprehensive Physics Practical
A textbook for Physics practicals ISBN 978-81-318-0384-4
2- Wikipedia.com
The Online Encyclopedia indexing worlds best articles with genuine references.
3- TCYonline.com
An online video tutorial and educational centre.
4- Meritnation.com
The leading educational site in India.
5- http://projects.icbse.com/forums
Online help for CBSE projects.