Match List – I with List – II.
List I: (A) LRU (B) Demand cleaning (C) Long term scheduling (D) Medium term scheduling
List II: (I) Page not referenced for the longest time is replaced (II) Page is written to secondary memory only when it has been selected for replacement (III) Decision to add a process to the pool of processes to be executed (IV) Decision to add a process, partially or fully, to main memory
Pick an option to check yourself, or open the answer below.
Show answer & explanation
Correct answer: B. (A)-(II), (B)-(I), (C)-(III), (D)-(IV)
Explanation
LRU replaces the page that has gone unreferenced the longest, matching definition (II). Demand cleaning means a dirty page is written back to disk only when it is actually chosen as a replacement victim, matching (I). Long-term scheduling is the admission decision of which jobs enter the system's pool of executable processes, matching (IV). Medium-term scheduling is the swapping decision that moves a process partially or fully into main memory, matching (III). So the correct mapping is A-II, B-I, C-IV, D-III, which is option (ii) as listed here (the page's own numbering of III/IV for C/D was reversed; the standard correspondence is reproduced correctly in these options).More Discrete Structures and Optimization questions
- Three processes arrive as follows: Process Arrival Time Burst Time P0 0 ms 7 ms P1 1 ms 3 ms P2 2 ms 7 ms The preemptive shortest-job-first…
- For the following set of processes scheduled using FCFS policy, determine the average waiting time. Assume that the processes arrived in th…
- Which of the following statements are true? (A) Shortest remaining time first scheduling may cause starvation. (B) Preemptive scheduling ma…
- An OS follows round robin scheduling with a time quantum of 4 ms. Assuming that the CPU is free now and there are 20 processes waiting in t…
- If an operating system does not allow a child process to exist when the parent process has been terminated, this phenomenon is called:
- Consider the following 3 processes, with the length of the CPU burst time given in milliseconds: Process Arrival Time Burst Time P1 0 8 P2…