Logic Gate : "A logic gate is defined as a digital circuit which follows some logical relationship between the input and output voltages."
The digital circuit of a gate either allows a signal to pass through it or stop it, so it is called a gate.
The logic gates are building blocks of digital electronics. They are used in digital electronics to change one voltage level i.e., input voltage into another level i.e., output voltage following some logical conditions relating them. Logic gates can be made by using simple switches, semiconductor diodes and transistors.
A logic gate may have one or more inputs but it has only one output. There are three basic logic gates as given below:
(i) OR gate, (ii) AND gate and (iii) NOT gate.
Each basic gate is represented by a symbol and its function is described by a Boolean expression or by a table known as truth table, which represents the relation between the possible values of input and output voltage in tabular form.
Difference between AND Gate and OR Gate
| AND Gate | OR Gate |
| In this gate when both the inputs are 1 then output is also 'equal to 1'. Otherwise output is always zero. | In this gate when both the inputs are zero, then output is also zero otherwise output is always 1. |
Generate a complete, print-ready paper with questions like this in minutes — across 16+ boards, with answer keys.


