CS FundamentalsModerateGATE CS · Amazon/Microsoft SDE MCQ
Which statement about the convoy effect is correct?
- A. Under FCFS, short jobs queue behind one CPU hog while devices idle
- B. Under RR, a tiny quantum makes jobs move in a slow convoy
- C. Under SJF, long jobs starve behind an endless stream of short ones
- D. Only on multiprocessors, when affinity pins jobs to one core
Correct answer: A. Under FCFS, short jobs queue behind one CPU hog while devices idle
Under FCFS, I/O-bound processes finish their I/O and pile up behind a CPU hog, then the devices sit idle while they wait. Starvation of long jobs under SJF is a separate problem.
More Operating Systems questions
- Disk cylinders 0–199; the head is at 120 moving toward 199; requests: 10, 22, 20, 2, 40, 6, 38. Counting the return jump as head movement…
- Which property of a journaling file system's ordered mode is correct?
- A process's address space uses three-level paging with 9 bits per level and 4 KB pages (8-byte entries, so each table is one 4 KB page)…
- A CPU-bound process and an I/O-bound process share a single CPU under a multilevel feedback queue with priority boosting. What is the…
- Two processes each need two printers, and the system has exactly 3 printers; each requests its printers one at a time and holds them until…
- A file system uses 4 KB blocks. A file of 10,001 bytes is stored. How much space is lost to internal fragmentation in its last block?