As an example, let’s consider the AND gate (the others are OR, NOT, NAND, NOR, XOR and XNOR). Electronic gates ... the two inputs according to the truth table at the right.