ITPEC IP April 2019 Question 9
ITPEC IP April 2019 — Question 9 of 100
E is the last file moved to the drawer under the least-recently-used rule. After A, B, C, D fill the desk, referencing E evicts A. References to C, B, and D refresh their recency. When F is needed, the desk contains B, C, D, and E, and E has gone unused longest, so E is evicted.
Answer (d)
Why not others:
- A is evicted earlier when E first enters
- B and D are referenced shortly before F and remain on the desk
Key rule: LRU removes the resident item whose most recent reference is furthest in the past; hits update recency without adding a new item.
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.