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.

A. P1 requests drive 2.
B. P2 requests drive 2 and gets it.
C. P2 requests drive 1 but is blocked.
D. P1 releases drive 1.


Answer: B

Computer Science & Information Technology

You might also like to view...

The circuit below consists of four JK flip?flops. Inputs J and K are not shown because it is assumed that they are both permanently connected to a logical 1. These JK flip?flops are positive edge triggered (i.e., they change state on the rising edge of the clock). Note that these flip?flops have a CLR (clear) input that sets Q to 1 when CLR = 1. What does this circuit do?

Computer Science & Information Technology

You can get help when working with an Office application in which one of the following areas?

What will be an ideal response?

Computer Science & Information Technology

Answer the following statements true (T) or false (F)

1. All programs are strings, but not all strings are programs. 2. The language Algebraic Expressions is the set of strings that meets certain rules of syntax and that definition also gives the rules of the syntax. 3. A given word, s, is a palindrome if and only if, the first and last characters of s are the same and s minus its first and last characters is a palindrome. 4. The stricter a definition, the harder it is to recognize a syntactically legal expression. 5. The following expression is a prefix expression + a b – c d

Computer Science & Information Technology

The ____________________ is used to saturate or desaturate an object.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology