Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

initial balances Checking; 0 Savings: 1000 T1: transfers $100 from savings to ch

ID: 3714679 • Letter: I

Question

initial balances Checking; 0 Savings: 1000 T1: transfers $100 from savings to checking T2: gives 5% interest all both accounts

true false - if final balances are checking 100 and savings 945, locks may have been used

true false - if final balances are checking 100 and savings 950, the transactions ran sequentally

true false - if final balances are checking 100 and savings 945, the transactions ran sequentally

true false - if final balances are checking 100 and savings 945, the transactions have atomicity

Explanation / Answer

true false - if final balances are checking 100 and savings 945, locks may have been used

If savig has 945 i.e., 5% interest on 900 then checking should also have 105 if locks were used. So false

true false - if final balances are checking 100 and savings 950, the transactions ran sequentally

False. First T2 ran and than T1

true false - if final balances are checking 100 and savings 945, the transactions ran sequentally

False. If it would have ran sequencially then checking should have 105

true false - if final balances are checking 100 and savings 945, the transactions have atomicity

false. For atomictity it should have been 105, 945