Discuss the final result of the different schedules in Figure 21.3 (a) and (b), where M = 2 and N = 2, with respect to the following questions. Does adding the above condition change the final outcome? Does the outcome obey the implied consistency rule (that the capacity of X is 90)?

Change transaction T 2 in Figure 21.2b to read:
read_item(X);
X:= X+M;
if X > 90 then exit
else write_item(X);


The above condition does not change the final outcome unless the initial value of X > 88.
The outcome, however, does obey the implied consistency rule that X < 90, since the value of X is not updated if it becomes greater than 90.

Computer Science & Information Technology

You might also like to view...

Which of the following DoS protection techniques alters the TCP stack on the server to decrease the connection timeout time?

A) Micro blocks B) Stack tweaking C) SYN cookies D) Stateful packet inspection firewalls

Computer Science & Information Technology

Which of the following actions would NOT help to identify your personal ethics?

a. Describe yourself. b. Identify the influences of your work environment. c. Conduct a genealogic study of your extended family. d. Prepare a list of values that are most important to you.

Computer Science & Information Technology

A(n) ________ cell is the cell that receive the result of an operation such as Paste or an AutoSum function

A) source B) active C) adjacent D) destination

Computer Science & Information Technology

List and describe two configuration models that are available from Windows Server 2008 DSM.

What will be an ideal response?

Computer Science & Information Technology