ITPEC IP October 2024 Question 2

Source exam: ITPEC IP October 2024Topic: Basic Theory

ITPEC IP October 2024 — Question 2 of 100

The location may be Sapporo or Hakodate, while every result must also be a Japanese restaurant. The correct expression is therefore (Sapporo OR Hakodate) AND Japanese restaurant. Parentheses first combine the two acceptable cities, and AND restricts the combined results to the required restaurant category.

Answer (c)

Why not others:
- (a) requires one result to match both different cities simultaneously

- (b) can return results matching both city names even if they are not restaurants, or any Japanese-restaurant result regardless of city

- (d) returns anything matching any one of the three terms and is far too broad

Key rule: Use OR between alternatives within one criterion and AND between separate criteria that must both be satisfied.

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.