Skip to main content
O-LevelComputer ScienceBoolean logic2210/12 · Oct/Nov 2022 · Q76 Marks

NAND, OR and XOR are three types of logic gate.

  1. (a)Four statements are shown about the logic gates. Tick (✔) to show which statements apply to each logic gate. Some statements may apply to more than one logic gate. Statement | NAND (✔) | OR (✔) | XOR (✔) ---|---|---|--- if both inputs are 1, the output is 1 | | | if both inputs are different from each other, the output is 1 | | | if both inputs are 0, the output is 0 | | | if both inputs are the same as each other, the output is always 0 | | |[4]
  2. (b)NAND, OR, XOR, NOR and NOT are all examples of logic gates. State the name of one other logic gate and complete its truth table. Logic gate Truth table: A | B | Output ---|---|--- 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 |[2]

Mark scheme

Marking points from the official mark scheme (Oct/Nov 2022). The mark or mark type is shown in brackets.

  1. [4] 7(a) One mark for each correct row Statement | NAND (√) | OR (✔) | XOR (√) ---|---|---|--- if both inputs are 1, the output is 1 | | ✓ | if both inputs are different from each other, the output is 1 | | ✓ | ✓ if both inputs are 0, the output is 0 | ✓ | | if both inputs are the same as each other, the output is always 0 | | | ✓
  2. [2] 7(b) One mark for a correct logic gate, one mark for a corresponding truth table • AND A | B | Output ---|---|--- 0 | 0 | 0 0 | 1 | 0 1 | 0 | 0 1 | 1 | 1

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, 6 marks.
Source
O-Level Computer Science, Oct/Nov 2022 Paper 1 Variant 2, 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