Q35.Marks: +2.0UGC NET Paper 2: Computer Science 2nd January 2026 Shift 1
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:
1.A, B, C Only
2.B, C, D Only
3.B, D, E Only✓ Correct
4.A, C, E Only
Solution
The correct answer is B, D, E Only.
Key Points
B: An index can be created in conjunction with virtually any primary record organization. This means that regardless of the primary record organization type, an index can be established to facilitate efficient data retrieval.
D: An index can be used to enforce a key constraint on an attribute. This ensures that the attribute values remain unique, maintaining the integrity of the database.
E: An index can be created dynamically. This allows flexibility in database management as indexes can be added or modified as needed without requiring a complete overhaul of the database structure.
Additional Information
Indexes in Databases:
Indexes improve the speed of data retrieval operations by providing quick access to records.
They are especially useful in large databases where searching for specific records can be time-consuming.
Common types of indexes include primary indexes, secondary indexes, and unique indexes.
Dynamic Index Creation:
Dynamic index creation allows for changes to the database structure without downtime.
It is particularly useful in environments where data patterns and query requirements frequently evolve.
Key Constraints and Indexes:
Key constraints such as primary keys and unique keys rely on indexes to enforce uniqueness.
Indexes ensure that duplicate values are not allowed in columns with key constraints.
Advantages of Using Indexes:
Improves query performance by reducing the time required to locate records.
Enhances the efficiency of sorting and filtering operations.
Supports the enforcement of constraints such as uniqueness and referential integrity.