Match the following :List - I List - II a. Timeout ordering protocol i. Wait for graph b. Deadlock prevention ii. Roll back c. Deadlock detection iii. Wait-die scheme d. Deadlock recovery iv. Thomas Write Rule
| a | b | c | d |
| iv | iii | i | ii |
Thomas' write rule is a refinement of the timestamp ordering protocol, so a matches iv.
Wait-die is a timestamp based deadlock prevention scheme, so b matches iii.
A wait-for graph is used to detect deadlock cycles, so c matches i.
Recovery from deadlock is done by rolling back a victim transaction, so d matches ii.
Hence, a-iv, b-iii, c-i, d-ii.
Which of the following is correct ?
I. Two phase locking is an optimistic protocol.
II. Two phase locking is pessimistic protocol
III. Time stamping is an optimistic protocol.
IV. Time stamping is pessimistic protocol.
Which of the following concurrency protocol ensures both conflict serializability and freedom from deadlock :
I. 2-phase locking
II. Time phase ordering
Which of the following concurrency protocol ensures both conflict serializability and freedom from deadlock ?
(a) 2 - phase Locking
(b) Time stamp - ordering
Match List I with List II
| List I | List II |
|---|---|
| A. Timestamp protocol | I. As long as the transaction is already running, it will try to obtain the required lock in the first part |
| B. Strict two-phase locking protocol | II. Indicates final lock of the schedule |
| C. Two-phase locking | III. Ensures freedom from deadlock |
| D. Lock point in two phase locking protocol | IV. Ensures cascade -less rollback |
Choose the correct answer from the options given below:
In concurrency control, phantom problem may occur, when-
Which of the following is correct ?
I. Two phase locking is an optimistic protocol.
II. Two phase locking is pessimistic protocol
III. Time stamping is an optimistic protocol.
IV. Time stamping is pessimistic protocol.
Which of the following concurrency protocol ensures both conflict serializability and freedom from deadlock :
I. 2-phase locking
II. Time phase ordering
Which of the following concurrency protocol ensures both conflict serializability and freedom from deadlock ?
(a) 2 - phase Locking
(b) Time stamp - ordering
Match List I with List II
| List I | List II |
|---|---|
| A. Timestamp protocol | I. As long as the transaction is already running, it will try to obtain the required lock in the first part |
| B. Strict two-phase locking protocol | II. Indicates final lock of the schedule |
| C. Two-phase locking | III. Ensures freedom from deadlock |
| D. Lock point in two phase locking protocol | IV. Ensures cascade -less rollback |
Choose the correct answer from the options given below:
In concurrency control, phantom problem may occur, when-