Logic gates Flashcards
What is a logic gate
A bistable device as in, it can only have two stable states (1 / 0). It is the building block of most electronic circuits eg. microphones, cameras, compooters
Bistable device
exists in 2 stable states
Tell me about the NAND gate
Output is 1 if input A AND B are NOT both 1 and
Output is 0 if input A AND B are NOT both 0
When there is a low input(0) at either or both inputs, the output is high (1)
Tell me about the AND Gate
Output is 1 if input A AND B are 1 (high)
Output is 0 if input A AND B are 0 (low)
Tell me about NOT Gate or inverter
It produces ‘high’ output if the input is ‘low’
It produces ‘low’ output if the input is ‘high’
(output is opposite to the input)
Tell me about OR gate
output is 1 if input A OR input B OR both are 1
tell me about NOR gate
When either or both inputs are high, the output is low