What is the difference between a clustered index and a non-clustered index? MCQ with Answer and Explanation

What is the difference between a clustered index and a non-clustered index?
A. Clustered index determines the physical order of data; non-clustered does not
B. They are the same
C. Clustered index is faster for inserts
D. Non-clustered index determines physical order; clustered does not
Answer: Option A
Solution (By JKSSB Mock Tests)
A clustered index sorts and stores the data rows in the table based on key values, while a non-clustered index is a separate structure that points to the data rows.

Discuss this Question (0)

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

Practice More Database Management System (DBMS) Questions

Question #1
What is the situation called when two or more transactions are permanently blocked, each waiting for a lock held by the other transaction to be released?
A. Isolation failure
B. Starvation
C. Concurrency
D. Deadlock

Correct Answer: Option D


Explanation:
A Deadlock occurs when two or more transactions are stuck in a circular dependency, each waiting for resources locked by the other, preventing progress.

This question belongs to: Computer Database Management System (DBMS)
Question #2
Which normal form requires that every determinant is a candidate key?
A. BCNF
B. 1NF
C. 2NF
D. 3NF

Correct Answer: Option A


Explanation:
Boyce-Codd Normal Form (BCNF) is a stricter version of 3NF where every determinant must be a candidate key.

This question belongs to: Computer Database Management System (DBMS)
Question #3
What type of key uniquely identifies each record in a table and cannot contain NULL values?
A. Primary Key
B. Foreign Key
C. Candidate Key
D. Secondary Key

Correct Answer: Option A


Explanation:
A Primary Key is a unique identifier for each tuple in a relation. It enforces entity integrity and strictly cannot accept NULL values.

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