Exam-style question
Try this first
An algorithm needs to check if a user's age is greater than or equal to 18 AND their 'isAdult' status is TRUE. Which combination of operators would be most appropriate?.
- A.'>=' and 'OR'
- B.'<' and 'AND'
- C.'>=' and 'AND'
- D.'==' and 'NOT'
Answer and explanation
Attempt the question first, then reveal the model answer and explanation.
Common mistake
No common mistake is linked to this question yet.
