Skip to main content
O-LevelComputer ScienceBoolean logic2210/21 · May/June 2025 · Q78 Marks

Consider the logic expression: X = (A AND B) XOR (B OR NOT C)

  1. (a)Draw a logic circuit for this logic expression. Each logic gate must have a maximum of two inputs. Do not simplify the logic expression. A B C X[4]
  2. (b)Complete the truth table for the given logic expression. A B C 0 0 0 0 0 1 0 1 0 0 1 1 1 0 0 1 0 1 1 1 0 1 1 1 Working space X[4]

This question uses a diagram from the original paper, which isn't shown here. Open the full paper from the past papers archive to see it.

Mark scheme

Marking points from the official mark scheme (May/June 2025). The mark or mark type is shown in brackets.

  1. [1] (a) One mark for each correct gate, with the correct input(s) as shown. (Circuit: A and B go to AND gate. C goes to NOT gate. B and NOT C go to OR gate. Output of AND and output of OR go to XOR gate, which outputs X.)
  2. [4] (b) 4 marks for 8 correct outputs
  3. [3] (b) 3 marks for 6/7 correct outputs
  4. [2] (b) 2 marks for 4/5 correct outputs
  5. [1] (b) 1 mark for 2/3 correct outputs
  6. Truth Table (b): A B C X 0 0 0 1 0 0 1 0 0 1 0 1 0 1 1 1 1 0 0 1 1 0 1 0 1 1 0 0 1 1 1 0

Write your answer and get it marked

On Oracle Prep you can write or photograph your own answer and have it marked by AI against this mark scheme, with feedback on what you missed.

Sign up free →

About this question

Topic
Boolean logic, O-Level Computer Science (syllabus 2210). Structured question, 8 marks.
Source
O-Level Computer Science, May/June 2025 Paper 2 Variant 1, question 7.

Questions and mark schemes are from past examination papers and remain the copyright of the exam board. How Oracle Prep builds its content

Related Computer Science questions

© 2026 Oracle Prep