Question: Given the code of two processes that share the variable b whose initial value is 2 , Process A: c = b - 1 ;

Given the code of two processes that share the variable b whose initial
value is 2,
Process A:
c=b-1;
b=2**c
Process B:
d=2**b;
b=d-1;
one possible value of b at the end of execution could be
Select one:
a.6
b.7
C.4
d.5
 Given the code of two processes that share the variable b

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!