CPU Scheduling Important Questions
CPU Scheduling Important Questions
a) Non-preemptive scheduling
b) Priority scheduling
c) Secondary scheduling
d) Round-robin scheduling
c) Maximize throughput
4. Which scheduling algorithm executes the process with the highest priority first?
a) First-Come-First-Serve (FCFS)
c) Priority scheduling
d) Round-robin scheduling
5. In which scheduling algorithm is the process with the shortest burst time executed next?
a) First-Come-First-Serve (FCFS)
d) Round-robin scheduling
6. What scheduling algorithm uses a fixed time quantum for each process?
a) First-Come-First-Serve (FCFS)
c) Priority scheduling
d) Round-robin scheduling
a) First-Come-First-Serve (FCFS)
c) Priority scheduling
d) Round-robin scheduling
8. What is the primary goal of the Multi-Level Feedback Queue scheduling algorithm?
b) Maximize throughput
9. What type of scheduler makes the decision of which process to execute next?
a) Long-term scheduler
b) Medium-term scheduler
c) Short-term scheduler
d) Secondary scheduler
10. Which scheduling algorithm follows the "first come, first served" principle?
a) First-Come-First-Serve (FCFS)
c) Priority scheduling
d) Round-robin scheduling
11. Which scheduling algorithm may suffer from the "convoy effect"?
a) First-Come-First-Serve (FCFS)
c) Priority scheduling
d) Round-robin scheduling
12. In preemptive scheduling, can a running process be forcibly interrupted and moved to the ready
queue?
a) Yes
b) No
Answer: a) Yes
13. Which scheduling algorithm guarantees that every process will get an equal share of the CPU
time?
a) First-Come-First-Serve (FCFS)
b) Shortest Job First (SJF)
c) Priority scheduling
d) Round-robin scheduling
c) Low throughput
15. Which scheduling criterion measures the time from submission to completion of a process?
a) Turnaround time
b) Response time
c) Waiting time
d) Execution time
17. In real-time scheduling, what is the highest priority level assigned to?
a) Background tasks
b) System processes
c) User processes
d) Critical tasks
18. Which scheduling algorithm may not work well in a time-sharing environment with interactive
users?
a) First-Come-First-Serve (FCFS)
c) Priority scheduling
d) Round-robin scheduling
b) Maximize throughput
a) First-Come-First-Serve (FCFS)
c) Priority scheduling
d) Round-robin scheduling
22. What is the drawback of using a small time quantum in round-robin scheduling?
c) Low throughput
23. Which scheduling algorithm assigns a priority value to each process and schedules them based
on these priorities?
a) First-Come-First-Serve (FCFS)
c) Priority scheduling
d) Round-robin scheduling
24. In a multi-level feedback queue scheduling, how are processes promoted to higher priority
queues?
d) Randomly
Answer: b) Based on the number of times they've been in the lower queue
a) First-Come-First-Serve (FCFS)
c) Priority scheduling
d) Round-robin scheduling
28. Which scheduling algorithm is based on the estimated remaining time of a process's execution?
a) First-Come-First-Serve (FCFS)
d) Round-robin scheduling
29. What does the term "context switch" refer to in CPU scheduling?
c) The process of saving and restoring a process's state when switching between processes
Answer: c) The process of saving and restoring a process's state when switching between processes
30. Which scheduling algorithm may result in poor response times for long-running processes?
a) First-Come-First-Serve (FCFS)
c) Priority scheduling
d) Round-robin scheduling
31. In non-preemptive scheduling, when does a process release the CPU voluntarily?
32. Which scheduling algorithm may lead to process starvation for longer processes waiting in the
ready queue?
a) First-Come-First-Serve (FCFS)
c) Priority scheduling
d) Round-robin scheduling
c) To select processes from the job queue and load them into memory
Answer: c) To select processes from the job queue and load them into memory
34. What scheduling criterion measures the time between submitting a process and its first response
from the system?
a) Turnaround time
b) Response time
c) Waiting time
d) Execution time
35. Which scheduling algorithm allows processes to share the CPU fairly in a time-sharing
environment?
a) First-Come-First-Serve (FCFS)
c) Priority scheduling
d) Round-robin scheduling