LOGIC GATES Flashcards
NOT - looks and truth table
|0| - |1 |
|1 | - |0|
the NOT gate is a very simple gate - if 0 is input it outputs 1 and if 1 is input then it outputs 0
triangle shape with the circle at the end (see picture if confused)
https://commons.wikimedia.org/wiki/File:Not-gate-en.svg
OR GATE
|1 |1 | - |1 |
|1 |0| - |1 |
|0|1 | - |1 |
|0|0| - |0|
The OR gate tells us if one or both of the two inputs are 1 by outputting 1, otherwise output 0.
Shaped like a rubbish arrow head - see below
https://simple.wikipedia.org/wiki/OR_gate
AND
|1 |1 | - |1 |
|0|1 | - |0|
|1 |0| - |0|
|0|0| - |0|
The AND gate tells us if both inputs are 1, by outputting 1, otherwise it outputs 0.
Shaped like the letter D - literally just the āDā