logo

Question detail

A = true, B = false and C = true. What is the value of (A AND NOT B) OR C?

Try the question, check the answer, then read the explanation to understand the curriculum point.

At a glance

MCQ

Type

practice

Style

Topic

Abstraction and automation

Exam-style question

Try this first

A = true, B = false and C = true. What is the value of (A AND NOT B) OR C?.

  1. A.true
  2. B.false
  3. C.undefined
  4. D.It depends on the programming language

Model answer

What a good answer should say

  • true

Explanation

Why this works

NOT B is true because B is false. Therefore A AND NOT B is true, and true OR C is true.

Common mistake

No common mistake is linked to this question yet.

Related flashcards

No flashcards are published for this page yet.

Related practice questions

No questions are published for this page yet.