Know your College Admission Chances Based on your Rank/Percentile, Category and Home State.
Get your JEE Main Personalised Report with Top Predicted Colleges in JoSA
A logic gate is an elementary building block of a digital circuit. Most logic gates have two inputs and one output. A logic gate is a digital circuit that follows the certain logical relationship between the input and output voltages. The five common logic gates used are OR gate, AND gate, NOT gate, NOR gate, and NAND gate.
| A | B | Y = A ⊕ B |
| 0 | 0 | 0 |
| 0 | 1 | 1 |
| 1 | 0 | 1 |
| 1 | 1 | 0 |
The XOR gate symbol is shown in the figure. The truth table for the expression;
| A | B | |||||
| 0 | 0 | 1 | 1 | 0 | 0 | 0 |
| 1 | 0 | 0 | 1 | 1 | 0 | 1 |
| 0 | 1 | 1 | 0 | 0 | 1 | 1 |
| 1 | 1 | 0 | 0 | 0 | 0 | 0 |
Hence, by using Boolean expression gate can be constructed. This is shown in the figure in which we have used AND, OR and NOT gates.
