
SWC_QUIZ_4
Authored by Shabnam Choudhary
Computers
University
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
60 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Which SQL statement is used to create an index on a column?
Answer explanation
CREATE INDEX is used to create an index on a table column.
2.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What is the main benefit of using indexes?
Answer explanation
Indexes improve query speed, especially for SELECT statements with WHERE.
3.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Which of the following can negatively impact performance when overused?
Answer explanation
Too many indexes can slow down INSERT, UPDATE, and DELETE operations.
4.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
How can you see whether a query uses an index in SQL Server?
Answer explanation
SQL Server's Query Plan Viewer shows if indexes are being used.
5.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What happens when you drop an index?
Answer explanation
Dropping an index can reduce read performance.
6.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Which of the following is TRUE about CTEs in SQL?
Answer explanation
CTEs are temporary and exist only during query execution.
7.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What is a key difference between Views and CTEs?
Answer explanation
Views are saved in the database; CTEs are not.
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?