Time Left - 15:00 mins
GATE 2023 Databases Rank Booster Quiz 42
Attempt now to get your rank among 122 students!
Question 1
An account A has amount Rs 500 and another account B has amount Rs 200. A transaction occurs between them and after the transaction, the amount in A becomes Rs 300 and the amount in B becomes Rs 400. Which property of transaction is proved in this scenario?
Question 2
Non-serial schedules are not always?
Question 3
Consider the following schedule:
S: r1(A), r2(A), r1(A), commit1, w3(A), commit2, r3(A), commit3
Which of the following is true?
Question 4
Consider a simple check pointing protocol and the following set of operations in the log.
(Start, T4); (Start, T1); (Write, T1, a, 2, 3); (Write, T4, b, 1, 2) (commit, T1); (Start, T3) (check point); (Write, T3, C, 4, 7) (commit, T4)
If crash happens now and the system tries to recover using both undo and redo operations, what are the contents of the undo list and redo list
(Start, T4); (Start, T1); (Write, T1, a, 2, 3); (Write, T4, b, 1, 2) (commit, T1); (Start, T3) (check point); (Write, T3, C, 4, 7) (commit, T4)
If crash happens now and the system tries to recover using both undo and redo operations, what are the contents of the undo list and redo list
Question 5
Consider a schedule
S1. R1(x)W2(x)W1(x)W1(x) abort2 commit1
Given schedule is
Question 6
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);
Which of the following constraints fail if transaction is fail just after write (x); operation?
Question 7
Which of the following is true regarding checkpoints?
- 122 attempts
- 0 upvotes
- 0 comments
Tags :
GATE & PSU CSDatabasesJan 24GATE & PSU CS