News

For example, an AND gate outputs 1 only if both inputs are 1, otherwise it outputs 0. There are different types of logic gates, such as OR, NOT, NAND, NOR, XOR, and XNOR.