Skip to main content
O-LevelComputer ScienceBoolean logic2210/12 · May/June 2022 · Q59 Marks

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

  1. (a)Draw a logic circuit to represent the given logic statement. Do not attempt to simplify the logic statement. All logic gates must have a maximum of two inputs. A B C -X[5]
  2. (b)Complete the truth table for the given logic statement. 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 2022). The mark or mark type is shown in brackets.

  1. [1] OR gate with inputs A and B
  2. [1] XOR gate with inputs B and C
  3. [1] NOT gate with input from (B XOR C)
  4. [1] AND gate with inputs from (A OR B) and (NOT (B XOR C))
  5. [1] AND gate with inputs from ((A OR B) AND (NOT (B XOR C))) and C, leading to X
  6. [4] All 8 correct outputs: 0, 0, 0, 1, 0, 0, 0, 1
  7. [3] 6/7 correct outputs
  8. [2] 4/5 correct outputs
  9. [1] 2/3 correct outputs

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, 9 marks.
Source
O-Level Computer Science, May/June 2022 Paper 1 Variant 2, question 5.

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