CS FundamentalsEasyAccenture · Capgemini pattern
Short jobs stuck waiting behind one long CPU-bound job is called the convoy effect. It is characteristic of which scheduling algorithm?
- A. Round Robin
- B. Shortest Remaining Time First
- C. First Come First Served
- D. Multilevel feedback queue
Correct answer: C. First Come First Served
FCFS is non-preemptive and ignores burst length, so a long job at the head of the queue holds up every short job behind it.
More Operating Systems questions
- A system spends most of its time swapping pages in and out and does very little useful work. This condition is called:
- Which page-replacement algorithm can show Belady's anomaly (more frames giving more page faults)?
- The disk-scheduling algorithm in which the head sweeps to one end of the disk servicing requests and then reverses direction, like a lift…
- Processes: P1 (arrival 0, burst 7), P2 (arrival 2, burst 4), P3 (arrival 4, burst 1), P4 (arrival 5, burst 4) (times in ms). Under FCFS…
- Which of the following is NOT one of the four necessary (Coffman) conditions for deadlock?
- How many times is "hi" printed? (Assume every fork() succeeds.) c int main() { for (int i = 0; i < 3; i++) fork(); printf("hin"); return…