search
Log In
0 votes
190 views
If arrival time of a process is same as the end time of quantum slice for a process in round robin schedule then in what order we must place the processes in ready queue?
in Operating System 190 views
0
Please, give any example.
0
Arriving process is placed first. Then after the process whose time slice has expired.
0
Assume 4 processes A B C D with burst time 2 msec and  time quantum 2 msec
So process A will arrive at the completion of fisrt time quantum
so it's arrival time is 2 now A got cpu and again after 2 msec time quantum expires so process B will arrive at 4msec , similarly for other processes.
So arrival order will be first come first serve .

Please log in or register to answer this question.

Related questions

0 votes
1 answer
1
0 votes
1 answer
2
0 votes
1 answer
3
358 views
Consider the following table showing the arrival time burst time before io time and followed by CPU time again Process AT execution time Cpu io cpu 1 0 4 3 2 2 1 1 4 1 3 4 3 1 1 Using srtf scheduling policy what is the average completion time??
asked Oct 17, 2017 in Operating System Surya Dhanraj 358 views
0 votes
1 answer
4
413 views
In SCAN disk scheduling algorithm, we know that SCAN chooses the request that requires shortest seek distance in a preferred direction. What direction SCAN chooses at the first place before servicing any request? Does it take any random direction or chooses in SSTF manner in the first place? How do SCAN & C-SCAN suffer from indefinite postponement?
asked Oct 5, 2017 in Operating System Tuhin Dutta 413 views
...