Basic Logic Gates

A logic gate is a network of interconnected transistors that works as a unit to perform a logic operation. If you are not already familiar with formal logic, we say basic logic operators to refer to the conjunctions AND, OR, NOT, NOR, NAND, and XOR.

NOT GATE

The NOT gate is an electronic circuit that performs negation. The output of the NOT Boolean operator is true when the input is false, and the output is false when the input is true. more…

AND GATE

The AND gate is an electronic circuit that performs logical conjunction. The output of the AND Boolean operator is true only when all the inputs are true. more…

NAND GATE

The NAND gate is an electronic circuit that performs alternative denial (i.e.“not both”). The output of the NAND Boolean operator is false only when both of the inputs are true. more…

OR GATE

The OR gate is an electronic circuit that performs inclusive disjunction. The output of the OR Boolean operator is false only when all the inputs are false. Otherwise, the output is true. more…


NOR GATE

The NOR gate is an electronic circuit that performs joint denial. The output of the NOR Boolean operator is true only when all the inputs are false. Otherwise, the output is false. more…

XOR GATE

The XOR gate is an electronic circuit that performs exclusive disjunction. The output of the XOR Boolean operator is true when precisely one of the two inputs is true.

more…