Chapter 1: Logic gates Flashcards
What is an analogue signal?
-It gives an an analogy-copies the behaviour of a physical quantity. A temperature sensor outputs a voltage which copies the behaviour.
-It can have any value between the minimum and maximum of the power supply
What is a digital signal?
-It carries information in the form of a number. Electronic systems usually employ the binary number system
-It has only 2 possible values: 1 or 0.
When a digital signal is at minimum voltage it is referred to as what logic signal?
Logic 0
When a digital signal is at maximum voltage it is referred to as what logic signal?
Logic 1
What are logic gates?
Logic gates are the basic building block of all digital electronic systems. They are the decision making units in electronic systems and there are different types for different
situations.
State the truth table for a NOT gate
A Q
0 1
1 0
State the Boolean expression for the NOT gate
Q=A
State the truth table for an AND gate
B A Q
0 0 0
0 1 0
1 0 0
1 1 1
State the Boolean expression for the AND gate
Q=A.B
State the truth table for an OR gate
B A Q
0 0 0
0 1 1
1 0 1
1 1 1
State the Boolean expression for the OR gate
Q=A + B
State the truth table for NAND gate
B A Q
0 0 1
0 1 1
1 0 1
1 1 0
State the Boolean expression for the NAND gate
Q=Ā.
State the truth table for a NOR gate
B A Q
0 0 1
0 1 0
1 0 0
1 1 0
State the Boolean expression for the NOR gate
State the truth table for a two input XOR gate
B A Q
0 0 0
0 1 1
1 0 1
1 1 0
State the truth table for a 3 input XOR gate
C B A Q
0 0 0 0
0 0 1 1
0 1 0 1
0 1 1 0
1 0 0 1
1 0 1 0
1 1 0 0
1 1 1 1
The output Q is logic 1 when either A OR B OR C is logic 1, or A AND B AND C are all logic 1 but NOT
when any two inputs are logic 1.
State the Boolean expression for the XOR gate
Q=A⊕B
State the truth table for a 2 input XNOR gate
Inverted form of the XOR gate
B A Q
0 0 1
0 1 0
1 0 0
1 1 1
State the truth table for a 3 input XNOR gate
Exact opposite of the 3 input XOR gate
C B A Q
0 0 0 1
0 0 1 0
0 1 0 0
0 1 1 1
1 0 0 0
1 0 1 1
1 1 0 1
1 1 1 0
State the Boolean expression for the XNOR gate
What counts as logic 1? What counts as logic 0?
70% of the power supply. 30% of the power supply. Anything in between is a faulty chip
What is a sourcing current?
When a load is connected to a logic gate in such a way that the logic gate supplies current to the load, the logic gate is said to be sourcing current.
What is a sinking current?
When a load is connected so that current flows from the power supply through the load to the logic gate, then the logic gate is said to be sinking current.