Examlex

Solved

Fill in the Missing Event That Causes Livelock

question 20

Multiple Choice

Fill in the missing event that causes livelock. At an insurance company,the system performs many daily transactions.One day,the following series of events ties up the system:
1) Process P1 wishes to show a payment,so it issues a command to read the balance,which is stored in cylinder 20 of a disk pack.
2) ____
3) P2 gains control of the I/O channel and issues a command to write someone else's payment to a record stored in cylinder 310.If the command is not "locked out," P2 will be put on hold while the control unit moves the arm to cylinder 310.
4) Because P2 is "on hold," the channel is free to be captured again by P1,which reconfirms its command to "read from cylinder 20."
5) Since the last command from P2 had forced the arm mechanism to cylinder 310,the disk control unit begins to reposition the arm to cylinder 20 to satisfy P1.The I/O channel would be released because P1 is once again put on hold,so it could be captured by P2,which issues a WRITE command only to discover that the arm mechanism needs to be repositioned.


Definitions:

Profit Margin

A ratio of profitability calculated as net income divided by revenue, showing the percentage of each dollar of revenue that results in net income.

Return on Investment

A measure used to evaluate the efficiency or profitability of an investment relative to its cost.

Profit Margin Factor

A financial ratio that indicates the percentage of revenue that exceeds the cost of goods sold, representing the efficiency of a company in generating profit from sales.

DuPont Formula

An expanded expression of return on investment (ROI) determined by multiplying the profit margin by the investment turnover.

Related Questions