Multiple choice

If the solution of the previous question was the log at the time of crash, then what will be the output of A, B and C after recovery?

  1. A = 1050 B = 2055 C = 720

  2. A = 957 B = 2055 C = 720

  3. A = 957 B = 2055 C = 640

  4. None of these

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

When the system comes back, the operation redo to is performed since the record. Appears in the log on the disk after this operation is executed, the values of account A and B are $957 and $2055, respectively. The value of account C remains $720 because T1 has not been committed yet.