Database Management System

105502
Back to Database Management System

Module 3: Storage Strategies

  1. Q1c. Which of the following is used for indexing in database systems? (i) Transaction log (ii) B-tree (iii) Views (iv) Triggers20242m

    Module 3: Storage Strategies

    Which of the following is used for indexing in database systems?
    (i) Transaction log
    (ii) B-tree
    (iii) Views
    (iv) Triggers

    View this question on its own page →
  2. Q1f. A B-tree of order 4 and of height 3 will have a maximum of ____ keys. (i) 255 (ii) 63 (iii) 127 (iv) 18820202m

    Module 3: Storage Strategies

    A B-tree of order 4 and of height 3 will have a maximum of ____ keys.
    (i) 255
    (ii) 63
    (iii) 127
    (iv) 188

    View this question on its own page →
  3. Q1g. Compared with B-tree indexing, hashing is preferred when queries mainly involve: (i) Range searches (ii) Ordered traversal (iii) Exact match search (iv) Sorting20252m

    Module 3: Storage Strategies

    Compared with B-tree indexing, hashing is preferred when queries mainly involve:

    (i) Range searches
    (ii) Ordered traversal
    (iii) Exact match search
    (iv) Sorting

    View this question on its own page →
  4. Q1h. For a B-tree of order m, every non-root internal node must have at least: (i) m/2 children (ii) [m/2] children (iii) [m/2]-1 children (iv) m-1 children20252m

    Module 3: Storage Strategies

    For a B-tree of order m, every non-root internal node must have at least:

    (i) m/2 children
    (ii) [m/2] children
    (iii) [m/2]-1 children
    (iv) m-1 children

    View this question on its own page →
  5. Q5. Construct the B+ tree for the following set of key values: (2, 3, 5, 7, 11, 17, 19, 23, 29, 31) Assume that tree is initially empty and values are added in ascending order. Construct B+ tree for the cases where the number of pointers that will fit in one node is as follows: (a) Four (b) Six (c) Eight202014m

    Module 3: Storage Strategies

    Construct the B+ tree for the following set of key values:
    (2, 3, 5, 7, 11, 17, 19, 23, 29, 31)
    Assume that tree is initially empty and values are added in ascending order. Construct B+ tree for the cases where the number of pointers that will fit in one node is as follows:
    (a) Four
    (b) Six
    (c) Eight

    View this question on its own page →
  6. Q5b. Explain different indexing techniques used in databases.20257m

    Module 3: Storage Strategies

    Explain different indexing techniques used in databases.

    View this question on its own page →
  7. Q6a. What are indices in database systems? Explain the need and advantages of indexing. Describe various types of indexing techniques including primary index, secondary index, clustered and non-clustered indexes with the help of suitable diagrams.20247m

    Module 3: Storage Strategies

    What are indices in database systems? Explain the need and advantages of indexing. Describe various types of indexing techniques including primary index, secondary index, clustered and non-clustered indexes with the help of suitable diagrams.

    View this question on its own page →
  8. Q6a. Consider a hash table of size 10 with the hash function h(k) = k \pmod{10}. Insert the keys 23, 43, 13, 27, 37, and 50 into the hash table. Construct the hash table using separate chaining for collision resolution and then reconstruct it using linear probing. Compare the final arrangements obtained using both methods.20257m

    Module 3: Storage Strategies

    Consider a hash table of size 10 with the hash function h(k)=k(mod10)h(k) = k \pmod{10}. Insert the keys 23, 43, 13, 27, 37, and 50 into the hash table. Construct the hash table using separate chaining for collision resolution and then reconstruct it using linear probing. Compare the final arrangements obtained using both methods.

    View this question on its own page →
  9. Q6b. What is a B-tree? Explain its structure, order, and properties. How is a B-tree used in database indexing? Demonstrate insertion and search operations in a B-tree with a proper example. Also compare B-tree with binary search tree in context of database performance.20247m

    Module 3: Storage Strategies

    What is a B-tree? Explain its structure, order, and properties. How is a B-tree used in database indexing? Demonstrate insertion and search operations in a B-tree with a proper example. Also compare B-tree with binary search tree in context of database performance.

    View this question on its own page →
  10. Q8a. For the following set of key values construct a B+ tree with a degree 4: 5, 10, 15, 29, 35, 46, 58, 63, 67, 89 Initially tree is empty. Values must be added in ascending order. Show the step-by-step construction.201910m

    Module 3: Storage Strategies

    For the following set of key values construct a B+ tree with a degree 4:
    5, 10, 15, 29, 35, 46, 58, 63, 67, 89
    Initially tree is empty. Values must be added in ascending order. Show the step-by-step construction.

    View this question on its own page →
  11. Q8b. What is multilevel indexing? Explain in detail.20194m

    Module 3: Storage Strategies

    What is multilevel indexing? Explain in detail.

    View this question on its own page →