arrow
arrow
arrow
Which of the following scheduling algorithms is most prone to convoy effect, where a long-running process blocks shorter processes behind it?​
Question

Which of the following scheduling algorithms is most prone to convoy effect, where a long-running process blocks shorter processes behind it?​

A.

Shortest Job First (SJF)

B.

First-Come, First-Served (FCFS)

C.

Priority Scheduling (non-preemptive)

D.

Round Robin

Correct option is B

The correct answer is (b) First-Come, First-Served (FCFS).

  • FCFS processes in arrival order, meaning that once a long process starts, it runs to completion, blocking shorter processes that arrive later.

  • The convoy effect happens when a long-running process, arriving first, delays all subsequent shorter processes, increasing their waiting times.

  • FCFS lacks preemption and does not prioritize processes based on their burst time, leading to inefficiency when a long process precedes many short ones.

Information Booster:

  • FCFS: The simplest scheduling algorithm that runs processes in the order they arrive, but can lead to high average waiting times if a long process is ahead of shorter ones.

  • Convoy Effect: Occurs when a long-running process causes all other shorter processes to wait, increasing their average waiting time and reducing system efficiency.

  • Shortest Job First (SJF): Prioritizes shorter processes, helping to minimize waiting times and avoid the convoy effect.

  • Priority Scheduling (non-preemptive): Schedules processes based on priority, not necessarily arrival time, and can also lead to blocking if high-priority processes are long.

  • Round Robin: Assigns fixed time slices to each process, ensuring no process monopolizes the CPU, which reduces the convoy effect.

test-prime-package

Access ‘RRB NTPC’ Mock Tests with

  • 60000+ Mocks and Previous Year Papers
  • Unlimited Re-Attempts
  • Personalised Report Card
  • 500% Refund on Final Selection
  • Largest Community
students-icon
175k+ students have already unlocked exclusive benefits with Test Prime!

Free Tests

Free
Must Attempt

RRB Technician Gr.III Full Mock Test 1

languageIcon English
  • pdpQsnIcon100 Questions
  • pdpsheetsIcon100 Marks
  • timerIcon90 Mins
languageIcon English
Free
Must Attempt

RRB Technician Grade-3 PYP (20 Dec 2024 S2)

languageIcon English
  • pdpQsnIcon100 Questions
  • pdpsheetsIcon100 Marks
  • timerIcon90 Mins
languageIcon English
Free
Must Attempt

General Science Section Test 01

languageIcon English
  • pdpQsnIcon40 Questions
  • pdpsheetsIcon40 Marks
  • timerIcon20 Mins
languageIcon English