CameraIcon
CameraIcon
SearchIcon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

Consider the following schedules involving three transaction :
S1:r1(x),r2(z),r1(z),r3(x),r3(y),w1(x),w3(y),r2(y),w2(z),w2(y)

S2:r1(x),r2(z),r3(x),r1(z),r2(y),r3(y),w1(x),w2(z),w3(y),w2(y)

Which of the following schedules is conflict serializable?

A
Both S1 and S2
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
Only S1
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
C
Only S2
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
None of the above
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution

The correct option is B Only S1
A schedule S is contact serializable if the precedence graph of S does not contain any cycle.
Precedence graph of
S1.


It does not contain any cycle so conflict serializable,
Precedence graph of
S2


It contain cycle so not conflict serializable.
So option (b) correct.

flag
Suggest Corrections
thumbs-up
0
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Transformations
MATHEMATICS
Watch in App
Join BYJU'S Learning Program
CrossIcon