Logic Gates
Logic Gates
Raushana Ershad
XII - D
Roll No:
Sharjah Indian School
ACKNOWLEDGEMENT
2
INDEX
2 Acknowledgement
4 Introduction
5-6 AND gate
7-8 OR gate
9-10 NOT gate
11-12 NOR gate
13-14 NAND gate
15 Applications of Logic gates
16 Conclusion
16 Bibliography
3
INTRODUCTION
Digital electronics is a field that focuses on devices and systems that use
digital signals to process and represent information. Unlike analog
electronics, which use continuous signals, digital electronics work with
discrete signals, typically represented by binary numbers (0s and 1s). This
binary system forms the basis of all digital circuits.
❖ LOGIC GATES
A logic gate is an electronic circuit designed by using electronic
components like diodes, transistors, resistors, and more. As the name
implies, a logic gate is designed to perform logical operations in digital
systems like computers, communication systems, etc. A logic gate can take
two or more inputs but only produce one output. The output of a logic
gate depends on the combination of inputs and the logical operation that
the logic gate performs.
Logic gates are crucial in digital circuits because they form the basic
building blocks that perform essential logical operations. They enable
digital devices to process information, make decisions based on
conditions, and perform calculations. Without logic gates, modern digital
electronics, including computers and smartphones would not function as
we know them today.
4
TYPES OF LOGIC GATES
There are three basic logic gates. i) AND Gate, ii) OR Gate, iii) NOT
Gate
AND Gate:
In digital electronics, the AND gate is one of the basic logic gates that
performs the logical multiplication of inputs applied to it. It generates a
high or logic 1 output, only when all the inputs applied to it are high or
logic 1. Otherwise, the output of the AND gate is low or logic 0.
5
REPRESENTATION OF ‘AND' GATE:
TRUTH TABLE:
INPUT OUTPUT
A B Z
0 0 0
0 1 0
1 0 0
1 1 1
6
OR Gate:
This gate produces a low or logic 0 output only when it's all inputs are low
or logic 0. For all other input combinations, the output of the OR gate is
high or logic 1. This logic gate is termed as OR gate. An OR gate can be
designed to have two or more inputs but only one output. The primary
function of the OR gate is to perform the logical sum operation.
Properties of OR Gate:
- An OR gate have the following two properties:
- It can have two or more input lines at a time.
When all of the inputs to the OR gate are low or logic 0, the output of it is
low or logic 0.
7
REPRESENTATION OF ‘OR’ GATE:
TRUTH TABLE:
INPUT OUTPUT
A B Z
0 0 0
0 1 1
1 0 1
1 1 1
8
NOT Gate
NOT gate is another basic logic gate used to perform a complement of an
input signal applied to it. It takes only one input and one output. The
output of the NOT gate is a complement of the input applied to it.
Therefore, if we apply a low or logic 0 output to the NOT gate it gives a
high or logic 1 output and vice-versa. The NOT gate is also known as an
inverter, as it performs the inversion operation.
9
REPRESENTATION OF ‘NOT’ GATE:
TRUTH TABLE:
INPUT OUTPUT
A Ā
0 1
1 0
10
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.
NOR Gate = OR Gate + NOT Gate
11
REPRESENTATION OF ‘NOR’ GATE:
TRUTH TABLE:
INPUT OUTPUT
A B Z
0 0 1
0 1 0
1 0 0
1 1 0
12
NAND Gate:
The NAND gate performs the inverse operation of the AND gate. Similar
to NOR gate, the NAND gate can also have two or more input lines but
only one output line.
The NAND gate is represented as a combination of AND gate and NOT
gate.
NAND Gate = AND Gate + NOT Gate
13
REPRESENTATION OF ‘NAND’ GATE:
TRUTH TABLE:
INPUT OUTPUT
A B Z
0 0 1
0 1 1
1 0 1
1 1 0
14
APPLICATION OF LOGIC GATES:
15
CONCLUSION
BIBLIOGRAPHY
https://www.geeksforgeeks.org/logic-gates/
https://www.electronics-tutorials.ws/logic/logic_1.htm
https://maker.pro/blog/what-are-logic-gates-and-why-are-they-important
https://www.electricity-magnetism.org/logic-gates/
https://elchoroukhost.net/logic-gates-and-truth-tables-explained/
16