Logic gates is a project developed to perform logical operations. Logic gates  is a an idealized or physical device implementing a boolean functions. Logic gates performs  logical operations on one or more logic inputs and produces a single logic output. Depending on the context, the term may refer to an ideal logic gate. Logic gates are primarily implemented electronically using diodes or transistors, but can also be constructed using electromagnetic relays. Logic gates can be cascaded in the same way as the boolean functions can be composed.


AND Gate:

The AND gate is so named because, if 0 is called “false” and 1 is called “true,” the gate acts in the same way as the logical “and” operator. The following illustration and table show the circuit symbol and logic combinations for an AND gate. The output is “true” when both inputs are “true.” Otherwise, the output is “false.”

OR Gate:

The OR gate gets its name from the fact that it behaves after the fashion of the logical inclusive “or.” The output is “true” if either or both of the inputs are “true.” If both inputs are “false,” then the output is “false.”

NOT Gate:

A logical inverter , sometimes called a NOT gate to differentiate it from other types of electronic inverter devices, has only one input. It reverses the logic state.

NAND Gate:

The NAND gate operates as an AND gate followed by a NOT gate. It acts in the manner of the logical operation “and” followed by negation. The output is “false” if both inputs are “true.” Otherwise, the output is “true.”

NOR Gate:

The NOR gate is a combination OR gate followed by an inverter. Its output is “true” if both inputs are “false.” Otherwise, the output is “false.”