FUNDAMENTALS OF COMPUTER

OPERATING SYSTEMS FOR COMPUTERS

OS FUNCTIONS

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
This is scheduling policy that selects for execution the waiting process with the smallest execution time.
A
First-come, first-serve
B
Shortest-job first scheduling
C
Round-robin scheduling
D
Priority scheduling
E
Multilevel queue scheduling
Explanation: 

Detailed explanation-1: -Shortest job next (SJN), also known as shortest job first (SJF) or shortest process next (SPN), is a scheduling policy that selects for execution the waiting process with the smallest execution time. SJN is a non-preemptive algorithm.

Detailed explanation-2: -Shortest Job First (SJF) is a type of disk scheduling algorithm in the operating system in which the processor executes the job first that has the smallest execution time. In the shortest Job First algorithm, the processes are scheduled according to the burst time of these processes.

Detailed explanation-3: -Shortest remaining time, also known as shortest remaining time first (SRTF), is a scheduling method that is a preemptive version of shortest job next scheduling. In this scheduling algorithm, the process with the smallest amount of time remaining until completion is selected to execute.

Detailed explanation-4: -Preemptive shortest job first Preemptive means that if another process arrives with an even shorter burst time after the process with the shortest burst time and arrival time is given CPU time, the CPU cycle is allocated to the process with the shorter burst time.

Detailed explanation-5: -We scheduled the same set of processes using the First come first serve algorithm in the previous tutorial, and got average waiting time to be 18.75 ms, whereas with SJF, the average waiting time comes out 4.5 ms .

There is 1 question to complete.