Machine-translated by Google. Questions are authored in English.
Top

Discussion

Which of the following scheduling algorithms selects the process that has been waiting the longest?

  • A.Shortest Job First (SJF)
  • B.Round Robin (RR)
  • C.First-Come, First-Served (FCFS)
  • D.Priority Scheduling

Answer: C

The algorithm is First-Come, First-Served (FCFS).

FCFS runs processes in the order they arrive in the ready queue, so the next process chosen is always the one that has waited longest.

Shortest Job First picks the process with the shortest burst, priority scheduling the highest priority, and round robin gives each process a time slice in turn, so none of them chooses by waiting time alone.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.