ITPEC IP April 2018 Question 17

Source exam: ITPEC IP April 2018Topic: Software

ITPEC IP April 2018 — Question 17 of 100

From D3, the correct relative path first moves to the parent and then descends through D2 and D4. The resulting path is ..\D2\D4\a. Moving up once with .. reaches D1; only one upward step is required because D3 and D2 share the same parent.

Answer (b)

Why not others:
- option (a) moves upward twice and goes above D1

- option (c) starts with D1 but lacks the root marker, so it would be interpreted under D3

- option (d) searches for D2 under the current directory D3

Key rule: In a relative path, .. means the parent directory; list each downward directory after reaching the nearest common ancestor.

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.