ITPEC IP October 2021 Question 5

Source exam: ITPEC IP October 2021Topic: Software

ITPEC IP October 2021 — Question 5 of 100

D is the last file returned to the drawer under LRU. A, B, C, and D first fill the desk. Later references to B and A make them recent, so loading E evicts C. After A and B are referenced again, the desk contains A, B, D, and E with D least recently used. Loading F therefore evicts D.

Answer (c)

Why not others:
- A and B are refreshed immediately before F is loaded

- E was loaded more recently than D

Key rule: LRU evicts the resident item whose last reference occurred farthest in the past.

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.