Notice: Due to an ongoing migration of our storage and publishing system, material requested since last month will not be uploaded for the time being, and new requests are paused. All existing notes remain available.

Unit 5 subjective questions Programming Constructs in Databases

INT306 — Database Management Systems 20 questions with model answers. Write yours first, then compare.

Read the notes Practice MCQs
  1. Question 1 of 20

    Explain the various flow control statements available in database programming with examples.

  2. Question 2 of 20

    What is a Stored Procedure? Explain its advantages and general syntax.

  3. Question 3 of 20

    Differentiate between a Function and a Stored Procedure in a DBMS.

  4. Question 4 of 20

    What is a Cursor? Describe the lifecycle of an explicit cursor.

  5. Question 5 of 20

    Define Triggers in DBMS. Discuss the difference between Row-Level and Statement-Level triggers.

  6. Question 6 of 20

    Explain Exception Handling in Database Programming with a suitable example.

  7. Question 7 of 20

    Define a Database Transaction. Explain the Transaction State Diagram in detail.

  8. Question 8 of 20

    Elaborate on the desirable properties of transactions (ACID properties).

  9. Question 9 of 20

    What is a Schedule in DBMS? Differentiate between Serial and Non-Serial Schedules.

  10. Question 10 of 20

    What are Conflicting Operations? Explain Conflict Serializability with its testing algorithm.

  11. Question 11 of 20

    Discuss View Serializability. How does it differ from Conflict Serializability?

  12. Question 12 of 20

    Why is Concurrency Control needed in DBMS? Discuss the problems that arise without it.

  13. Question 13 of 20

    Explain the Two-Phase Locking (2PL) protocol. What are its phases?

  14. Question 14 of 20

    What is Timestamp-based Concurrency Control? Describe the Timestamp Ordering Protocol.

  15. Question 15 of 20

    Define Recoverable Schedules and Cascading Rollbacks.

  16. Question 16 of 20

    What are Cascadeless Schedules? Why are they desirable?

  17. Question 17 of 20

    Explain the concept of Deadlock in Concurrency Control. How can it be handled?

  18. Question 18 of 20

    Differentiate between BEFORE and AFTER triggers in databases.

  19. Question 19 of 20

    What are Implicit and Explicit Cursors? Compare them.

  20. Question 20 of 20

    Discuss Strict Recoverability. How does a Strict Schedule differ from a Cascadeless Schedule?

That's unit 5

Long answers stick best when they're tested again soon. Run the MCQs on this unit, then come back to the questions you found hardest.