ITPEC IP October 2019 Question 22

Source exam: ITPEC IP October 2019Topic: Software

ITPEC IP October 2019 — Question 22 of 100

The path must first move from D3 to its parent D1 and then descend through D2 and D4. The correct relative path is ..\D2\D4\A: the initial .. moves one level upward, after which the remaining names lead to file A.

Answer (b)

Why not others:
- (a) moves upward twice, beyond D1, before looking for D2

- (c) without a leading root marker is interpreted relative to D3 and incorrectly looks for D3\D1

- (d) also starts from D3 and incorrectly looks for a D2 child there

Key rule: In a relative path, .. selects the parent; after reaching the common ancestor, list the directories down to the target.

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.