ITPEC IP April 2022 Question 1

Source exam: ITPEC IP April 2022Topic: Basic Theory

ITPEC IP April 2022 — Question 1 of 100

Every result must be a Japanese restaurant, while its location may be either Sapporo or Hakodate. Therefore the two alternative cities are joined with OR inside parentheses, and the common restaurant type is joined to that group with AND: (Sapporo OR Hakodate) AND Japanese restaurant.

Answer (c)

Why not others:
- (a) requires one restaurant to be in both cities simultaneously

- (b) returns all Japanese restaurants regardless of city because that term is connected by OR

- (d) returns anything mentioning either city or Japanese restaurants, making the result far too broad

Key rule: Use OR for alternative acceptable values and AND for conditions that every result must satisfy; parentheses preserve the 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.