One of the Scheduling method is also known as Shortest-­next­-CPU­-burst algorithm, because scheduling through this method depends on the length of the next CPU burst of a process rather than its total length. Which of the following scheduling method is being discussed here?

One of the Scheduling method is also known as Shortest-­next­-CPU­-burst algorithm, because scheduling through this method depends on the length of the next CPU burst of a process rather than its total length. Which of the following scheduling method is being discussed here? Correct Answer SJF Scheduling

The correct answer is option 1.

Concept:

Shortest job first (SJF) or shortest job next scheduling method is also known as the Shortest-­next­-CPU­-burst algorithm because scheduling through this method depends on the length of the next CPU burst of a process rather than its total length. 

  • In a non-preemptive kernel, SJF (shortest job first) is used. This means that all processes in the ready state queue are evaluated, and the one with the least wait time advances to the front of the line.
  • A preemptive kernel uses SRTF, or shortest remaining time first. If a process that is shorter than the one now executing enters the ready state queue, the kernel will preempt the current process and start the shorter process first.
  • SJF/SRTF probably optimizes minimum average wait times.  This can result in a faster overall scheduler, certainly faster than FCFS or Round Robins. 

Hence the correct answer is SJF Scheduling.

Additional Information

  • FCFS is an abbreviation for First Come, First Serve. The job that arrived first in the ready queue is assigned to the CPU by the FCFS scheduling algorithm, followed by the job that arrived second, and so on. As a process holds the CPU until it either terminates or performs I/O, FCFS is a non-preemptive scheduling algorithm.
  • Round Robin is a CPU scheduling algorithm that assigns each process a fixed time slot in a cyclic manner.
  • When processes in the ready queue can be divided into different classes, each with its own scheduling requirements, multilevel queue scheduling is used. 

Related Questions

A process P1 has a period of 50 and a CPU burst of t1 = 25, P2 has a period of 80 and a CPU burst of 35., the priorities of P1 and P2 are?
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?
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?