Recent questions tagged process-scheduling

2 2 votes
0 0 answers
3.7k
3.7k views
Suppose in a system, processes arrive at an average rate of 6 per minute.On average each process takes 8 seconds of service time. Estimate the % of time CPU is idle in a ...
2 2 votes
0 0 answers
1.5k
1.5k views
Context switches can occur only in kernel mode. So for process switches first we have to move from user to kernel mode. Then we have to save the PCB of the process from w...
2 2 votes
1 answers 1 answer
3.4k
3.4k views
Consider 4 processes sharing the CPU in round robin fashion. If context switch time is 1 sec , what must be the time quantum q such that the number of context switches ar...
2 2 votes
0 0 answers
1.1k
1.1k views
Consider this table : Using SRTF policy what is the avg waiting time?given options :$2 \ 3 \ 4 \ 5$I am getting $\Large {\frac{5}{3}} $$\approx 1.67$
1 1 vote
1 1 answer
684
684 views
Consider two processes $P_1$ and $P_2$ each of which needs exactly one CPU burst. The duration of the CPU bursts are 10 ms and 20 ms for $P_1$ and $P_2$ respectively. Ass...
0 0 votes
2 answers 2 answers
2.5k
2.5k views
Consider the following scheduling: A.Gang schedulings.Guaranteed schedulingB.Rate monotonic schedulingt.Thread schedulingC.Fair share schedulingu.Real-time schedulingMatc...
1 1 vote
1 1 answer
4.5k
4.5k views
0 0 votes
0 0 answers
451
451 views
How to solve these type questions ...what is procedure ...I know the answer I just want to know shortcuts
0 0 votes
1 1 answer
987
987 views
Consider 4 processes, arriving at 0, 0, 2, 5, with total execution time of 10, 20, 30 and 40 units, respectively. Each process spends the first 20% of execution time doin...
0 0 votes
1 1 answer
1.6k
1.6k views
Choose correct answer from the below options:If the following jobs are to be executed on a single processor systemThe jobs are arrived at time 0 and in the order a, b, c,...
0 0 votes
1 1 answer
2.7k
2.7k views
when the interrupt occurs ,thena: process switching may be thereb: context saving must be therec: both a and bd.None of these
2 2 votes
1 answers 1 answer
5.2k
5.2k views
Which one of the following state transition is not possible?(A) Blocked to Blocked Suspended(B) Blocked Suspended to Ready Suspended(C) Blocked Suspended to Blocked(D) Re...
0 0 votes
0 0 answers
726
726 views
Consider a situation where there are 4 processes executing using RR scheduling. The processes are arriving at different intervals of time. Now, suppose P3 arrives when P2...
1 1 vote
0 0 answers
1.1k
1.1k views
sequence _______ is The an optional non-preemptive scheduling sequence for the following jobs which leaves the CPU idle for ______ unit (s) of time. {1,2,3},5 {3,2,1},0 ...
6 6 votes
1 answers 1 answer
13.8k
13.8k views
Measurements of a certain system have shown that a process runs, on the average, for time T before blocking for Input/Output. Process switch requires t...
0 0 votes
0 0 answers
722
722 views
can interruptput a process from running to ready queue??plz give a scenario(except process scheduling) in which running process dispatch to ready queue.
3 3 votes
0 0 answers
888
888 views
Using the shortest remaining time first, find the completion time of process p2, if the context switching overhead is 1 unit.A) 50B) 32C) 34D) 33(The Doubt I am facing is...
2 2 votes
3 3 answers
8.4k
8.4k views
Consider the processes P1, P2, P3, P4 whose arrival times are 0, 1, 2, 3 and Burst times are 5, 2, 13, 7. If the Context Switching time is 1 unit (ms), what is the averag...
1 1 vote
1 1 answer
664
664 views
If a process on a system could issue an i/o request then the process will be placed on which following state ..a)ready state b) running state c)ready queued)i/o queue //B...
3 3 votes
2 2 answers
911
911 views
2 2 votes
3 3 answers
1.7k
1.7k views
Which scheduling policy is most suitable for Real time operating systems?FCFSLCFSRound RobinPriority
1 1 vote
1 1 answer
778
778 views
Consider the following four processes with the arrival time and length of CPU burst given in milliseconds:$\begin{array}{ccc} \textbf{Process} & \textbf{Arrival Time} & \...
0 0 votes
3 3 answers
3.6k
3.6k views
Which module gives control of the CPU to the process selected by the short-term schedular?DispatcherInterruptSchedularThreading
0 0 votes
0 0 answers
794
794 views
Where is the difference between in a single processor system and a multiprocessor system , in calculating turned around time(with Burst Time and IO time)
0 0 votes
1 answers 1 answer
1.6k
1.6k views
When we have SRTF with IO, in the question they give BURST-TIME 1, IO, BURST-TIME2 . My doubt is whether to apply SRTF on total burst time (I mean BT1 + BT2) or on part o...
0 0 votes
4 4 answers
1.8k
1.8k views
Consider the below program as two concurrent processes:Semaphore x:= 0;P1: repeat forever P2: repeat forever1.V(x); ...
1 1 vote
1 1 answer
2.0k
2.0k views
Round robin will always result in better output compared to FCFS. Is this statement TRUE?I know statement is FALSE when time quantum of RR is greater than longest CPU bur...
3 3 votes
1 1 answer
1.5k
1.5k views