Question 1 Report
(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.
(a) A logic gate is an electronic circuit that receives one or more binary inputs, 0 or 1, and produces a single binary output according to a specified logical rule.
(b)
(c)(i) Logic symbol for an XOR gate
The XOR gate gives an output of 1 only when the two input values are different.
R = P ⊕ Q
(c)(ii) Truth table for the XOR logic gate
| Inputs | Output | |
|---|---|---|
| P | Q | R = P ⊕ Q |
| 0 | 0 | 0 |
| 0 | 1 | 1 |
| 1 | 0 | 1 |
| 1 | 1 | 0 |
(d) Uses of logic gates:
Everything you need to excel in your exams