Which operator gives true if one or both conditions are true ?

2023

Which operator gives true if one or both conditions are true ?

  1. A.

    OR

  2. B.

    NOT

  3. C.

    AND

  4. D.

    XOR

Attempted by 438 students.

Show answer & explanation

Correct answer: A

The OR operator returns true if at least one of its operand conditions evaluates to true. It outputs false only when all conditions are completely false. This matches the rule "one or both conditions are true." Therefore, Option A is the correct answer.

Explore the full course: Up Police Computer Operator

Loading lesson…