11-Logic Gates-Bee
11-Logic Gates-Bee
Gates
1
Computers and Electricity
Gate
A device that performs a basic operation on
electrical signals
Circuits
– AND
– OR
– XOR
– NAND
– NOR
4
NOT Gate
A NOT gate accepts one input signal (0 or 1) and
returns the opposite signal as output
5
AND Gate
An AND gate accepts two input signals
If both are 1, the output is 1; otherwise, the output is 0
Representation of switch
6 logic of AND gate
OR Gate
An OR gate accepts two input signals If both are 0,
the output is 0; otherwise, the output is 1
Switch is
open means
input is 0
Switch is
close means
input is 1
9
NAND Gate
The NAND gate accepts two input signals
If both are 1, the output is 0; otherwise,
the output is 1
12
Gates with More Inputs
Gates can be designed to accept three or more input
values
A three-input AND gate, for example, produces an output of
1 only if all input values are 1
14
Constructing Gates
15
Constructing Gates
The easiest gates to create are the NOT, NAND,
and NOR gates
Here each
transistor
is NPN
16
17