What is the purpose of a database index? MCQ with Answer and Explanation

What is the purpose of a database index?
A. To enforce uniqueness
B. To define relationships
C. To speed up data retrieval operations
D. To store large objects
Answer: Option C
Solution (By JKExamLibrary)
Indexes are primarily used to improve the speed of data retrieval, particularly for search queries.

This question belongs to: Computer Database Management System (DBMS)

Discuss this Question (0)

No comments yet. Be the first to start the discussion!

Practice More Database Management System (DBMS) Questions

Question #1 Report Error
What is the purpose of an index in a database?
A. To enforce foreign key constraints
B. To compress data
C. To speed up data retrieval operations
D. To encrypt data

Correct Answer: Option C


Explanation:
Indexes are used to improve the speed of data retrieval queries, at the cost of additional storage and maintenance overhead.

This question belongs to: Computer Database Management System (DBMS)
Question #2 Report Error
What is metadata?
A. Data about data
B. User data
C. Temporary data
D. Backup data

Correct Answer: Option A


Explanation:
Metadata is data that provides information about other data, such as structure and constraints.

This question belongs to: Computer Database Management System (DBMS)
Question #3 Report Error
Which data model uses objects, classes, and inheritance features, mirroring concepts from object-oriented programming?
A. Object-Oriented Data Model
B. Flat Data Model
C. Network Data Model
D. Relational Data Model

Correct Answer: Option A


Explanation:
The Object-Oriented Data Model integrates object-oriented programming languages directly with databases, storing data as objects with attributes and methods.

This question belongs to: Computer Database Management System (DBMS)