GateAI
CPU and I/O Scheduling

GATE CSE 2016 Set 1 · Q20

MCQ1 markEasy

Time

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?

Select one answerSingle correct

Pick an option to check

Solution

Step-by-step verified solution

Official answer: A) Shortest remaining time first

CPU and I/O Scheduling

Shortest Remaining Time First (SRTF), or Shortest Job First (SJF) when all processes arrive at the same time (t=0t = 0), is provably optimal in terms of minimizing the average waiting time for a given set of processes.

  • (A) Shortest remaining time first reduces the average waiting time because shorter processes execute first, thereby not delaying subsequent shorter jobs by large execution times.

  • (B) Round-robin introduces extra context-switching overhead and generally has a higher average waiting time than SJF/SRTF.

  • (C) Uniform random does not prioritize shorter bursts and yields sub-optimal average waiting time.

  • (D) Priority proportional to burst length behaves like Longest Job First (LJF), which actually maximizes the average waiting time.

Therefore, option A is the correct answer.

Try the question first, then check your work.

Think the official key or this write-up is wrong?

Report error or challenge

Examiner trap

The misconception this question tests

This CPU and I/O Scheduling previous year question is Q20 of the GATE CSE 2016 Set 1 paper. Find more GATE CSE PYQs on CPU and I/O Scheduling in Operating Systems, or browse all GATE CSE PYQs.

Free diagnostic

Where do you stand for GATE?

Take the 20-minute diagnostic: the 3 topics that cost you the most marks, and a rank range. Or sit 5 related CPU and I/O Scheduling PYQs now with no account.

One GATE CSE PYQ every morning

An official question by email at 7 AM IST, with a link to its verified solution. Unsubscribe in one click.

CPU and I/O Scheduling in GATE CSE

CPU and I/O Scheduling has 25 GATE CSE PYQs across 22 papers from 2011 to 2026. 4 of them are 1-mark MCQs like this one, and GATE CSE 2016 Set 1 has 2.

How GATE tests CPU and I/O Scheduling

More from GATE CSE 2016 Set 1

Share this solution

A plain-text card for WhatsApp or Telegram study groups.

GateAI solution cardGATE CSE 2016 Set 1 · Q20 · MCQ

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?

Topic-wise GATE CS PYQs with verified steps

Independent practice explanation verified by the GateAI team. GATE is conducted by the IITs; question text follows the official paper.