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...

Which of the following shows worksheets available in the workbook?

A) Sheet tabs B) Notes C) The Formula bar D) The Name box

Computer Science & Information Technology

To process data using post order processing:

a. Node is processed first, then the left branch, then the right. b. The left branch is processed first, then the node and then the right branch c. The left branch is processed first, then the right branch, and then the node d. The right branch is processed first, then the node, and then the left branch.

Computer Science & Information Technology