Database Management System

105502
Back to Database Management System

Module 4: Transaction Processing

  1. Q1d. In ACID properties, which component ensures that once a transaction is committed, it remains so? (i) Atomicity (ii) Durability (iii) Isolation (iv) Consistency20242m

    Module 4: Transaction Processing

    In ACID properties, which component ensures that once a transaction is committed, it remains so?
    (i) Atomicity
    (ii) Durability
    (iii) Isolation
    (iv) Consistency

    View this question on its own page →
  2. Q1g. Consider the following action : TRANSACTION..... Commit; ROLLBACK; What does rollback do? (i) Undoes the transactions before commit (ii) Clears all transactions (iii) Redoes the transactions before commit (iv) No action20202m

    Module 4: Transaction Processing

    Consider the following action :
    TRANSACTION.....
    Commit;
    ROLLBACK;

    What does rollback do?
    (i) Undoes the transactions before commit
    (ii) Clears all transactions
    (iii) Redoes the transactions before commit
    (iv) No action

    View this question on its own page →
  3. Q1h. Which of the following is used to get back all the transactions back after rollback? (i) Commit (ii) Rollback (iii) Flashback (iv) Redo20202m

    Module 4: Transaction Processing

    Which of the following is used to get back all the transactions back after rollback?
    (i) Commit
    (ii) Rollback
    (iii) Flashback
    (iv) Redo

    View this question on its own page →
  4. Q1h. Which of the following ensures no data is lost after a system crash? (i) Commit log (ii) View (iii) Recovery manager (iv) Trigger20242m

    Module 4: Transaction Processing

    Which of the following ensures no data is lost after a system crash?
    (i) Commit log
    (ii) View
    (iii) Recovery manager
    (iv) Trigger

    View this question on its own page →
  5. Q1i. Consider the schedule: R1(X), R2(X), W1(X), W2(X). The schedule is: (i) View serializable only (ii) Conflict serializable (iii) Not serializable (iv) Recoverable20252m

    Module 4: Transaction Processing

    Consider the schedule: R1(X), R2(X), W1(X), W2(X). The schedule is:

    (i) View serializable only
    (ii) Conflict serializable
    (iii) Not serializable
    (iv) Recoverable

    View this question on its own page →
  6. Q1j. Which of the following is a concurrency control protocol. (i) Strict 2-phase locking protocol (ii) Timestamp based protocol (iii) Graph based protocol (iv) All of the above20222m

    Module 4: Transaction Processing

    Which of the following is a concurrency control protocol.
    (i) Strict 2-phase locking protocol
    (ii) Timestamp based protocol
    (iii) Graph based protocol
    (iv) All of the above

    View this question on its own page →
  7. Q1j. Under strict two-phase locking: (i) Exclusive locks are held until commit/abort (ii) Deadlocks are impossible (iii) Locks can be released anytime (iv) Transactions become serial20252m

    Module 4: Transaction Processing

    Under strict two-phase locking:

    (i) Exclusive locks are held until commit/abort
    (ii) Deadlocks are impossible
    (iii) Locks can be released anytime
    (iv) Transactions become serial

    View this question on its own page →
  8. Q3a. Briefly explain the ACID properties of the transactions to ensure integrity of the data.20227m

    Module 4: Transaction Processing

    Briefly explain the ACID properties of the transactions to ensure integrity of the data.

    View this question on its own page →
  9. Q3b. Consider the transactions T1, T2 and T3 and schedules S1 and S2 given below: T1 : r1 (X); r1(Z); w1 (X); w1 (Z), T2 : r2 (Y); r2 (Z); w2 (Z) T3 : r3 (Y); r3 (X); w3 (Y) S1 : r1 (X); r3(Y); r3(X); r2 (Y); r2(Z); w3(Y); w2 (Z); r1 (Z); w1(X), w1 (Z). S2 : r1 (X); r3 (Y); r2(Y); r3(X); r1(Z); r2(Z); w3 (Y); w1 (X); w2(Z), w1 (Z). Determine which of the above schedules are conflict – serializable.20227m

    Module 4: Transaction Processing

    Consider the transactions T1, T2 and T3 and schedules S1 and S2 given below:
    T1 : r1 (X); r1(Z); w1 (X); w1 (Z),
    T2 : r2 (Y); r2 (Z); w2 (Z)
    T3 : r3 (Y); r3 (X); w3 (Y)
    S1 : r1 (X); r3(Y); r3(X); r2 (Y); r2(Z); w3(Y); w2 (Z); r1 (Z); w1(X), w1 (Z).
    S2 : r1 (X); r3 (Y); r2(Y); r3(X); r1(Z); r2(Z); w3 (Y); w1 (X); w2(Z), w1 (Z).
    Determine which of the above schedules are conflict – serializable.

    View this question on its own page →
  10. Q4a. Explain schedule and transaction. Define the concepts of recoverable, cascade less, and strict schedules, and compare them in terms of their recoverability.20247m

    Module 4: Transaction Processing

    Explain schedule and transaction. Define the concepts of recoverable, cascade less, and strict schedules, and compare them in terms of their recoverability.

    View this question on its own page →
  11. Q4b. Consider the three transactions T1, T2, and T3, and the schedules S1 and S2 given below. State whether each schedule is serializable or not. If a schedule is serializable, write down the equivalent serial schedule(s). T1: r1 (X); r1 (Z); w1 (X); T2: r2 (Z); r2 (Y); w2 (Z); w2 (Y); T3: r3 (X); r3 (Y); w3 (Y); S1: r1 (X); r2 (Z); r1 (Z); r3 (X); r3 (Y); w1 (X); w3 (Y); r2 (Y); w2 (Z); w2 (Y); S2: r1 (X); r2 (Z); r3 (X); r1 (Z); r2 (Y); r3 (Y); w1 (X); w2 (Z); w3 (Y); w2 (Y);20247m

    Module 4: Transaction Processing

    Consider the three transactions T1, T2, and T3, and the schedules S1 and S2 given below. State whether each schedule is serializable or not. If a schedule is serializable, write down the equivalent serial schedule(s).
    T1: r1 (X); r1 (Z); w1 (X);
    T2: r2 (Z); r2 (Y); w2 (Z); w2 (Y);
    T3: r3 (X); r3 (Y); w3 (Y);
    S1: r1 (X); r2 (Z); r1 (Z); r3 (X); r3 (Y); w1 (X); w3 (Y); r2 (Y); w2 (Z); w2 (Y);
    S2: r1 (X); r2 (Z); r3 (X); r1 (Z); r2 (Y); r3 (Y); w1 (X); w2 (Z); w3 (Y); w2 (Y);

    View this question on its own page →
  12. Q6a. List the ACID properties. Explain the usefulness of each.20207m

    Module 4: Transaction Processing

    List the ACID properties. Explain the usefulness of each.

    View this question on its own page →
  13. Q6b. What benefit is provided by rigorous two-phase locking? How does it compare with other forms of two-phase locking?20207m

    Module 4: Transaction Processing

    What benefit is provided by rigorous two-phase locking? How does it compare with other forms of two-phase locking?

    View this question on its own page →
  14. Q6b. Define serializability. Explain conflict and view serializability.20257m

    Module 4: Transaction Processing

    Define serializability. Explain conflict and view serializability.

    View this question on its own page →
  15. Q6b. Briefly explain the ACID property of database system.20187m

    Module 4: Transaction Processing

    Briefly explain the ACID property of database system.

    View this question on its own page →
  16. Q7a. Discuss 2 phase commit (2PC) protocol and time stamp-based protocol with suitable example. How the validation-based protocols differ from 2PC?20247m

    Module 4: Transaction Processing

    Discuss 2 phase commit (2PC) protocol and time stamp-based protocol with suitable example. How the validation-based protocols differ from 2PC?

    View this question on its own page →
  17. Q7a. Explain two-phase locking protocol with an example.20257m

    Module 4: Transaction Processing

    Explain two-phase locking protocol with an example.

    View this question on its own page →
  18. Q7b. Explain the immediate update and deferred update of recovery techniques.20187m

    Module 4: Transaction Processing

    Explain the immediate update and deferred update of recovery techniques.

    View this question on its own page →
  19. Q7b. Discuss the procedure of deadlock detection and recovery in transaction?20247m

    Module 4: Transaction Processing

    Discuss the procedure of deadlock detection and recovery in transaction?

    View this question on its own page →
  20. Q7b. Explain concurrency control problems such as lost update, dirty read, and unrepeatable read.20257m

    Module 4: Transaction Processing

    Explain concurrency control problems such as lost update, dirty read, and unrepeatable read.

    View this question on its own page →
  21. Q8a. Explain the concept of database recovery in detail. Discuss various recovery techniques such as log-based recovery, shadow paging, checkpointing, and recovery using deferred and immediate update strategies with suitable examples.20247m

    Module 4: Transaction Processing

    Explain the concept of database recovery in detail. Discuss various recovery techniques such as log-based recovery, shadow paging, checkpointing, and recovery using deferred and immediate update strategies with suitable examples.

    View this question on its own page →
  22. Q8b. What do you mean by concurrent execution and serializability in database system?20187m

    Module 4: Transaction Processing

    What do you mean by concurrent execution and serializability in database system?

    View this question on its own page →
  23. Q9a. What is two-phase locking protocol? Explain its working in detail. How can it guarantee serializability?20197m

    Module 4: Transaction Processing

    What is two-phase locking protocol? Explain its working in detail. How can it guarantee serializability?

    View this question on its own page →
  24. Q9b. Discuss the various approaches for handling the deadlocks in dbms.20197m

    Module 4: Transaction Processing

    Discuss the various approaches for handling the deadlocks in dbms.

    View this question on its own page →
  25. Q9b. Write short notes on the following: (b) Concurrency control20207m

    Module 4: Transaction Processing

    Write short notes on the following:
    (b) Concurrency control

    View this question on its own page →
  26. Q9b. Write short notes on: Two-phase locking protocol20227m

    Module 4: Transaction Processing

    Write short notes on: Two-phase locking protocol

    View this question on its own page →
  27. Q9b. Write a short note on: Database Recovery Techniques20257m

    Module 4: Transaction Processing

    Write a short note on:

    Database Recovery Techniques

    View this question on its own page →