GATE Computer Science (CS) 2015 Shift 2 Solved Paper
© examsiri.com
Question : 31 of 65
Marks:
+1,
-0
Consider the following transaction involving two bank accounts x and y.
read (x); x := x – 50 ; write (x) ; read (y) ; y≔ y + 50 ; write (y)
The constraint that the sum of the accounts x and y should remain constant is that of
read (x); x := x – 50 ; write (x) ; read (y) ; y≔ y + 50 ; write (y)
The constraint that the sum of the accounts x and y should remain constant is that of
Go to Question: