806 views
0 0 votes

Given a system using Round Robin scheduling, assuming it can perform a context- switch in zero time. Each process is allowed to run only one instruction before the next instruction is allocated to the CPU. The ready queue always contains n-processes. If a process takes 't' seconds to execute in a uni-processing environment, how long will it take to execute on this system?

  1. n+t
  2. n*t
  3. n/t
  4. (n^2)t

1 Answer

0 0 votes
The answer should be $B$) $n \times t$.

But an accurate answer would be $(n \times t) – q(n-1)$ where $n \times t$ is the total execution time for all ‘$n$’ processes, $q(n-1)$ is the time to execute $one$ round for the remaining $n-1$ processes where $q$ is the time quantum.
Position:
Show:

Related questions

2 2 votes
1 1 answer
1.2k
1.2k views
srestha asked Mar 11, 2019
1,213 views
Consider a system having $10$ IO bound jobs and $1$ CPU bound job.. If IO bound job issue an IO request once for every ms of CPU computation and that each IO request take...
–1 –1 vote
1 1 answer
831
831 views
0 0 votes
2 2 answers
1.3k
1.3k views
Meghashyam Sujay asked Jan 30, 2017
1,280 views
Consider three processes arrive at time zero, having CPU Burst time 10, 3 and 4. The number of context switches (except at the beginning and at the ending) using Round Ro...
2 2 votes
0 0 answers
1.3k
1.3k views
Gateprepbuddy asked Jan 29, 2022
1,256 views
Consider the following :ProcessArrival TimeBurst Time A 0.000 3 B 1.001 6 C 4.001 4 D 6.001 2Which of the followin...