(a) Define logic gate.
(b) Give one example each of: (i) standard logic gate; (ii) alternative logic gate.
(c) Using P and Q as inputs and R as output:
(i) draw the logic symbol for an XOR logic gate: (ii) construct the truth table for XOR logic gate.
(d) List two uses of a logic gate.
Explanation

(a) Logic gate is an elementary building block of a digital circuit with the two binary conditions, i.e.; low (0) or high (1) which is a representation of different voltage levels.
OR
Logic gate is a logical circuit in digital devices with one or more inputs but only one output channel.
(b)(i) AND logic gate, OR logic gate and NOT logic gate.
(ii) NAND logic gate, XNOR logic gate, NOR logic gate and XOR logic gate.
(ci) see the diagram above. XOR Logic gate symbol.
(ii) Truth Table for XOR logic gate
INPUT |
OUTPUT |
|
p | Q | R |
0 | 0 | 0 |
0 | 1 | 1 |
1 | 0 | 1 |
1 | 1 | 0 |
(d) Uses of Logic Gate:
Logic gates are used as building blocks of digital electronic hardware
Logic gates are used in the construction of simple comparator.
Logic gates are used for decision making.
It is used in constructing alarms.
It is used in push-button lock circuit.
It is used in traffic light controller.
It is used in light-activated burglar.
It is used in safety thermostat, an automatic watering system.
It is used in the Arithmetic and Logic Unit (ALU).
It is used in error checking in FM transmission.
It is used in Micro-controller circuits.