CameraIcon
CameraIcon
SearchIcon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

In the working-set strategy, which of the following is done by the operating system to prevent thrashing?

I. It initiates another process if there are enough extra frames

II. It selects a process to suspend if the sum of the sizes of the working-sets.

III. Exceeds the total number of available frames.

A
Neither I nor II
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
II only
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
C
Both I and II
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
I only
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution

The correct option is B II only
If there are enough extra frames, another process can be initiated. If the sum of the working-set sizes increases, exceeding the total number of available frames, the operating system selects a process to suspend. The process's pages are written out (swapped), and its frames are reallocated to other processes. The suspended process can be restarted later."

flag
Suggest Corrections
thumbs-up
0
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Thrashing
OTHER
Watch in App
Join BYJU'S Learning Program
CrossIcon