recategorized by
16,574 views
47 votes
47 votes

The sequence __________ is an optimal non-preemptive scheduling sequence for the following jobs which leaves the CPU idle for ________ unit(s) of time.$$\small \begin{array}{|c|c|c|} \hline  \textbf{Job} & \textbf{Arrival Time} & \textbf{Burst Time} \\\hline 1 & 0.0 & 9 \\\hline  2 & 0.6 & 5 \\\hline 3 & 1.0 & 1 \\\hline \end{array}$$

  1. $\{3, 2, 1\}, 1$
  2. $\{2, 1, 3\}, 0$
  3. $\{3, 2, 1\}, 0$
  4. $\{1, 2, 3\}, 5$
recategorized by

5 Answers

1 votes
1 votes
SJF is best among all non-preemptive methods with its disadvantages. SJF gives less average waiting time and less Turn around time than others and more

in all scheduling algorithms SRJF(i.e SJF with preemption )gives optimal av. waiting time and av. Turn around time

So we will use SJF here to get optimal

3,2,1 will be the sequence but from 0 to 1 CPU will be idle
edited by
Answer:

Related questions

39 votes
39 votes
4 answers
5
Kathleen asked Oct 8, 2014
13,444 views
Which scheduling policy is most suitable for a time shared operating system?Shortest Job FirstRound RobinFirst Come First ServeElevator
25 votes
25 votes
3 answers
6
Kathleen asked Oct 8, 2014
10,799 views
In a virtual memory system the address space specified by the address lines of the CPU must be _____ than the physical memory size and ____ than the secondary storage siz...