What Do Logic Gates Do?
NOT – Inverse operation changes 1 to 0 and 0 to 1
AND – Both inputs have to be true for it to work
NAND – The result of the first input is calculated then an inverse operation is carried out
OR – One out of the two inputs have to be true for it to work
NOR – Carries out an OR then carries out the inverse (NOT)
XOR – Works like a normal or but won’t work if both inputs are true it has to be one or the other
XNOR – Carries out an XOR then carries out an inverse operation