State which of the following operations has a compensating operation.

a. Give all employees a 10% raise.
b. Give all employees making less than |S10,000 a 10% raise.
c. Set the value of a particular item to 12.
d. Insert a newtuple with key 1111 into the database, and set the value of one of its
attributes to 12.
e. Set the value of a particular item to the square of its original value.


a. Yes. Give all employees a 9.09.09% decrease.
b. No. There is no way for a compensating operation to know whether or not
to give a decrease to an employee whose salary after the original operation is, for
example, |S10,100.
c. No. There is no way for a compensating operation to know what the value of
the item was before the original operation
d. Yes. Delete the tuple with key 1111.
e. No. There is no way for a compensating operation to know what the sign of the
original value was.

Computer Science & Information Technology

You might also like to view...

GPRS, ATM, FDDI, and SLIP are examples of:

a. Data link layer protocols b. Physical layer protocols c. Network layer protocols d. Encryption protocols

Computer Science & Information Technology

The item on the left in the accompanying figure is a GIF file.

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

Computer Science & Information Technology

The item in the black oval in the accompanying figure is the target button.

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

Computer Science & Information Technology

Which of the following is not one of the major phases of the SDLC?

A. Design B. Development C. Security training D. Deployment

Computer Science & Information Technology