adplus-dvertising
frame-decoration

Question

Three CPU intensive processes requires 10, 20 and 30 time units and arrive at times 0, 2 and 6 respectively. The operating system implements a shortest remaining time first scheduling algorithm. Considering that the context switches at time zero and at the end are not counted the number of context switches are needed is ______.

a.

4

b.

3

c.

2

d.

1

Posted under Operating System

Answer: (c).2

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Three CPU intensive processes requires 10, 20 and 30 time units and arrive at times 0, 2 and 6 respectively. The operating system implements a shortest remaining time first...

Similar Questions

Discover Related MCQs

Q. What is the non - preemptive scheduling algorithm?

Q. Which of the following statements are true?

Q. On a single processor four jobs are to be executed. At time t = (0) + (jobs arrive in the order of A, B, C, D). The burst CPU time requirements are 4, 1, 8, 1 time units respectively.
Under Round Robin Scheduling with the time slice of 1 time unit the completion time of A is ______.

Q. Interval between the time of submission and completion of the job is called

Q. A scheduler which selects processes from secondary storage device is called

Q. The scheduling in which CPU is allocated to the process with least CPU-burst time is called

Q. The “turn-around” time of a user job is the

Q. Program ‘preemption’ is

Q. “Throughput” of a system is

Q. Jobs which are admitted to the system for processing is called

Q. ___________ is a technique of improving the priority of process waiting in Queue for CPU allocation.

Q. .............. refers to a situation in which a process is ready to execute but is continuously denied access to a processor in deference to other processes.

Q. Which of the following are the states of a five state process model?

i) Running ii) Ready iii) New iv) Exit v) Destroy

Q. State which statement is true for Suspended process?

i) The process is not immediately available for execution.
ii) The process may be removed from suspended state automatically without removal order.

Q. Following is/are the reasons for process suspension.

Q. Match the following mechanisms for interrupting the execution of a process and their uses.

i) Interrupt a) Call to an operating system function
ii) Trap b) Reaction to an asynchronous external event
iii) Supervisor Call c) Handling of a error or an exception condition

Q. In process scheduling, …………………… determines when new processes are admitted to the system.

Q. In process scheduling, ………………… determines which ready process will be executed next by processor.

Q. Throughput of a system is

Q. Round robin scheduling is essentially the preemptive version of ...........