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

Consider the following schedule:
S:W1(A)W2(B)W3(B)W4(B)
The number of schedule which are view equal to S is _________

A
12
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
8
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
C
10
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
6
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution

The correct option is B 8
For schedule to be view equal, three thing has to be considered:
(a) Initial Read
(b) Updated Read
(c) Final Write
For this schedule, initial read and updated read does not count because no read operation is
considered. So According to final write Transaction T4 should perform write on B finally. W2(B) and W3(B) can be executed in two ways and W1(A) can be executed in four ways.
So total possibilities = 4 * 2 = 8.

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