Consider the following transaction involving two bank accounts x and y.…

PYQ GATE 2015

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

  1. A.

    Atomicity

  2. B.

    Consistency

  3. C.

    Isolation

  4. D.

    Durability

Attempted by 1595 students.

Sign up free to check your answer

Sign up free

Explore the full course: Zero To Hero

Loading lesson…