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

What is the purpose of an index in a database?
A. To speed up data retrieval operations
B. To enforce foreign key constraints
C. To encrypt data
D. To compress data
Answer: Option A
Solution (By JKSSB Mock Tests)
Indexes are used to improve the speed of data retrieval queries, at the cost of additional storage and maintenance overhead.

Discuss this Question (0)

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

Practice More Database Management System (DBMS) Questions

Question #1
When the same data is updated in one location but remains unchanged in another location, it creates a state of what?
A. Data Integrity
B. Data Independence
C. Data Inconsistency
D. Data Security

Correct Answer: Option C


Explanation:
Data Inconsistency occurs when different versions of the same data appear in different places due to uncontrolled data redundancy.

This question belongs to: Computer Database Management System (DBMS)
Question #2
What value represents missing, unknown, or inapplicable data in a relational database?
A. Zero (0)
B. NULL
C. Blank Space (' ')
D. Void

Correct Answer: Option B


Explanation:
NULL is a special marker used in SQL to indicate the absence of a value or that the data is missing, unknown, or not applicable.

This question belongs to: Computer Database Management System (DBMS)
Question #3
What does DBMS stand for?
A. Database Management System
B. Digital Business Management Software
C. Data Backup Management System
D. Dynamic Binary Manipulation System

Correct Answer: Option A


Explanation:
DBMS stands for Database Management System, which is software for creating and managing databases.

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