logo

AQA A-Level Computer Science practice

Which statement correctly describes XOR?

Try the question first, then check the answer and practise the same topic again.

At a glance

MCQ

Type

practice

Style

Topic

Programming

Exam-style question

Try this first

Which statement correctly describes XOR?.

  1. A.It produces True only when both inputs are True
  2. B.It produces True when at least one input is True
  3. C.It produces True when exactly one input is True
  4. D.It always produces the opposite of the first input

Answer and explanation

Concise answer

It produces True when exactly one input is True

Why this is correct

Exclusive OR, or XOR, is True when the two input values are different: one is True and the other is False.

Use the concise answer above for a quick check, then reveal the full model answer and detailed explanation.

Common mistake

No common mistake is linked to this question yet.

Related flashcards

No flashcards are published for this page yet.

Related practice questions