All Exams Test series for 1 year @ ₹349 only
Question

In relation to Index structures for files which of the following are true? 

A. An index is an integral part of the data file. 

B. An index can be created in conjunction with virtually any primary record organization. 

C. An index cannot be created dynamically. 

D. An index can be used to enforce a key constraint on an attribute. 

E. An index can be created dynamically. 

Choose the correct answer from the options given below:

The correct answer is
B, D, E Only

Index Structures File Properties Explained

This solution examines the validity of statements concerning index structures used in file management.

Statement Evaluation

  • Statement A: An index is an integral part of the data file.
    False. An index is typically a separate data structure that holds pointers to records in the primary data file. It is auxiliary, not integral.
  • Statement B: An index can be created in conjunction with virtually any primary record organization.
    True. Indexes are versatile and can be implemented alongside various file organization techniques like sequential, hashed, or indexed sequential organizations.
  • Statement C: An index cannot be created dynamically.
    False. Most modern database systems allow indexes to be created, modified, and dropped dynamically after the initial file structure is in place.
  • Statement D: An index can be used to enforce a key constraint on an attribute.
    True. For instance, a unique index ensures that all values in the specified attribute are unique, enforcing a key constraint.
  • Statement E: An index can be created dynamically.
    True. This statement is correct and directly contradicts statement C. Dynamic index creation is a common feature.

Final Conclusion

Statements B, D, and E are identified as true characteristics of file index structures.

Was this answer helpful?

Important Questions from Indexing

  1. Primary index in sequential order file organisation is also known as ______.

  2. A B-tree used as an index for a large database table has four levels including the root node. If a new key is inserted in this index, then maximum number of nodes that could be newly created in the process is

  3. The total cost of retrieving records in sorted order using an unclustered B+ tree is

    (P-Average number of records per data page

    N-Data pages

    F-Ratio of the size of a data entry to the size of a data record)

  4. In a relational database, a B+ Tree Index is to be constructed for a relation on a key field. In a B+ Tree, a Node Pointer points to a sub-tree and a Data Record Pointer points to a block of database records.

    Let, Node size = 4096 bytes, Node Pointer size = 10 bytes, Search Key Field size = 11 bytes and Data Record Pointer size = 12 bytes.

    The maximum number of Node Pointers that can be present in a non-leaf node of the B+ Tree is ________ . (Answer in integer)
  5. Consider a B+ Tree where the maximum number of key values in each leaf node is 2 and the maximum number of pointers in each non-leaf node is 3. Let the content of the B+ Tree be as shown in the figure.


    Which of the following options denotes the key value(s) stored in the root node after inserting a key value 3 in the given B+ Tree?

Need Expert Advice?

Start Your Preparation with Prepp Mobile App

Download the app from Google Play & App Store
Download the app from Google Play & App Store
Prepp Mobile App