Recent questions tagged scheduling

4 4 votes
1 1 answer
246
246 views
Three processes $P_1$, $P_2$, and $P_3$ are scheduled using Round Robin.Assume:Each process has one kernel threadTime quantum $=\text{10 ms}$Context switch time $=\text{1...
6 6 votes
2 2 answers
281
281 views
Match the following$$\begin{array}{ll}\text{I. FCFS} & \text{i. Optimal Waiting Time} \\\text{II. SJF} & \text{ii. Convoy effect} \\\text{III. Round Robin} & \text{iii. N...
3 3 votes
4 4 answers
228
228 views
Consider the following five processes: $$\begin{array}{|c|c|c|c|}\hline\text{Process} & \text{Arrival Time} & \text{Burst Time} & \text{Priority} \\\hlineP_1 & 0 & 4 & 1 ...
6 6 votes
2 2 answers
277
277 views
Which of the following statements about priority scheduling are correct?Priority scheduling can behave like SJF if the predicted CPU burst time is used as the priority. A...
4 4 votes
2 2 answers
272
272 views
Which of the following statements are correct?LJF is a non-preemptive scheduling policy that selects the ready job with the largest original CPU burst. LRTF is a preempti...
4 4 votes
4 4 answers
265
265 views
Three processes have the following CPU burst times:$P_1=7$$P_2=1$$P_3=16$At time $0$, only $P_1$ and $P_3$ are ready. Process $P_2$ becomes ready at time $2$.If Shortest ...
3 3 votes
3 3 answers
225
225 views
Consider the following processes. All processes arrive at the same time.\[\begin{array}{c|c|c}\text{Process} & \text{Burst Time} & \text{Priority} \\\hlineP_1 & 10 & 3 \\...
3 3 votes
3 3 answers
275
275 views
Consider the following processes:$$\begin{array}{c|c|c} \text{Process} & \text{Arrival Time} & \text{Processing Time} \\ \hline P_1 & 0 & 2 \\ P_2 & 1 & 6 \\ P_3 & 4 & 1 ...
3 3 votes
1 1 answer
161
161 views
Which of the following statements are correct?A Round Robin scheduler may preempt the currently running job. A Shortest-Time-to-Completion-First scheduler cannot cause jo...
5 5 votes
2 2 answers
241
241 views
The actual CPU bursts of a process begin as: $$6, 4, 6, 4, 13, \ldots$$The initial predicted CPU burst is: $\tau_0 = 10$ Using exponential averaging with: $$\alpha = 0.7$...
2 2 votes
1 1 answer
196
196 views
Three jobs arrive at approximately the same time, with $A$ arriving slightly before $B$, and $B$ slightly before $C$. Their CPU burst times are: $A = 2$ seconds $B = 8$ s...
1 1 vote
1 1 answer
212
212 views
Which of the following statements are correct? A FIFO scheduler has lower average turnaround time when long jobs arrive after short jobs, compared with when short jobs ar...
4 4 votes
1 1 answer
174
174 views
Consider the following processes: $$\begin{array}{|c|c|c|}\hline\text{Job} & \text{Arrival Time} & \text{CPU Burst Time} \\ \hline A & 0 & 8 \\ B & 2 & 4 \\ C & 5 & 7 \\ ...
5 5 votes
1 1 answer
186
186 views
Which of the following are standard performance criteria used to evaluate CPU-scheduling algorithms?Waiting time Response time Throughput Page-fault rate
3 3 votes
1 1 answer
163
163 views
Which of the following statements about operating-system schedulers are correct?The long-term scheduler selects jobs from the job pool and admits them for execution. The ...
1 1 vote
0 0 answers
644
644 views
six jobs are waiting to be run . the expected running times are 9,7,5,2,1 and x respectively. where 5<x<7 & the average comp.time is 13. find the value of x using sjf alg...
0 0 votes
1 1 answer
521
521 views
10. Which of the following scheduler is used to decrease the load on the CPU?A ) Medium Term SchedulerB) Short Term SchedulerC) Long Term SchedulerD) None of the above.
0 0 votes
1 1 answer
693
693 views
Hi, All I have a question that in Process Scheduling topic most of the time we need to solve the problem using Gantt chart that's a bit time consuming . So I wanted to kn...
0 0 votes
0 0 answers
539
539 views
What will be the complexity?Q. 8 Given a set $A=\left\{A_{1}, A_{2}, \ldots, A_{n}\right\}$ of $n$ activities with start and finish time ( $S i, f i$ ), $1 \leq i \leq n$...
0 0 votes
0 0 answers
631
631 views
Let the base priority of a system be 130 and the nice value provided is -10. What is the time slice that the process gets in the O(1) scheduling algorithm?if it should be...
1 1 vote
1 1 answer
569
569 views
Does Waiting Time and Response TIme remains the same in Preemptive Scheduling Algorithm???
1 1 vote
1 1 answer
1.1k
1.1k views
Q.1 In round-robin scheduling there are 'n' no. of processes in ready queue and time slice is 'q' units in worst case, the interrupted process will get the CPU again afte...
0 0 votes
1 1 answer
510
510 views
Hello there, I’m studing from this book (Elmasri – Navathe, Fundamentals of Database Systems, 7th Ed), and I'm having problems understanding this definition:A schedule S ...
2 2 votes
4 answers 4 answers
13.2k
13.2k views
Which of the following scheduling algorithms may cause starvation ?First-come-first-servedRound RobinPriorityShortest process nextShortest remaining time first a, c and e...
0 0 votes
1 1 answer
682
682 views
OS:Which process scheduling mechanism gives the optimal average waiting time and throughput, is it SJF or SRTF?Which DISK scheduling algo gives the minimum seek time is i...
1 1 vote
1 1 answer
947
947 views
Free Holes4K;8K;20K;2KProgram size2K;14K;3K;6K;10K;20K;2KTime for Execution(B.T)4 ; 10; 2; 1; 4; 1; 8Using Best Fit Allocation Policy and FCFS CPU Scheduling ...
0 0 votes
0 0 answers
501
501 views
plz someone solve it
1 1 vote
4 4 answers
3.4k
3.4k views
Consider the following three processes with the arrival time and CPU burst time given in miliseconds:ProcessArrival TimeBurst Time$P_1$07$P_2$14$P_3$28The Gantt Chart for...
1 1 vote
1 1 answer
665
665 views
If inefficiency of scheduling algorithm is $\frac{Burst Time wasted}{Total Burst Time} X 100$Why do we have to multiply with 100?
1 1 vote
0 0 answers
2.2k
2.2k views
An example of a non pre-emptive scheduling algorithm is :Round Robin Priority SchedulingShortest job first 2 level scheduling