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

Indicate which is a preemptive scheduling algorithm

A
Round-robin
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
B
Shortest-job-first
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
Priority-based
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
All of the above
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution

The correct option is D Round-robin

Round robin is the preemptive process scheduling algorithm. Each process is provided a fix time to execute, it is called a quantum. Once a process is executed for a given time period, it is preempted and other process executes for a given time period.

Round robin schedulingis similar to FCFS scheduling, except that CPU bursts are assigned with limits called time quantum. If the process finishes its burst before the time quantum timer expires, then it is swapped out of the CPU just like the normal FCFS algorithm.

A scheduling discipline is preemptive if, once a process has been given the CPU can take away. The strategy of allowing processes that are logically run able to be temporarily suspended is called preemptive scheduling and it is contrast to the "run to completion" method.



939671_919446_ans_8531a6a82e96484896fc41771df290ab.PNG

flag
Suggest Corrections
thumbs-up
0
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Types of Plan
BUSINESS STUDIES
Watch in App
Join BYJU'S Learning Program
CrossIcon