439 views
0 votes
0 votes

Q-21

1 Answer

Best answer
2 votes
2 votes

There is no initial-read of data-item A.

write-read conflicts-

T1 -> T2

T3 -> T4

T5 -> T6

final-write of data-item A-

T5 only.

Since, final-write is T5 so T5,T6 should come at the last(we can't write it as T6,T5 cause in that case write-read conflict will get violated).

Either of (T1,T2) and (T3,T4) can come first.so,total 2 view-equal serial-schedules are possible.

T1 ,T2 ,T3 ,T4 ,T5 ,T6

T3 ,T4 ,T1 ,T2 ,T5 ,T6

selected by

Related questions

0 votes
0 votes
0 answers
1
Sajal Mallick asked Nov 20, 2023
178 views
According to me answer is 2.Is it right? Suggestion is needed how to approach this if it is given in more complexity.
1 votes
1 votes
2 answers
4
Harsh Kumar asked Dec 11, 2018
1,115 views
The minimum number of tables needed to represent M,N,P,R1,R2 is …The given ans is 2.I think the ans should be 3.