Question

In: Computer Science

Which of these statements about deadlock are true? (list all that are true.) a. If all...

Which of these statements about deadlock are true? (list all that are true.)

a. If all transactions use two-phase locking, they cannot deadlock.
b. Once two transactions deadlock, one of them must be aborted to maintain correctness.
c. Systems that support update locks (S, X and U modes) cannot deadlock.
d. Validation based concurrency control schemes cannot deadlock.

Solutions

Expert Solution

ANSWERS -

The correct statements about deadlock are -

(b) To maintain correctness one of the two transaction must be terminated or aborted.

For maintaining accuracy one of the transaction must be terminated so that the other transaction can proceed with execution without deadlock.

(d) Deadlock doesn't occur in validation based concurrency control

Validation based concurrency control ensures that two transaction does not conflict ensuring the execution thus avoiding deadlock.

Two phase locking ensures serializability but doesn't avoid the deadlock situation. So, this statement is false.

Update lock supported system can also get into deadlock. So, this statement is also false.

So, the correct options related to deadlock are (b) and (d).

=================================END================================

Please comment if u need any more info. Please do leave a like, it would mean a lot. Thanks :)


Related Solutions

Which of the following statements is true regarding gustation? list all that apply.
Which of the following statements is true regarding gustation? list all that apply.    Taste is chemical sense.    It's easier to taste with a dry tongue.    Humans are more sensitive to taste than to smell.    When gustatory hairs are stimulated, a receptor potential is created.    All of the primary tastes can be detected throughout the tongue.
Which of the following statements is true regarding olfaction? list all that apply Smell is a...
Which of the following statements is true regarding olfaction? list all that apply Smell is a chemical sense.   Odorant molecules dissolve in mucus before stimulating a receptor.   Humans can only distinguish up to 200 odors.   Olfactory receptors have hairs on the apical surface that respond to stimuli.When olfactory receptors are stimulated a receptor potential is created. 
Which of the following statements about a monopoly firm are true? (Check all that apply.) It...
Which of the following statements about a monopoly firm are true? (Check all that apply.) It faces a downward-sloping demand curve. Its long-run average total cost curve is always downward sloping. Its marginal revenue is always below the price. It is always profitable in the short run. It is the only seller of a good or service with no close substitutes available. It always experiences economies of scale.
Which of the following statements about the FCF valuation model are true? Check all that apply....
Which of the following statements about the FCF valuation model are true? Check all that apply. A. The model has limited applicability because it fails to adjust for a firm's riskiness—particularly that created by managers' decisions to use debt in the firm's capital structure, or decisions regarding the payment of cash dividends. B. The model is useful because it examines the relationship between a company's risk, operating profitability, and value of the firm's operations. C. A company's FCFs are a...
Which of the following statements) about the history of transaction processing isare) true? (Check all that...
Which of the following statements) about the history of transaction processing isare) true? (Check all that apply. When computers were invented, we digitized journals and ledgers and created transaction files and master files that did the job of paper. based journals and ledgers. Originally, people kept track of transactions using a single-entry accounting system When the number of master files proliferated, we combined multiple files into databases, which have grown much smaller and simpler We used double bookkeeping systems with...
Which of the following statements are true about the accounting transactions? Select all that apply Transactions...
Which of the following statements are true about the accounting transactions? Select all that apply Transactions occur when a source document (e.g., a billing) arrives, a time-based obligation (e.g., payroll payment deadline) occurs, or when closing accounts to prepare financial reports. A transaction will always debit one account and credit another account. When journalizing a transaction, the following equation must be maintained: Assets + Net Worth = Revenues + Liabilities + Expenses. None of the above.
20. Which of the following statements about a bond is true? All else being equal, the...
20. Which of the following statements about a bond is true? All else being equal, the lower the coupon rate on a bond, the higher the price of the bond The value of a bond cannot be traded in the market at its face value If the yield curve is downward sloping, long-term yields are lower than short-term yields because market interest rates are expected to decrease. If the yield curve is downward sloping, long-term yields are lower than short-term...
Which 2 statements about management reports are true? (Select all that apply) A ) A management...
Which 2 statements about management reports are true? (Select all that apply) A ) A management report can be created from scratch. B ) Reports can be reordered by dragging the nine grid. C ) Previous year or period can be compared. D ) Brackets denote when QuickBooks Online pulls information from elsewhere. E ) Management reports can be shared with other companies by bookmarking the URL.
Which of the following statements about the FCF valuation model are true? Check all that apply....
Which of the following statements about the FCF valuation model are true? Check all that apply. A. The FCF valuation model reflects the firm's riskiness—as it affects the company's intrinsic value—via the WACC variable. B. A company's FCFs are a function of how effectively managers control the firm's costs, manage its operating and nonoperating assets, and generate sales revenues. C. The model is useful because it demonstrates the relationship between quality of the decisions that managers make and the value...
Which of the statements about plant cell walls is true? Select all that apply. The primary...
Which of the statements about plant cell walls is true? Select all that apply. The primary cell wall is thin and flexible, formed while the cells are still growing. In the late stages of cell division, the middle lamella is the first cell wall layer to be formed, serving to attach the daughter cells to each other. The secondary cell wall contains complex components such as lignin that are rigid. The cell wall has three layers: the middle lamella, the...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT