Logic Gates Flashcards
What is the ALU made of?
Thousands of logic gates
What does logic gates do?
Take a binary input and return a binary output
What is binary represented by?
Current on (1) and current off (0)
What is the AND gate?
Where A x B occurs to give the return
What is the OR gate?
Where A + B occurs to give the return
What is the NOT gate?
Where the input is opposite to the output
What is the XOR gate?
Where A + B occurs but you cannot have both
What’s best to do when working out logic circuits?
Write the shorthand for the gates and then work out
What is the NAND gate?
This is the AND gate but with the opposite outputs
What is the NOR gate?
This is the OR gate but with the opposite outputs
What is the XNOR gate?
This is the XOR gate but with opposite outputs
What is special about logic gates?
They can have more than one input