Chap 9 Flashcards

1
Q

In a multiprogramming system multiple processes exist concurrently in main memory.

A

TRUE

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

The key to multiprogramming is scheduling.

A

TRUE

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

The medium-term scheduler is invoked whenever an event occurs that may lead to the blocking of the current process or that may provide an opportunity to preempt a currently running process in favor of another.

A

FALSE

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Scheduling affects the performance of the system because it determines which processes will wait and which will progress.

A

TRUE

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

The main objective of long-term scheduling is to allocate processor time in such a way as to optimize one or more aspects of system behavior

A

FALSE

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

In most interactive operating systems adequate response time is the critical requirement.

A

TRUE

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

One problem with a pure priority scheduling scheme is that lower-priority processes may suffer starvation.

A

TRUE

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

First-come-first-serve (FCFS) performs much better for short processes than long ones.

A

FALSE

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Round robin is particularly effective in a general-purpose time-sharing system or transaction processing system.

A

TRUE

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

The objective of a fair-share scheduler is to monitor usage to give fewer resources to users who have had more than their fair share, and more to those who have had less than their fair share.

A

TRUE

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

The traditional UNIX scheduler employs multilevel feedback user round robin within each of the priority queues.

A

TRUE

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

First-come-first-serve (FCFS) is a simple scheduling policy that tends to favor I/O-bound processes over processor-bound processes.

A

FALSE

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

In the Highest Response Ratio Next (HRRN) scheduling policy, longer jobs are favored because they yield a larger ratio from the smaller denominator in the equation.

A

FALSE

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

A disadvantage of simulation is that results for a given run only apply to that particular collection of processes under that particular set of assumptions.

A

TRUE

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

In fair share 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.

A

TRUE

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

The decision as to which available process will be executed by the processor: _______________

A

short term scheduling

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

The __________ determines which process, among ready processes, is selected next for execution.

A

selection function

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

Which scheduling policy allows the OS to interrupt the currently running process and move it to the Ready state?

A

preemptive

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

The __________ specifies the instants in time at which the selection function is exercised.

A

decision mode

20
Q

The traditional UNIX scheduler divides processes into fixed bands of priority levels, with the highest priority band being the _________.

A

swapper band

21
Q

This is a decision whether to add a new process to the set of processes that are currently active:

A

long term scheduling

22
Q

A risk with __________ is the possibility of starvation for longer processes, as long as there is a steady supply of shorter processes.

A

SPN

23
Q

The decision as to which process’ pending I/O request shall be handled by an available I/O device:

A

I/O scheduling

24
Q

In the case of the _________ policy, the scheduler always chooses the process that has the shortest expected remaining processing time.

A

SRT (Shortest Remaining Time)

25
Q

This is a decision on whether to add a process to those that are at least partially in the main memory and therefore available for execution.

A

medium-term scheduling

26
Q

Response time in an interactive system is an example of:

A

user-oriented criteria for short-term policies

27
Q

__________ considers the execution history of a related group of processes along with the individual execution history of each process in making scheduling decisions.

A

FSS

28
Q

The operating system must make ________ types of scheduling decisions with respect to the execution of processes.

A

3

29
Q

Typically, the swapping-in function for processes is based on the need to manage ___________.

A

degree of multiprogramming

30
Q

The strategy that schedules processes based on their group affiliation is generally referred to as ___________.

A

fair share scheduling

31
Q

The aim of ________ is to assign processes to be executed by the processor or processors over time, in a way that meets system objectives, such as response time, throughput, and processor efficiency.

A

processor scheduling

32
Q

The __________ scheduler determines which programs are admitted to the system for processing.

A

long term

33
Q

_________ is the elapsed time between the submission of a request until the response begins to appear as output.

A

response time

34
Q

The simplest scheduling policy is __________.

A

first come first served

35
Q

__________ scheduling is part of the swapping function.

A

medium term

36
Q

In terms of the queuing model, _________ is the total time that the item spends in the system (waiting time plus service time).

A

turnaround time

37
Q

Giving each process a slice of time before being preempted is a technique known as __________.

A

time slicing

38
Q

A common technique for predicting a future value on the basis of a time series of past values is __________.

A

exponential averaging

39
Q

The ___________ scheduler executes most frequently and makes the fine-grained decision of which process to execute next.

A

short term

40
Q

The _________ approach means that the operating system allocates the processor to a process and when the process blocks or is preempted, feeds it back into one of several priority queues.

A

multilevel feedback

41
Q

The need to know or estimate required processing times for each process, the starvation of longer processes, and the lack of preemption are all difficulties with the __________ scheduling technique.

A

Shortest Process Next (SPN)

42
Q

Response time and throughput are examples of __________ criteria for short-term scheduling.

A

performance-based

43
Q

_________ is a scheduling policy in which the process with the shortest expected processing time is select next, and if a shorter process becomes ready in the system, the currently running process is preempted.

A

Shortest Remaining Time (SRT)

44
Q

The traditional UNIX scheduler, such as those used in SVR3 and 4.3 BSD UNIX systems, divides processes into fixed ________ of priority levels.

A

bands

45
Q

A scheduling mechanism that requires no prior knowledge of process length yet can nevertheless favor shorter jobs, is known as the _________ scheduling mechanism.

A

feedback