25 Qs · since 2011 · 42 marks · 1.7 marks/paperMedium yield
CPU and I/O scheduling in GATE CS is predominantly an algorithmic and numerical topic focusing on precise Gantt chart simulation, turnaround/waiting time computation, and comparati… Guide
Topic guide
CPU and I/O scheduling in GATE CS is predominantly an algorithmic and numerical topic focusing on precise Gantt chart simulation, turnaround/waiting time computation, and comparative metric evaluation. While Preemptive Shortest Remaining Time First (SRTF) and Round Robin (RR) form the core of numerical problems, questions also assess real-time scheduling (Rate Monotonic), multi-processor scheduling, disk I/O head movement algorithms (SCAN, SSTF, C-LOOK), and theoretical properties like starvation and preemption hardware requirements.
Preemptive SRTF / Priority Metric Calculation
common · NAT · 2 marks · 2025, 2024, 2017, 2016
A table of 3 to 5 processes with arrival times, burst times (and optional priorities) is given. Candidates must construct a precise Gantt chart tracking preemptions at arrival instants and compute average turnaround time or average waiting time.
Round Robin Execution & State/Switch Tracking
common · mixed · 2 marks · 2022, 2020, 2014, 2012
Simulating Round Robin with a given time quantum , either determining completion orders, evaluating interleaved CPU-I/O bursts, tracing context switch pairs between specific processes, or comparing TAT/WT against SJF.
Comparative Algorithm Evaluation & Optimization
common · mixed · 2 marks · 2024, 2021, 2020, 2016
Comparing metrics (average TAT, average WT, or head movement) across two or more algorithms (e.g., SRTF vs NP-SJF, SSTF vs SCAN, SJF vs RR) or identifying optimal scheduling properties.
Disk I/O Head Scheduling
occasional · NAT · 2 marks · 2016, 2015
Given a sequence of cylinder/track requests, initial head position, and direction, calculate total seek distance or seek distance differences using SSTF, SCAN, LOOK, C-SCAN, or C-LOOK.
Advanced / Non-Standard Scheduling Models
occasional · mixed · 2 marks · 2026, 2025, 2015, 2013
Novel variations such as Rate Monotonic periodic task deadlines, dynamic priority re-evaluation over time, interleaved arrivals of multiple process streams, or multi-processor scheduling with asymmetric priority lists.
Conceptual & MSQ Theoretical Properties
occasional · MSQ · 1 marks · 2026, 2023, 2021, 2013
Testing theoretical definitions and boundary cases: starvation vulnerability, preemption hardware dependencies (timer interrupt), metric definitions (TAT = WT + BT), or algorithm equivalence.
Turnaround Time (TAT)
Used in virtually all CPU scheduling Gantt chart calculations to find process turnaround duration.
Waiting Time (WT)
Used to find total wait time in ready queue for CPU-bound processes.
Average Metric Calculation
Used to compute average waiting time or average turnaround time across all processes.
Rate Monotonic Priority Rule
Used when periodic real-time tasks are scheduled with priority inversely proportional to task period .
C-LOOK Total Head Movement
Used for C-LOOK disk scheduling moving upwards to the maximum request then wrapping to the minimum request.
Shift from simple single-algorithm MCQ questions to multi-algorithm comparison questions and precise NAT numerical outputs.
2024, 2020, 2016, 2014, 2011
Introduction of multi-processor asymmetric scheduling rules and complex multi-stream interleaved arrival workloads.
2026, 2025
Use of MSQs to test nuanced conceptual foundations such as starvation edge cases and hardware support requirements for preemption.
2023, 2021
Easy: Single-algorithm standard metrics with identical arrival times () or pure definitional MSQ/MCQ questions. Medium: SRTF/RR with 4-5 processes, staggered arrival times, context-switch tracking, or disk head calculations. Hard: Multi-core scheduling with asymmetric priority constraints, multi-loop CPU-I/O pipelines, or inverse reasoning to deduce impossible burst configurations from switch sequences.