Which operator gives true if one or both conditions are true ?
2023
Which operator gives true if one or both conditions are true ?
- A.
OR
- B.
NOT
- C.
AND
- 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.
Loading lesson…