Chapter 5 key terms Flashcards

(19 cards)

1
Q

The dynamic strategy of deadlock avoidance that attempts to ensure that resources are never allocated in such a way as to place a system in an unsafe state.

A

avoidance

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

One of four conditions for deadlock through which each process
involved is waiting for a resource being held by another; each process is blocked and
can’t continue, resulting in deadlock.

A

circular wait

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

A problem occurring when the resources needed by some jobs to finish execution are held by other jobs, which, in turn, are waiting for other resources to become available. Also called deadly embrace.

A

deadlock

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

the process of examining the state of an operating system to determine whether a deadlock exists.

A

detection

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

a graphic model representing various states of resource allocations

A

directed graphs

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

a locked system whereby two (or more) processes continually block the forward progress of the others without making any forward progress themselves. It is
similar to a deadlock except that neither process is blocked or obviously waiting; both
are in a continuous state of change.

A

livelock

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

a technique used to guarantee the integrity of the data in a database through which the user locks out all other users while working with the database.

A

locking

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

one of four conditions for deadlock in which only one process is
allowed to have access to a resource.

A

mutual exclusion:

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

one of four conditions for deadlock in which a process is allowed to
hold on to resources while it is waiting for other resources to finish execution.

A

no preemption

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

a design strategy for an operating system where resources are managed in such a way that some of the necessary conditions for deadlock do not hold.

A

prevention

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

(1) the need for algorithms to resolve conflicts between
processors in a multiprocessing environment; or (2) the need to ensure that events occur in the proper order even if they are carried out by several processes

A

process synchronization

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

a synchronization problem between two processes vying for the same resource.

A

race

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

the steps that must be taken, when deadlock is detected, by breaking the circle of waiting processes

A

recovery

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

one of four conditions for deadlock in which each process refuses to
relinquish the resources it holds until its execution is completed even though it isn’t using them because it’s waiting for other resources

A

resource holding

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

the situation in which the system has enough available resources to
guarantee the completion of at least one job running on the system

A

safe state

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

a technique developed to speed I/O by collecting in a disk file either input received from slow input devices or output going to slow output devices, such as printers

17
Q

the result of conservative allocation of resources in which a single job is prevented from execution because it’s kept waiting for resources that never become available

18
Q

a situation in which the system has too few available resources to guarantee the completion of at least one job running on the system. It can lead to deadlock.

19
Q

an expendable job that is selected for removal from a deadlocked system to provide more resources to the waiting jobs and resolve the deadlock.