9,312 views
35 35 votes

If the time-slice used in the round-robin scheduling policy is more than the maximum time required to execute any process, then the policy will

  1. degenerate to shortest job first
  2. degenerate to priority scheduling
  3. degenerate to first come first serve
  4. none of the above

4 Answers

Best answer
44 44 votes

Answer is (C).

RR follows FCFS with time slice if time slice is larger than the max time required to execute any process  then it is simply converged into  fcfs as every process will finish in first cycle itself

• edited by
8 8 votes
  AT BT
p0 0 4
p1 2 3
p2 3 1

LET T=5

PO    P1     P2

0      4    7       8

Same result with FCFS

Using SJF

PO    P2     P1

0      4    5      8

The reason being that RR uses a queue.And when the tq is pretty higher than the max burst of  all processes then all processes finish in the same order as they arrive in time less than tq.There  is no process which executes a part gets pre empted and added to queue end awaiting future turn.

• edited by
5 5 votes

C option

In Round Robin Scheduling, scheduler picks up the jobs based on Arrival time and execute it for the Time quantum if execution time is greater than the time quantum. So now when time quantum is greater than the Execution time of the job it is as good as First Come First Serve Policy.

3 3 votes

You can check it taking an example also. I'll explain why it happens so.

Actually we can say Round Robin is nothing but FCFS with preemption. Actually the TIME QUANTUM used in the algorithm, introduces preemption and hence makes it better than FCFS in terms of response time.

Now, if my time quantum is as large as the largest execution  in the set of proccesses then, even the largest execution time process will not get preempted. In a nutshell, I can say that we removed preemption from the algorithm, hence it is just left with FCFS, and hence it degenerates into FCFS.

Answer:
Position:
Show:

Related questions

48 48 votes
3 answers 3 answers
12.0k
12.0k views
Ishrat Jahan asked Oct 28, 2014
11,959 views
Match the following flag bits used in the context of virtual memory management on the left side with the different purposes on the right side of the table below.$$\small ...
47 47 votes
3 answers 3 answers
11.3k
11.3k views
Ishrat Jahan asked Oct 29, 2014
11,264 views
A Binary Search Tree (BST) stores values in the range $37$ to $573$. Consider the following sequence of keys.$81, 537, 102, 439, 285, 376, 305$$52, 97, 121, 195, 242, 381...
33 33 votes
7 answers 7 answers
18.4k
18.4k views
Ishrat Jahan asked Oct 28, 2014
18,432 views
Consider the C program below. What does it print?# include <stdio.h # define swap1 (a, b) tmp = a; a = b; b = tmp void swap2 ( int a, int b) { int tmp; tmp = a; a = b; b ...
12 12 votes
2 answers 2 answers
7.5k
7.5k views
Ishrat Jahan asked Oct 27, 2014
7,482 views
Match the programming paradigms and languages given in the following table. Paradigms Languages(I)Imperative(a)Prolog(II)Object Oriented(b)Lisp(III)Functional(c)C, Fortra...