Logic+Gates

Logic gates process signals which represent true and false.

There are 7 main types of Logic Gates they are:
 * AND
 * NAND
 * OR
 * NOR
 * EXOR
 * EXNOR
 * NOT

AND Gate
The AND gate is an electronic circuit that gives a high output only if all its inputs are high.


 * Input A || Input B || Output Q ||
 * 0 || 0 || 0 ||
 * 0 || 1 || 0 ||
 * 1 || 0 || 0 ||
 * 1 || 1 || 1 ||

NAND Gate ﻿[[image:100px-NAND_ANSI_svg.png width="100" height="50" align="left"]] (NAND = NOT AND)
This is a NOT-AND gate put together to equal a NAND gate. The outputs of all NAND gates are high if any of the inputs are low. It gives the same finished output if you had a NOT gate followed by an AND gate. The symbol is an AND gate with a small circle on the output. The small circle represents inversion. **﻿****﻿**


 * Input A || Input B || Output Q ||
 * 0 || 0 || 1 ||
 * 0 || 1 || 1 ||
 * 1 || 0 || 1 ||
 * 1 || 1 || 0 ||

OR Gate
The OR gate is an electronic circuit that gives a high output if one or more of its inputs are high.


 * Input A || Input B || Output Q ||
 * 0 || 0 || 0 ||
 * 0 || 1 || 1 ||
 * 1 || 0 || 1 ||
 * 1 || 1 || 1 ||

NOR Gate (NOR = NOT OR)
This is a NOT-OR gate put together to make a NOR gate. The outputs of all NOR gates are low if any of the inputs are high. It gives the same final output if had a NOT gate followed by an OR gate. The symbol is an OR gate with a small circle on the output. The small circle represents inversion.


 * Input A || Input B || Output Q ||
 * 0 || 0 || 1 ||
 * 0 || 1 || 0 ||
 * 1 || 0 || 0 ||
 * 1 || 1 || 0 ||

EXOR Gate (EXclusive OR)
The 'Exclusive-OR' gate is a circuit which will give a high output if either, but not both, of its two inputs are high


 * Input A || Input B || Output Q ||
 * 0 || 0 || 0 ||
 * 0 || 1 || 1 ||
 * 1 || 0 || 1 ||
 * 1 || 1 || 0 ||

EXNOR Gate (EXclusive NOR)
The 'Exclusive-NOR' gate circuit does the opposite to the EOR gate. It will give a low output if either, but not both, of its two inputs are high. The symbol is an EXOR gate with a small circle on the output. The small circle represents inversion


 * Input A || Input B || Output Q ||
 * 0 || 0 || 1 ||
 * 0 || 1 || 0 ||
 * 1 || 0 || 0 ||
 * 1 || 1 || 1 ||

NOT Gate
The NOT gate is an electronic circuit that produces an inverted version of the input at its output. It is also known as an inverter.


 * Input A || Output Q ||
 * 0 || 1 ||
 * 1 || 0 ||