CPU Scheduling · Operating System
37 questions · asked in 24 of 27 years (2000–2026)
MCQ 24 · MSQ 2 · NAT 111-mark 21 · 2-mark 16
2000Questions per year2026
Questions 36–37 of 37
Which of the following scheduling algorithms is non-preemptive ?
Answer: (B)
- (A) Round Robin: a process is preempted when its time quantum ends.
- (B) First-In First-Out: a process is never preempted. It keeps the CPU until it finishes or blocks. This is the non-preemptive one.
- (C) Multilevel Queue Scheduling: a process is preempted when a process arrives in a higher-priority queue.
- (D) Multilevel Queue Scheduling with Feedback: a process is preempted when a higher-priority process arrives, or when its time slice at its level ends and it is moved to a lower-priority queue.
Answer: (B)
- (B) First-In First-Out: a process is never preempted. It keeps the CPU until it finishes or blocks. This is the non-preemptive one.
- (C) Multilevel Queue Scheduling: a process is preempted when a process arrives in a higher-priority queue.
- (D) Multilevel Queue Scheduling with Feedback: a process is preempted when a higher-priority process arrives, or when its time slice at its level ends and it is moved to a lower-priority queue.
Answer: (B)
Consider a set of n tasks with known runtimes to be run on a uniprocessor machine. Which of the following processor scheduling algorithms will result in the maximum throughput ?
Answer: (B)
Answer : Shortest job first
Throughput is the number of tasks finished in one unit of time. Shortest Job First gives the highest throughput. It runs the shortest jobs first, so the most tasks get completed.
Note: The Highest-Response-Ratio-Next policy also prefers shorter jobs, but it puts a limit on how long the longer jobs have to wait.
Keep practising
Topics in Operating System
System CallProcessThreadProcess SynchronizationDeadlock
CPU SchedulingYou are here
Disk SchedulingMemory ManagementFile Systems