A logic gate is a device (either virtual or mechanical) used to execute a Boolean function. Logic gates are the bedrock of modern computing.
Logic gates can be divided into two categories: 1- input logic gates 2- input logic gates
The 1-input logic gates are:
The 2- input logic gates are: