Consider the following transaction involving two bank accounts x and y.…
TPSC Computer/IT Posts · 2025 · Senior Informatics Officer · Section DGATE · 2015 · CS · Set 2 · Computer Science & IT
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
- A.
Atomicity
- B.
Consistency
- C.
Isolation
- D.
Durability
Attempted by 1405 students.
Sign up free to check your answer
Sign up freeLoading lesson…