ITPEC IP October 2023 Question 28
ITPEC IP October 2023 — Question 28 of 100
The expression must require the person to be a man and allow either of the two disjoint age ranges. That logic is Men AND (less than 20 years OR more than 65 years). AND applies the common sex condition to every result, while OR joins the alternative age categories.
Answer (b)
Why not others:
- (a) requires one person to be simultaneously younger than 20 and older than 65, which is impossible
- (c) returns every man regardless of age because Men is joined by OR
- (d) returns every man and also people in either age range regardless of sex
Key rule: Use AND for conditions that every result must satisfy and OR for mutually alternative qualifying conditions; parentheses preserve the intended grouping.
AI-generated — may contain errors
The original exam layout is preserved in the image so diagrams, formulas, tables, and code remain accurate.
This question comes from an official ITPEC past paper. ITPEC Practice is an independent study tool and is not affiliated with ITPEC. See the official IP past-paper collection or Report an issue.