Exam 5: Process Synchronization

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

____ is when each process involved in an impasse is waiting for another to voluntarily release its resources so that at least one process will be able to continue.

(Multiple Choice)
4.8/5
(41)

Once starvation has been detected,an algorithm can be implemented in which the system blocks new jobs until the starving jobs have been satisfied.

(True/False)
4.8/5
(40)

When using the Banker's Algorithm,an operating system must be sure never to satisfy a request that moves it from a safe state to an unsafe one.

(True/False)
4.8/5
(33)

One problem with the Banker's Algorithm is that because the algorithm assumes the worst case,vital resources can be unavailable in order to guard against unsafe states.

(True/False)
4.8/5
(38)

The scheme of ____ removes the possibility of a circular wait and therefore guarantees the removal of deadlocks.

(Multiple Choice)
4.9/5
(43)

In ____ systems,deadlocks can cause critical situations.

(Multiple Choice)
4.9/5
(41)

If locks are not used to preserve data integrity,the updated records in a database may include only some of the data-and their contents depend on the order in which each process finishes its execution.

(True/False)
4.8/5
(43)

Starvation is the result of a policy that liberally allocates resources.

(True/False)
4.9/5
(34)

According to the Banker's Algorithm,an unsafe state always leads to deadlock.

(True/False)
4.9/5
(30)

A race introduces the element of chance,which is a highly desirable attribute,in database management.

(True/False)
4.9/5
(41)

When using a directed graph to model a system,if there's a cycle in the graph,then there is a deadlock involving the processes and the resources shown in the cycle.

(True/False)
4.8/5
(35)

Fill in the missing step in the following deadlock situation.Two users from the local board of education are each running a program (P1 and P2),and both programs will eventually need two DVD drives to copy files from one disc to another.Only two DVD-R drives are available and they're allocated on an "as requested" basis.Soon the following sequence transpires: 1)P1 requests drive 1 and gets it. 2)____ 3)P1 requests drive 2 but is blocked. 4)P2 requests drive 1 but is blocked.

(Multiple Choice)
4.9/5
(35)

____ developed the Banker's Algorithm.

(Multiple Choice)
4.9/5
(45)

To recover from deadlock,a factor that is commonly considered when selecting a victim is the CPU time used by a job - jobs close to completion are usually left alone.

(True/False)
4.8/5
(43)

Deadlock is a system-wide tangle of resource requests that begins when two or more jobs are put on hold,each waiting for a vital resource to become available.

(True/False)
4.8/5
(43)

Deadlock can occur on a printer when ____.

(Multiple Choice)
5.0/5
(34)

____ is necessary in any computer system because some resources such as memory,CPU,and dedicated devices must be exclusively allocated to one user at a time.

(Multiple Choice)
4.8/5
(36)

____ is the policy of allowing only one process to have access to a dedicated resource.

(Multiple Choice)
4.8/5
(32)

In the dining philosophers problem,there are five philosophers and four forks.

(True/False)
4.7/5
(40)
Showing 21 - 39 of 39
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)