Machine-translated by Google. Questions are authored in English.
Top

Discussion

A virtual memory based memory management algorithm partially swaps out a process. This is an example of

  • A.short term scheduling
  • B.long term scheduling
  • C.medium term scheduling
  • D.mutual exclusion

Answer: C

When a virtual memory based memory management algorithm swaps out a process partly to relieve memory pressure, it is carrying out medium term scheduling, option (C). The medium term scheduler removes processes from memory, reducing the degree of multiprogramming, and later brings them back, so it is the swapping level of the scheduler. Short term scheduling picks which ready process gets the CPU next, long term scheduling decides which jobs are admitted into the system, and mutual exclusion is a synchronisation property and not a scheduling level. So (A), (B) and (D) are wrong.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.