785 views
2 2 votes

The Following processes are being scheduled using a Premptive RR scheduling Alogrithm. Each Process is Assigned a numeric Proirity, with higher number indicating higher priority. In addition it also has ideal task which consumes no CPU Resources and is identified by Pidle. This task has Priority 0 and is scheduled whenever the system has no other process to run. The length of time Quantum = 10 units.If a process is prempted by a higher priority process,the prempted process is placed at the end of queue.

           Thread               Priority           Burst            Arrival
              P1               40               20                 0
              P2               30               25                 25
              P3               30               25                 30
              P4               35               15                 60
              P5                5               10                100    
              P6               10               10                105

A. Turn Around Time of Each Process ?

B. Waiting time of Each Process ?

C. CPU Utilization Rate ?

1 Answer

0 0 votes
RR scheduling is simply FCFS with preemption added. The preemption occurs on the basis of quantum. No matter what the priority the processes will be preempted once the time quantum is over and put at the end of a queue. The process at the start of the queue is brought up for execution next.
Position:
Show:

Related questions

1 1 vote
2 2 answers
482
482 views
tarunmundriya asked Dec 27, 2025
482 views
Consider the two-dimensional array A:int A[][] = new int[100][100];where A[0][0] is at location 200 in a paged memory system with pages of size 200. A small process that ...
0 0 votes
0 0 answers
216
216 views
tarunmundriya asked Dec 27, 2025
216 views
Given six memory partitions of 300 KB, 600 KB, 350 KB, 200 KB, 750 KB, and 125 KB (in order), how would the first-fit, best-fit, and worst-fit algorithms place processes ...
0 0 votes
0 0 answers
204
204 views
tarunmundriya asked Dec 27, 2025
204 views
Consider the page table for a system with 16-bit virtual and physical addresses and 4,096-byte pages.The reference bit for a page is set to 1 when the page has been ref- ...
0 0 votes
1 1 answer
196
196 views
tarunmundriya asked Dec 27, 2025
196 views
Consider the page table for a system with 12-bit virtual and physical addresses and 256-byte pages.The list of free page frames is D, E, F (that is, D is at the head of t...