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

Consider an arbitrary set of CPU-bound processes with unequal CPU burst lengths submitted at the same time to a computer system. Which one of the following process scheduling algorithms would minimize the average waiting time in the ready queue?

A
Round-robin with time quantum less than the shortest CPU burst
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
Uniform random
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
Highest priority first with priority proportional to CPU burst length
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
Shortest remaining time first
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
Open in App
Solution

The correct option is D Shortest remaining time first
To minimize the average waiting time, we need to select the shortest remaining time process first, because all are arriving at the same time and they have unequal CPU burst times.

All other options will not minimize the waiting time. So, the answer is SRTF algorithm.

flag
Suggest Corrections
thumbs-up
0
similar_icon
Similar questions
View More
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Benefits of Threads
OTHER
Watch in App
Join BYJU'S Learning Program
CrossIcon