Anonymous user menu

Round Robin

Four jobs to be executed on a single processor system arrive at time 0+ in the order A,B,C,D.Their burst CPU time requirements are 4, 1, 8, 1 time unit respectively.The compilation time of A under round robin scheduling with time slice of one time unit is

a. 10               b. 4                     c. 8               d.9

Answer

Create a Gantt chat

 Time Slice is 1.

A B C D A B A B A B

0        1         2         3         4          5         6         7         8         9          14

From gantt chart we can get the compilation time of A i.e 9.

so ans is D.

0Comment