All mock tests are FREE till 31 December — register to save your progress

Match List I with List II
List IList II
(a) LRU(I) A page is written to secondary memory only when it has been selected for replacement
(b) Demand cleaning(II) A page that has not been referenced for the longest time is replaced
(c) Long-term scheduling(III) The decision to add to the number of processes that are partially or fully in main memory
(d) Medium-term scheduling(IV) The decision to add to the pool of processes to be executed

Pick an option to check yourself, or open the answer below.

Show answer & explanation

Correct answer: B. (a)-(II), (b)-(I), (c)-(IV), (d)-(III)

Explanation

LRU replaces the page unused for the longest time (II). Demand cleaning writes a page out only when it is selected for replacement (I). Long-term scheduling decides which processes join the pool to be executed (IV). Medium-term scheduling decides how many processes are (partly) in main memory (III).

More System Software and Operating System questions