Logic gates
Requested by blahawesomeness
Logic gates are essentially the bare bones of computers. I would describe it as adding logic to a circuit.
It’s common knowledge that computers function off binary. Now I will not explain binary here although you need to know there are two values, 1 and 0. In computing, 1 stands for current flowing through, and 0 standing for little current, as no current would be a tiny problem. Even though 0 meaning no current is a misconception it still inspired the infamous on/off symbol, which shows both 1 and 0.
In a logic gate, there are inputs, and there are outputs as a result of the logic gate. They achieve this by using resistors, transistors and other components for which explaining will be left to another time.
I will have a chart below of the gates and their values. Let us take an example of the OR gate. If two inputs are 0, then it outputs to 0. If any or both of the inputs are 1, it outputs one.
The chart showing the values is called a truth table. Here are some other widely used examples of logic gates and the corresponding truth tables











