Database & Data Handling (NCCIA) MCQs
1999 MCQs is category mein available hain.
All MCQs in Database & Data Handling (NCCIA)
161 What does the query optimiser use an index for?
Explanation
The optimiser evaluates indexes to decide the cheapest way to execute a query.
Last verified on 27-11-2026
162 A non-clustered index stores what?
Explanation
A non-clustered index stores key values and row locators, separate from the table data.
Last verified on 27-11-2026
163 How many non-clustered indexes can a table have?
Explanation
A table can have many non-clustered indexes, unlike the single clustered index.
Last verified on 27-11-2026
164 Which column is usually the BEST candidate for an index?
Explanation
Foreign keys are frequently joined, so indexing them speeds up joins and referential checks.
Last verified on 27-11-2026
165 What is a partial index?
Explanation
A partial index includes only rows satisfying a WHERE condition, saving space.
Last verified on 27-11-2026
166 Which maintenance operation improves index performance after many updates?
Explanation
Rebuilding removes fragmentation and restores efficient index structure.
Last verified on 27-11-2026
167 In a database, an index is most similar to which real-world object?
Explanation
Like a book index, it maps a value to its location for fast lookup.
Last verified on 27-11-2026
168 What is the main drawback of a hash index for range queries?
Explanation
Hashing scatters values, so ordered or range access is not supported efficiently.
Last verified on 27-11-2026
169 Which index type is created by default on a primary key in SQL Server?
Explanation
In SQL Server the primary key defaults to a clustered index.
Last verified on 27-11-2026
170 An index on (LastName, FirstName) can efficiently support a search on which column alone?
Explanation
A composite index is usable from its leftmost column, so LastName alone can use it but FirstName alone cannot.
Last verified on 27-11-2026