5 Sheet
5 Sheet
Page 1 of 4
Operating Systems, Scheduling Chapter 5
c. The lack of preemption d-All of the above
11. One difficulty with the Shortest Remaining Time (SRT) scheduling technique is:
a. The need to know or estimate required processing times for each process
b. The starvation of shorter processes
c. The lack of preemption d-All of the above
12. Which of the following scheduling policies require prior knowledge or estimation of process length:
a. Shortest Remaining Time (SRT) b-Shortest Process Next (SPN)
c. Highest Response Ratio Next (HRRN) d-All of the above
13. It is impossible to make definitive comparisons of various scheduling policies due to dependence on factors
such as:
a. The probability distribution of service times of the various processes
b. The efficiency of the scheduling and context switching mechanisms
c. The nature of the I/O demand and performance of the I/O subsystem d-All of the above
14. The strategy that schedules processes based on their group affiliation is generally referred to as:
a. Queuing analysis b-Simulation modeling c-Fair share scheduling d-All of the above
Fill-In-The-Blank Questions:
1. The task of assigning processes to the processor or processors over time, in a way that meets system
objectives is called _______________.
2. The decision as to when to create a new process is generally driven by the desired degree of
_______________.
3. _______________-term scheduling is part of the system swapping function.
4. The _______________-term scheduler is invoked whenever an event occurs that may lead to the
suspension or preemption of the currently running process.
5. Response time and throughput are examples of _______________-related criteria for short-term scheduling
6. In a system employing priority scheduling, the scheduler always selects the process with the
_______________ priority level for processing.
7. The _______________, which has two general categories, specifies the instants in time at which the
selection function is exercised.
8. In terms of the queuing model, the total time that a process spends in a system (waiting time plus service
time) is called the _______________.
9. The Round Robin scheduling technique is also known as _______________, because each process is given
a set amount of processor time before being preempted.
10. _______________ is a scheduling policy in which the process with the shortest expected processing time is
selected next, but there is no preemption.
11. _______________ is a scheduling policy in which the process with the shortest expected processing time is
selected next, and if a shorter process becomes ready in the system, the currently running process is
preempted.
12. A scheduling mechanism that requires no prior knowledge of process length, yet can nevertheless favor
shorter jobs, is known as the _______________ scheduling mechanism.
13. In _______________ scheduling, each user is assigned a weighting of some sort that defines that user’s
share of system resources as a fraction of the total usage of those resources.
Page 2 of 4
Operating Systems, Scheduling Chapter 5
1. Briefly describe the three types of processor scheduling.
2. What is usually the critical performance requirement in an interactive operating system?
3. What is the difference between turnaround time and response time?
4. For process scheduling, does a low-priority value represent a low priority or a high priority?
5. What is the difference between preemptive and nonpreemptive scheduling?
6. Briefly define FCFS scheduling.
7. Briefly define round-robin scheduling.
8. Briefly define shortest-process-next scheduling.
9. Briefly define shortest-remaining-time scheduling.
10. Briefly define highest-response-ratio-next scheduling.
11. Briefly define feedback scheduling.
12. What advantage is there in having different time-quantum sizes on different levels of a
multilevel queuing system?
Problems
1-
Page 3 of 4
Operating Systems, Scheduling Chapter 5
2-
3-
Page 4 of 4