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 PYQ2026Operating SystemCPU SchedulingNAT · 2 marks
Consider a CPU that has to execute two types of processes. The first type, Actuators (A), requires a CPU burst of 66 seconds. The second type, Controllers (C), requires a CPU burst of 88 seconds. A new process of type A arrives at time t=10t=10, 20,30,4020, 30, 40, and 5050 (in seconds). Similarly, a new process of type C arrives at time t=t= …
Official PYQ2026Operating SystemCPU SchedulingMCQ · 1 mark
Which one of the following CPU scheduling algorithms cannot be preemptive?
Official PYQ2025Operating SystemCPU SchedulingNAT · 1 mark
Suppose in a multiprogramming environment, the following C program segment is executed. A process goes into I/O queue whenever an I/O related operation is performed. Assume that there will always be a context switch whenever a process requests for an I/O, and also whenever the process returns from an I/O. The number of times the process will enter the ready …
Official PYQ2025Operating SystemCPU SchedulingMCQ · 2 marks
A computer has two processors, M1M_{1} and M2M_{2}. Four processes P1,P2,P3,P4P_{1}, P_{2}, P_{3}, P_{4} with CPU bursts of 20,16,2520,16,25, and 1010 milliseconds, respectively, arrive at the same time and these are the only processes in the system. The scheduler uses non-preemptive priority scheduling, with priorities decided as follows: M1M_{1} uses priority …
Official PYQ2025Operating SystemCPU SchedulingMCQ · 1 mark
​​​Processes P1,P2,P3,P4P 1, P 2, P 3, P 4 arrive in that order at times 0,1,20,1,2, and 8 milliseconds respectively, and have execution times of 10,13,610,13,6, and 9 milliseconds respectively. Shortest Remaining Time First (SRTF) algorithm is used as the CPU scheduling policy. Ignore context switching times. Which ONE of the following correctly gives the average …
Official PYQ2024Operating SystemCPU SchedulingMSQ · 1 mark
Which of the following process state transitions is/are NOT possible?
Official PYQ2024Operating SystemCPU SchedulingMCQ · 2 marks
​​​​Consider a single processor system with four processes A, B, C,\text{A, B, C,} and D\text{D}, represented as given below, where for each process the first value is its arrival time, and the second value is its CPU\text{CPU} burst time. A(0,10),B(2,6),C(4,3)\mathrm{A}(0,10), \mathrm{B}(2,6), \mathrm{C}(4,3), and D(6,7)\mathrm{D}(6,7). Which one of the following options …
Official PYQ2023Operating SystemCPU SchedulingMSQ · 1 mark
Which one or more of the following CPU\text{CPU} scheduling algorithms can potentially cause starvation?
Official PYQ2022Operating SystemCPU SchedulingMCQ · 2 marks
Consider four processes P, Q, R,\text{P, Q, R,} and S\text{S} scheduled on a CPU\text{CPU} as per round robin algorithm with a time quantum of 4 units.4\text{ units.} The processes arrive in the order P, Q, R, S,\text{P, Q, R, S,} all at time t = 0.\text{t = 0}. There is exactly one context switch from S\text{S} to Q,\text{Q}, exactly one context switch from …
Official PYQ2021Operating SystemCPU SchedulingNAT · 1 mark
Three processes arrive at time zero with CPU\text{CPU} bursts of 16,  2016,\;20 and 1010 milliseconds. If the scheduler has prior knowledge about the length of the CPU\text{CPU} bursts, the minimum achievable average waiting time for these three processes in a non-preemptive scheduler (rounded to nearest integer) is _____________ milliseconds.
Official PYQ2021Operating SystemCPU SchedulingMSQ · 1 mark
Which of the following statement(s) is/are correct in the context of CPU\text{CPU} scheduling?
Official PYQ2020Operating SystemCPU SchedulingMCQ · 1 mark
Consider the following statements about process state transitions for a system using preemptive scheduling. A running process can move to ready state. A ready process can move to running state. A blocked process can move to running state. A blocked process can move to ready state. Which of the above statements are TRUE?
Official PYQ2020Operating SystemCPU SchedulingNAT · 2 marks
Consider the following set of processes, assumed to have arrived at time 00. Consider the CPU scheduling algorithms Shortest Job First (SJF) and Round Robin (RR). For RR, assume that the processes are scheduled in the orderP1,P2,P3,P4P_1, P_2, P_3, P_4. …
Official PYQ2019Operating SystemCPU SchedulingNAT · 2 marks
Consider the following four processes with arrival times (in milliseconds) and their length of CPU bursts (in milliseconds) as shown below: …
Official PYQ2017Operating SystemCPU SchedulingNAT · 1 mark
Consider the following CPU processes with arrival times (in milliseconds) and length of CPU bursts (in milliseconds) as given below: …
Official PYQ2017Operating SystemCPU SchedulingNAT · 1 mark
Consider the set of process with arrival time (in milliseonds), CPU burst time (in millisecods) and priority (00 is the highest priority) shown below. None of the process have I/O burst time …
Official PYQ2016Operating SystemCPU SchedulingMCQ · 1 mark
Consider an arbitrary set of CPU-bound processes with unequal CPU burst lengths submitted at the same time to a computer system. Which one of the following process scheduling algorithms would minimize the average waiting time in the ready queue?
Official PYQ2016Operating SystemCPU SchedulingNAT · 1 mark
Consider the following processes, with the arrival time and the length of the CPU burst given in milliseconds. The scheduling algorithm used is preemptive shortest remaining-time first. …
Official PYQ2015Operating SystemCPU SchedulingNAT · 1 mark
Consider a uniprocessor system executing three tasks T1,T2T_{1}, T_{2} and T3T_{3} each of which is composed of an infinite sequence of jobs (or instances) which arrive periodically at intervals of 3,73, 7 and 2020 milliseconds, respectively. The priority of each task is the inverse of its period, and the available tasks are scheduled in order of …
Official PYQ2015Operating SystemCPU SchedulingMCQ · 1 mark
For the processes listed in the following table, which of the following scheduling schemes will give the lowest average turnaround time? …