Gate CS-2015-2 Question Paper With Solutions

Q. 13 Consider the following transaction involving two bank account 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

(A) Atomicity

(B) Consistency

(C) Isolation

(D) Durability

Answer: (B)

Explanation:

Gate CS-2015-2 Question Paper With Solutions

Learn More:   Gate ME 2014-4 Question Paper With Solutions

LEAVE A REPLY

Please enter your comment!
Please enter your name here