logo

AQA A-Level Computer Science practice

For which input values is (P OR Q) AND NOT P true?

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

At a glance

MCQ

Type

practice

Style

Topic

Abstraction and automation

Exam-style question

Try this first

For which input values is (P OR Q) AND NOT P true?.

  1. A.P = false, Q = false
  2. B.P = false, Q = true
  3. C.P = true, Q = false
  4. D.P = true, Q = true

Answer and explanation

Concise answer

P = false, Q = true

Why this is correct

NOT P must be true, so P must be false. P OR Q must also be true, so Q must be true.

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