Topic:-Gates
Submitted By:-Mrs. Mehak Kapoor
Assistant Professor in Computer Science & IT dept.
DEFINITION OF logic gate�
DEFINITION OF Universal gate
A universal gate is a gate which can implement any Boolean function without need to use any other gate type.
Types of Logic Gates
AND GATE
In the symbol, the input terminals are at left and the output terminal is at right. The output is "true" when both inputs are "true." Otherwise, the output is "false." In other words, the output is 1 only when both inputs one AND two are 1.
�
Truth Table of AND Gate
Input 1 | Input 2 | Output |
0 | 0 | 0 |
0 | 1 | 0 |
1 | 0 | 0 |
1 | 1 | 1 |
OR GATE
Input 1 | Input 2 | Output |
0 | 0 | 0 |
0 | 1 | 1 |
1 | 0 | 1 |
1 | 1 | 1 |
Symbol and Truth table
XOR GATE
Symbol and truth table
| | |
Input 1 | Input 2 | Output |
0 | 0 | 0 |
0 | 1 | 1 |
1 | 0 | 1 |
1 | 1 | 0 |
�
NOT GATE
Symbol and truth table
Input | Output |
1 | 0 |
0 | 1 |
NAND Gate
Symbol and truth table
Input 1 | Input 2 | Output |
0 | 0 | 1 |
0 | 1 | 1 |
1 | 0 | 1 |
1 | 1 | 0 |
NOR GATE
Symbol and truth table
Input 1 | Input 2 | Output |
0 | 0 | 1 |
0 | 1 | 0 |
1 | 0 | 0 |
1 | 1 | 0 |
XNOR GATE
Symbol and truth table
Input 1 | Input 2 | Output |
0 | 0 | 1 |
0 | 1 | 0 |
1 | 0 | 0 |
1 | 1 | 1 |
THANK YOU!