Operating System MCQs with Answers
Practice important Operating System MCQs with answers and explanations.
Multiple Choice Questions
Q361: Preemptive scheduling allows a process to be _______ during its execution.
- A: Terminated
- B: Interrupted
- C: Suspended
- D: Finished
View Answer
B
Q362: Which scheduling criterion refers to the time taken for a process to complete after submission?
- A: Turnaround time
- B: Waiting time
- C: CPU utilization
- D: Response time
View Answer
A
Q363: What is the goal of CPU scheduling in a system?
- A: Minimize CPU utilization
- B: Maximize throughput
- C: Maximize waiting time
- D: None of the above
View Answer
B
Q364: Which algorithm is based on giving the CPU to the process that requests it first?
- A: FCFS
- B: SJF
- C: SRTF
- D: Priority Scheduling
View Answer
A
Q365: FCFS is a _______ scheduling algorithm.
- A: Preemptive
- B: Non-preemptive
- C: Both
- D: A
View Answer
B
Q366: Which of the following best describes the Gantt chart for the process execution order P1, P2, P3?
- A: First-come, first-served
- B: Shortest job first
- C: Shortest remaining time first
- D: Priority scheduling
View Answer
A
Q367: When does the convoy effect occur in FCFS scheduling?
- A: When short processes wait behind long processes
- B: When processes are prioritized by memory usage
- C: When I/O requests dominate CPU time
- D: None of the above
View Answer
A
Q368: The average waiting time in FCFS is calculated by _______.
- A: Dividing total CPU time by number of processes
- B: Average time spent in I/O divided by number of processes
- C: Summing all individual waiting times and dividing by number of processes
- D: Summing burst times and dividing by the number of processes
View Answer
C
Q369: In the system where processes P2, P3, and P1 arrive in that order, what is the average waiting time?
- A: 3
- B: 6
- C: 17
- D: 7
View Answer
B
Q370: The term "ready queue" refers to _______.
- A: A list of processes waiting for I/O
- B: A list of processes waiting for CPU time
- C: A list of processes ready for memory allocation
- D: A list of completed processes
View Answer
B