The logic circuit shown has inputs A, B and C and output Q.
(a) State the Boolean expression for Q. [2]
(b) Construct a truth table for the circuit, showing an intermediate column for (A AND NOT B) and the output Q for all input combinations. [3]
- A AND (NOT B) correctly formed (allow $A\cdot\overline{B}$, A ∧ ¬B or equivalent notation)(1)
- Q = (A AND NOT B) OR C (allow $A\overline{B} + C$, or C OR (A AND NOT B); reject A AND (NOT B OR C))(1)
- Truth table has all 8 input combinations (000 to 111), in any consistent order(1)
- Intermediate column A AND NOT B correct: 0,0,0,0,1,1,0,0 (for ABC = 000 to 111)(1)
- Q column correct: 0,1,0,1,1,1,0,1 (follow through from the student's intermediate column; allow T/F for 1/0)(1)
- Answer: Q = (A AND NOT B) OR C; Q = 0,1,0,1,1,1,0,1 for ABC = 000 to 111
- Examiner tip: Add an intermediate column for each gate output; it makes errors easy to spot and the Q column can earn follow-through credit.