If you are studying physics, the electricity chapter will have a concept called the logic gates. Basically, logic gates are building blocks of a circuit that carries out logical operations. The functions on the Boolean algebra and most of them have two inputs and one output. The examples are...