Exam-style question
Try this first
Consider the expression: `(VAL1 > VAL2) OR (VAL3 == 10)`. If VAL1 is 5, VAL2 is 8, and VAL3 is 10, what is the result?.
- A.TRUE
- B.FALSE
- C.Error
- D.5
Answer and explanation
Concise answer
TRUE
Why this is correct
VAL1 > VAL2 (5 > 8) is FALSE. VAL3 == 10 (10 == 10) is TRUE. FALSE OR TRUE evaluates to 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.
