1,202 views
0 votes
0 votes

Let S1: a = x + y and S2: b = z + 1
Then R(S1) = {x, y}, R(S2) = {z}; similarly W(S1) = a and W(S2) = b.
Which of the following is true? 

 

Bernstein's conditions are not satisfied but statements are executed concurrently.

 

Bernstein's conditions are not satisfied, so statements are not executed concurrently.

 

Bernstein's conditions are satisfied, hence statements are executed concurrently.

 

None of these.

1 Answer

Best answer
1 votes
1 votes

Bernstein's conditions are satisfied, hence statements are executed concurrently.

Bernstein condition is  satisfied in following cases

1)R(S1)∩W(S2)=∅

2)W(S1)∩R(S2)=∅

3)W(S1)∩W(S2)=

two statements dont have any dependency and can be executed parallely

Related questions

2 votes
2 votes
1 answer
2
joleyasarthak asked Nov 21, 2022
941 views
Please help with the minimum value. Problem is from the gate wallah study handout.