ITPEC IP April 2021 Question 9

Source exam: ITPEC IP April 2021Topic: Software

ITPEC IP April 2021 — 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. The desk then contains B, C, D, E. References to C, B, and D refresh their usage times, making E the least recently used. When F is requested, E is therefore evicted; the final B reference causes no further eviction.

Answer (d)

Why not others:
- A is evicted earlier when E first arrives

- B and D are refreshed before F arrives

Key rule: LRU removes the resident item whose most recent reference is 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.