hamburger menu
All Coursesall course arrow
adda247
reward-icon
adda247
    arrow
    arrow
    arrow
    Which of the following is/are true in case of tree locking? A. It ensures shorter waiting times. B. It ensures freedom from deadlock. C. T
    Question



    Which of the following is/are true in case of tree locking?
    A. It ensures shorter waiting times.
    B. It ensures freedom from deadlock.
    C. Transaction can lock data items earlier.
    D. It does not ensure greater amount of concurrency.
    Choose the correct answer from the options given below:

    A.

    A and B Only

    B.

    C and D Only

    C.

    B and C Only

    D.

    A and D Only

    Correct option is C


    Tree locking is a concurrency control method used to manage access to hierarchical data structures like B-trees. In tree locking:
    B: It ensures freedom from deadlock by avoiding cycles in lock acquisition.
    C: Transactions can lock data items earlier, ensuring that necessary locks are acquired as the transaction progresses through the tree.
    Shorter waiting times and greater concurrency are not guaranteed by tree locking.

    Free Tests

    Free
    Must Attempt

    Basics of Education: Pedagogy, Andragogy, and Hutagogy

    languageIcon English
    • pdpQsnIcon10 Questions
    • pdpsheetsIcon20 Marks
    • timerIcon12 Mins
    languageIcon English
    Free
    Must Attempt

    UGC NET Paper 1 Mock Test 1

    languageIcon English
    • pdpQsnIcon50 Questions
    • pdpsheetsIcon100 Marks
    • timerIcon60 Mins
    languageIcon English
    Free
    Must Attempt

    Basics of Education: Pedagogy, Andragogy, and Hutagogy

    languageIcon English
    • pdpQsnIcon10 Questions
    • pdpsheetsIcon20 Marks
    • timerIcon12 Mins
    languageIcon English

    Similar Questions

    test-prime-package

    Access ‘UGC NET Computer Science’ Mock Tests with

    • 60000+ Mocks and Previous Year Papers
    • Unlimited Re-Attempts
    • Personalised Report Card
    • 500% Refund on Final Selection
    • Largest Community
    students-icon
    354k+ students have already unlocked exclusive benefits with Test Prime!
    Our Plans
    Monthsup-arrow