In this section of Operating System CPU Scheduling MCQs.it contain Operating System Process Management – CPU Scheduling MCQs (Multiple Choice Questions Answers).All the MCQs (Multiple Choice Question Answers) requires in detail reading of Operating System subject as the hardness level of MCQs have been kept to advance level.
1. CPU-scheduling decisions may take place under which of the following circumstances:
- When a process switches from the running state to the waiting state
- When a process switches from the running state to the ready state
- When a process switches from the waiting state to the ready state
- When a process terminates
- 1 and 2
- 1,2,3
- 2,3,4
- 1,2,3,4
2. Under nonpreemptive scheduling, once the CPU has been allocated to a process, the process keeps the CPU until .
- it releases the CPU by terminating
- it releases the CPU by switching to the waiting state
- it releases the CPU By switching to the ready state
- it releases the CPU By switching to the Running state
- 1 and 2
- 1,2,3
- 2,3,4
- 1,2,3,4
3. An I/O-bound program typically has
- a few long CPU bursts
- a few short CPU bursts
- many short CPU bursts
- None of the above
4. A CPU-bound program might have
- a few long CPU bursts
- a few short CPU bursts
- many short CPU bursts
- None of the above
5. Whenever the CPU becomes idle, the operating system must select one of the processes in the ___ to be executed.
- execution queue
- process queue
- waiting queue
- ready queue
As we shall see when we consider the various scheduling algorithms, a ready queue can be implemented as a FIFO queue, a priority queue, a tree, or simply an unordered linked list. Conceptually, however, all the processes in the ready queue are lined up waiting for a chance to run on the CPU. The records in the queues are generally process control blocks (PCBs) of the processes
6. The ____ is the module that gives control of the CPU to the process selected by the short-term scheduler.
- interrupt
- scheduler
- dispatcher
- All of the above
Another component involved in the CPU-scheduling function is the dispatcher.
This function involves the following:
- Switching context
- Switching to user mode
- Jumping to the proper location in the user program to restart that program
7. The dispatcher should be as fast as possible, since it is invoked during every process switch. The time it takes for the dispatcher to stop one process and start another running is known as the ____.
- hardware latency
- dispatch latency
- memory latency
- RAM Latency