Data Representation - Logic Gates Flashcards
What does a NOT gate look like?
Triangle circle
What are the attributes of a NOT gate?
1 input and 1 output
Output is always the opposite of the input
What does an AND gate look like?
Rectangle with a curve on the right end
What are the attributes of an AND gate?
2 inputs and 1 output
If both inputs are 1, the output is 1 otherwise the output is 0
What does an OR gate look like?
An arrow
What are the attributes of an OR gate?
Has 2 inputs and 1 output
Outputs are always 1 unless the inputs are 0 and 0
What does an XOR gate look like?
An arrow with an extra like on the left
What are the output of an XOR gate?
It has 2 inputs and 1 output
If EXACTLY 1 input is 1, the output is 1 otherwise the output is 0
What happens if there is an AND and a NOT gate?
The statement would be NOT(A AND B)
What is a logical statement?
A logic gate, just in words
What is the symbol for NOT A?
A with a line over it
What is the symbol for A AND B?
A . B
What is the symbol for A OR B?
A + B
What is the symbol for A XOR B?
A (plus sign with a circle around it) B
What is a truth table?
A table with all the possible inputs and outputs of a logic circuit