...
ISRO CS 2009
January 3, 2024
Transactions
January 4, 2024
ISRO CS 2009
January 3, 2024
Transactions
January 4, 2024

Question 8416 – Transactions

Consider the following partial Schedule S involving two transactions T1 and T2. Only the read and the write operations have been shown. The read operation on data item P is denoted by read(P) and the write operation on data item P is denoted by write(P).

Correct Answer: B

Question 20 Explanation: 
T2 is reading the value written by T1 and getting committed before T1 commits. So it is non-recoverable schedule.
A
T2 must be aborted and then both T1 and T2 must be re-started to ensure transaction atomicity
B
Schedule S is non-recoverable and cannot ensure transaction atomicity
C
Only T2 must be aborted and then re-started to ensure transaction atomicity
D
Schedule S is recoverable and can ensure atomicity and nothing else needs to be done
0 0 votes
Article Rating
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x
error: Alert: Content selection is disabled!!