(a) Complete the truth table for the three logic gates. [3]
| A | B | A.B | A + B | A ⊕ B |
|---|---|---|---|---|
| 0 | 0 | |||
| 0 | 1 | |||
| 1 | 0 | |||
| 1 | 1 |
(b) State the output of 1.0. [1]
- (a) A.B column: 0, 0, 0, 1(1)
- (a) A + B column: 0, 1, 1, 1(1)
- (a) A ⊕ B column: 0, 1, 1, 0(1)
- (b) 1(1)
- Answer: AND 0001, OR 0111, XOR 0110; NOT(1 AND 0) = 1
- Examiner tip: XOR (⊕) is 1 only when the inputs are different – it is 0 when both are 1.