4. Logic Gates Flashcards
What is a logic gate?
a logic gate is a basic foundation of a digital circuit.
What is a digital circuit?
a circuit where electronic signals are one of two values: High Voltage (1) and Low Voltage (0).
What is Voltage?
the potential difference across two electrical components needed to make electricity flow through it.
What is a Microprocessor?
an integrated circuit that provides the same functions of a CPU.
What is a truth table?
a way of showing every outcome of a logic gate.
Name three different types of logic gates:
Any three of these:
1: AND gate
2: OR gate
3: NOT gate
4: NAND gate
5: NOR gate
6: XOR (EXOR) gate
What does an AND gate look like?
=D-
How are inputs processed through an AND gate?
When using an AND gate, the output (X) would only be high voltage (1) if both inputs (A and B) are high voltage.
What does an OR gate look like?
=)D-
How are inputs processed through an OR gate?
When using an OR gate the output (X) will only be high voltage (1) if the input (A) or (B) is high voltage.
What does an NOT gate look like?
-▷°-
How are inputs processed through a NOT gate?
When using a NOT gate, there is only one input and output. The output (X) will be high voltage only if the input is low voltage.
What is the logic statement of an AND gate?
X = A and B or X = A.B
What is the logic statement of an OR gate?
X = A OR b or X = A+B
What is the logic statement of a NOT gate?
X = NOT A or X = A’
How many inputs are there in a NOT gate?
1
When the input of a NOT gate is 1, …
the output is 0.
How are inputs processed through a NAND gate?
A NAND gate is a combination of an AND gate and a NOT gate. The Output will be high voltage unless both inputs are high voltage. If both inputs are high voltage the output will be low voltage. This means that X will always be 1 unless A and B are 1.
How are inputs processed through a NOR gate?
A NOR gate is a combination of an OR gate and a NOT gate. The output X will be high voltage unless both inputs are high voltage. If neither inputs are high voltage, the output will be low voltage. That means that X will always be 0 unless A and B are 0.
How are inputs processed through an XOR (EOR) gate?
An XOR gate (exclusive OR) has a slightly changed logic from OR gates. Similar to an OR gate, the output X will be high voltage if either of the outputs is high voltage. However in an XOR gate, if both inputs are high voltage, the output will be low voltage. That means output X will always be 1 if inputs A and B are different.
What is the role of a logic gate in a logic circuit?
A logic gate controls the flow of electrical signals in a circuit.