Operating System (CPU Scheduling) MCQ
Operating System (CPU Scheduling) MCQ
o a) High throughput
o c) Convoy effect
o d) Non-preemptive
Answer: c) Convoy effect
o b) Higher throughput
o c) Simpler implementation
o a) Round Robin
o b) FCFS
o c) Priority Scheduling
o d) SJF
Answer: b) FCFS
o c) The process is interrupted and put back into the ready queue
8. Which CPU scheduling algorithm gives priority to the process with the
smallest burst time?
o a) Round Robin
o b) SJF
o c) FCFS
o d) Priority Scheduling
Answer: b) SJF
o a) SJF
o b) Round Robin
o c) Priority Scheduling
o d) FCFS
Answer: c) Priority Scheduling
11. What is the purpose of the "waiting time" concept in CPU scheduling?
12. Which of the following algorithms is associated with the shortest burst
time scheduling?
o a) Round Robin
o b) SJF
o c) Priority Scheduling
o d) FCFS
Answer: b) SJF
13. Which of the following does NOT affect the CPU scheduling
performance?
o a) Throughput
o b) Waiting time
o c) Turnaround time
o d) Process burst time
Answer: d) Process burst time
o a) Round Robin
o b) SJF
o c) Priority Scheduling
o d) FCFS
Answer: a) Round Robin
15. What is the time complexity of the FCFS scheduling algorithm?
o a) O(1)
o b) O(n)
o c) O(n^2)
o d) O(log n)
Answer: b) O(n)
o a) SJF
o b) FCFS
o c) Round Robin
17. In which scheduling algorithm does a process with higher priority get
executed before processes with lower priority?
o a) Round Robin
o b) Priority Scheduling
o c) SJF
o d) FCFS
Answer: b) Priority Scheduling
o a) It is difficult to implement
19. What is the main objective of the Round Robin scheduling algorithm?
o b) First-Come, First-Served
o c) Priority Scheduling
o d) Round Robin
Answer: c) Priority Scheduling
o a) It is always preemptive
22. What happens when two processes have the same priority in Priority
Scheduling?
o a) Waiting time
o b) Turnaround time
o c) Execution time
o d) Response time
Answer: c) Execution time
24. What is the effect of larger time quantum in Round Robin scheduling?
o a) Round Robin
o b) SJF
o c) FCFS
o d) Priority Scheduling
Answer: a) Round Robin
26. What is the formula for calculating the waiting time for a process?
28. What is the main advantage of using Shortest Job First (SJF)
scheduling?
o d) It is easy to implement
Answer: b) It minimizes waiting time
29. What is the primary drawback of Priority Scheduling?
o a) It can lead to starvation of low-priority processes
o d) It is a non-preemptive algorithm
Answer: a) It can lead to starvation of low-priority processes
30. Which scheduling algorithm has the lowest average waiting time?
o a) FCFS
o b) SJF
o c) Round Robin
o d) Priority Scheduling
Answer: b) SJF
31. What is the primary disadvantage of Round Robin scheduling?
o a) Round Robin
o b) SJF
o c) FCFS
o d) Priority Scheduling
Answer: a) Round Robin
o a) It is executed last
o b) It may starve other processes
35. What happens in the Round Robin scheduling algorithm when all
processes are ready at the same time?
36. How does the time quantum affect the performance of Round Robin
scheduling?
38. What is the primary factor affecting the performance of CPU scheduling
algorithms?
o a) Number of processes
o b) Process burst time
o c) Time quantum
o d) Arrival time
Answer: b) Process burst time
o a) Round Robin
o b) SJF
o c) Priority Scheduling
o d) FCFS
Answer: b) SJF
40. How does the Average Waiting Time (AWT) relate to system performance
in CPU scheduling?
41. What is the effect of the time slice or quantum on Round Robin
scheduling?
42. Which of the following is true for the "convoy effect" in FCFS
scheduling?
43. What is the relationship between process burst time and waiting time in
SJF?
45. What does the term "context switching" refer to in CPU scheduling?
47. In which scheduling algorithm does the CPU allocate time slices to
processes in a cyclic order?
o a) Round Robin
o b) Priority Scheduling
o c) SJF
o d) FCFS
Answer: a) Round Robin
48. What is the key characteristic of the FCFS algorithm?
o c) It gives the CPU to the process with the shortest burst time
49. Which algorithm is most likely to produce the shortest average waiting
time?
o a) FCFS
o b) Round Robin
o c) Priority Scheduling
o d) SJF
Answer: d) SJF
50. What is the worst-case scenario for the FCFS scheduling algorithm?
o a) High throughput
o b) Low throughput