Professional Documents
Culture Documents
Operating Systems
1. Which of the following is not in connection with preemptive scheduling when a process
switches from:
a) running to waiting state (b) running to ready state (c) waiting to ready state
2. Which of the following scheduler selects one of the processes in the ready queue to be
executed whenever the CPU becomes idle a) long-term scheduler b) mid-term scheduler c)
short-term scheduler.
3. Which of the following is not in connection with dispatcher a) switching context b)
switching to user mode c) scheduling
4. The main disadvantage of basic semaphore definition is
a) blocking b) busy waiting c) spinlock
5. Name three requirements for a solution to the critical section problem