Questions: First-Come-First-Served (FCFS) Scheduling

5 questions to test your understanding

Score: 0 / 5
Question 1 Multiple Choice

Three processes arrive simultaneously. Process C requires 100ms of CPU time; processes A and B each require 1ms. Under FCFS with arrival order C → A → B, what is the average waiting time?

A0ms — since all three arrive simultaneously, FCFS distributes wait time equally
B34ms — FCFS computes waiting time as total_time / number_of_processes
CApproximately 67ms — C waits 0ms, A waits 100ms, B waits 101ms; average = 201/3 ≈ 67ms
D1ms — short processes dominate the average because there are more of them
Question 2 Multiple Choice

A student argues that FCFS scheduling is bad because it causes starvation — some processes never get the CPU. Is this correct?

AYes — long processes can keep getting scheduled repeatedly, permanently delaying short ones
BYes — high-priority processes always preempt lower-priority ones, leaving some processes stuck indefinitely
CNo — FCFS is non-preemptive and runs each process to completion in arrival order; every process in the queue eventually reaches the front
DNo — FCFS uses time slicing, so all processes share the CPU fairly and none starve
Question 3 True / False

In FCFS scheduling, if three short I/O-bound processes arrive just after a long CPU-bound process starts, all three must wait the entire duration of the long process before receiving any CPU time.

TTrue
FFalse
Question 4 True / False

FCFS scheduling causes starvation because processes that arrive later should usually wait longer, and a process can wait indefinitely if the queue is generally non-empty.

TTrue
FFalse
Question 5 Short Answer

What is the convoy effect in FCFS scheduling, and why does it harm I/O device utilization?

Think about your answer, then reveal below.