Skip to content

GATE CS CPU Scheduling questions

Practise CPU Scheduling questions for GATE CS. Explore official PYQs and original topic-wise quizzes, check answers and view available solutions. Free, no sign-in.

Subject, topic, year and type filter the full library. Match any choice within a filter, and all selected filter categories. Search, source and sort apply to this page.

20 on this page
Official PYQ2015Operating SystemCPU SchedulingMCQ · 1 mark
The maximum number of processes that can be in Ready\textit{Ready} state for a computer system with nn CPUs is :
Official PYQ2014Operating SystemCPU SchedulingNAT · 1 mark
Consider the following set of processes that need to be scheduled on a single CPU. All the times are given in milliseconds. …
Official PYQ2014Operating SystemCPU SchedulingNAT · 1 mark
Three processes AA, BB and CC each execute a loop of 100100 iterations. In each iteration of the loop, a process performs a single computation that requires tct_c CPU milliseconds and then initiates a single I/O operation that lasts for tiot_{io} milliseconds. It is assumed that the computer where the processes execute has sufficient number of …
Official PYQ2014Operating SystemCPU SchedulingNAT · 1 mark
An operating system uses shortest remaining time first scheduling algorithm for pre-emptive scheduling of processes. Consider the following set of processes with their arrival times and CPU burst times (in milliseconds): …
Official PYQ2013Operating SystemCPU SchedulingMCQ · 1 mark
A scheduling algorithm assigns priority proportional to the waiting time of a process. Every process starts with zero (the lowest priority). The scheduler re-evaluates the process priorities every TT time units and decides the next process to schedule. Which one of the following is TRUE if the processes have no I/O operations and all arrive at time zero?
Official PYQ2012Operating SystemCPU SchedulingMCQ · 1 mark
Consider the 33 processes, P1,P2P1, P2 and P3P3 shown in the table. ProcessArrival TimeTime Units RequiredP105P217P334\small \begin{array}{|c|c|c|} \hline \textbf{Process} & \textbf{Arrival Time} & \textbf{Time Units Required} \\ \hline \text{P1} & 0 & 5\\ \hline \text{P2} & 1 & 7 \\ \hline \text{P3} & 3 & 4 \\ \hline \end{array}The completion order of the 33 …
Official PYQ2010Operating SystemCPU SchedulingMCQ · 1 mark
Which of the following statements are true? Shortest remaining time first scheduling may cause starvation Preemptive scheduling may cause starvation Round robin is better than FCFS in terms of response time
Official PYQ2009Operating SystemCPU SchedulingMCQ · 1 mark
In the following process state transition diagram for a uniprocessor system, assume that there are always some processes in the ready state: Now consider the following statements: If a process makes a transition DD, it would result in another process making transition AA immediately. A process P2P_2 in blocked state can make transition E while …
Official PYQ2007Operating SystemCPU SchedulingMCQ · 1 mark
An operating system used Shortest Remaining System Time first (SRT) process scheduling algorithm. Consider the arrival times and execution times for the following processes: …
Official PYQ2007Operating SystemCPU SchedulingMCQ · 1 mark
Group 1 contains some CPU scheduling algorithms and Group 2 contains some applications. Match entries in Group 1 to entries in Group 2. …
Official PYQ2006Operating SystemCPU SchedulingMCQ · 1 mark
Consider three processes, all arriving at time zero, with total execution time of 1010, 2020 and 3030 units, respectively. Each process spends the first 20%\text{20\%} of execution time doing I/O, the next 70%\text{70\%} of time doing computation, and the last 10%\text{10\%} of time doing I/O again. The operating system uses a shortest remaining …
Official PYQ2006Operating SystemCPU SchedulingMCQ · 1 mark
Consider three processes (process id 00, 11, 22 respectively) with compute time bursts 22, 44 and 88 time units. All processes arrive at time zero. Consider the longest remaining time first (LRTF) scheduling algorithm. In LRTF ties are broken by giving priority to the process with the lowest process id. The average turn around time is:
Official PYQ2006Operating SystemCPU SchedulingMCQ · 1 mark
Consider three CPU-intensive processes, which require 1010, 2020 and 3030 time units and arrive at times 00, 22 and 66, respectively. How many context switches are needed if the operating system implements a shortest remaining time first scheduling algorithm? Do not count the context switches at time zero and at the end.
Official PYQ2004Operating SystemCPU SchedulingMCQ · 1 mark
Consider the following set of processes, with the arrival times and the CPU-burst times gives in milliseconds. …
Official PYQ2003Operating SystemCPU SchedulingMCQ · 1 mark
A uni-processor computer system only has two processes, both of which alternate 1010 ms\text{ms} CPU bursts with 9090 ms\text{ms} I/O bursts. Both the processes were created at nearly the same time. The I/O of both processes can proceed in parallel. Which of the following scheduling strategies will result in the least CPU utilization (over a long …
Official PYQ2002Operating SystemCPU SchedulingMCQ · 1 mark
Which of the following scheduling algorithms is non-preemptive?
Official PYQ1998Operating SystemCPU SchedulingNAT · 1 mark
In a computer system where the ‘best-fit’ algorithm is used for allocating ‘jobs’ to ‘memory partitions’, the following situation was encountered: …
Official PYQ1998Operating SystemCPU SchedulingMCQ · 1 mark
Consider nn processes sharing the CPU in a round-robin fashion. Assuming that each process switch takes ss seconds, what must be the quantum size qq such that the overhead resulting from process switching is minimized but at the same time each process is guaranteed to get its turn at the CPU at least every tt seconds?
Official PYQ1996Operating SystemCPU SchedulingMCQ · 1 mark
Four jobs to be executed on a single processor system arrive at time 00 in the order A,B,C,DA, B, C, D. Their burst CPU time requirements are 4,1,8,14, 1, 8, 1 time units respectively. The completion time of AA under round robin scheduling with time slice of one time unit is
Official PYQ1995Operating SystemCPU SchedulingMCQ · 1 mark
The sequence __________ is an optimal non-preemptive scheduling sequence for the following jobs which leaves the CPU idle for ________ unit(s) of time. …