Operating System MCQ - Process Scheduling
Process Scheduling MCQs : This section focuses on "Process Scheduling" in Operating System. These Multiple Choice Questions (MCQ) should be practiced to improve the Operating System skills required for various interviews (campus interview, walk-in interview, company interview), placements, entrance exams and other competitive examinations.
1. The OS maintains all PCBs in?
A. Process Scheduling Queues
B. Job queue
C. Ready queue
D. Device queues
View Answer
Ans : A
Explanation: The OS maintains all PCBs in Process Scheduling Queues
2. The processes which are blocked due to unavailability of an I/O device constitute this queue.
A. Process Scheduling Queues
B. Job queue
C. Ready queue
D. Device queues
View Answer
Ans : D
Explanation: Device queues : The processes which are blocked due to unavailability of an I/O device constitute this queue.
3. Two-state process model refers to?
A. running states
B. non-running states
C. Both A and B
D. None of the above
View Answer
Ans : C
Explanation: Two-state process model refers to running and non-running states
4. Which is not a type of Schedulers?
A. Long-Term Scheduler
B. Short-Term Scheduler
C. Medium-Term Scheduler
D. None of the above
View Answer
Ans : D
Explanation: All of the above are a type of Schedulers.Schedulers are of three types : Long-Term Scheduler, Short-Term Scheduler and Medium-Term Scheduler
5. Which scheduler is also called a job scheduler?
A. Long-Term Scheduler
B. Short-Term Scheduler
C. Medium-Term Scheduler
D. All of the above
View Answer
Ans : A
Explanation: Long Term Scheduler is also called a job scheduler.
6. When the suspended process is moved to the secondary storage. This process is called?
A. process mix.
B. swapping
C. Swap-In
D. Swap-Out
View Answer
Ans : B
Explanation: To remove the process from memory and make space for other processes, the suspended process is moved to the secondary storage. This process is called swapping
7. Which scheduler Speed is fastest?
A. Long-Term Scheduler
B. Short-Term Scheduler
C. Medium-Term Scheduler
D. Swapping
View Answer
Ans : B
Explanation: Short-term schedular Speed is fastest among other two .
8. Which Schedular is a part of Time sharing systems?
A. Long-Term Scheduler
B. Short-Term Scheduler
C. Medium-Term Scheduler
D. Swapping
View Answer
Ans : C
Explanation: Medium-Term Scheduler is a part of Time sharing systems..
9. A_________ is the mechanism to store and restore the state
A. PCB
B. Program Counter
C. Scheduling information
D. context switch
View Answer
Ans : D
Explanation: A context switch is the mechanism to store and restore the state or context of a CPU in Process Control block so that a process execution can be resumed from the same point at a later time.
10. Which of the following information is stored when the process is switched?
A. I/O State information
B. Accounting information
C. Base and limit register value
D. All of the above
View Answer
Ans : D
Explanation: When the process is switched, the following information is stored for later use : Program Counter, Scheduling information, Base and limit register value, Currently used register, Changed State, I/O State information, Accounting information
Discussion