SWC_QUIZ_4

SWC_QUIZ_4

University

60 Qs

quiz-placeholder

Similar activities

NPTEL-CLOUD COMPUTING-PRACTICE TEST-5 2025

NPTEL-CLOUD COMPUTING-PRACTICE TEST-5 2025

University

60 Qs

Fundamentos de Programacion

Fundamentos de Programacion

University

60 Qs

System Security

System Security

University

60 Qs

CIS Microsoft Excel (Review)

CIS Microsoft Excel (Review)

9th Grade - Professional Development

62 Qs

เทคโนโลยีสารสนเทศเพื่องานอาชีพ

เทคโนโลยีสารสนเทศเพื่องานอาชีพ

University

60 Qs

Pendahuluan Cisco Packet Tracer

Pendahuluan Cisco Packet Tracer

University

55 Qs

ISPFL8 Endterm Exam

ISPFL8 Endterm Exam

University

60 Qs

Ôn tập THĐC - 60 câu

Ôn tập THĐC - 60 câu

University

60 Qs

SWC_QUIZ_4

SWC_QUIZ_4

Assessment

Quiz

Computers

University

Practice Problem

Medium

Created by

Shabnam Choudhary

Used 2+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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?

CREATE TABLE
CREATE INDEX
CREATE VIEW
CREATE CONSTRAINT
CREATE COLUMN

Answer explanation

CREATE INDEX is used to create an index on a table column.

2.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

What is the main benefit of using indexes?

Data redundancy
Faster query performance
Smaller table size
Avoid joins
Normalization

Answer explanation

Indexes improve query speed, especially for SELECT statements with WHERE.

3.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

Which of the following can negatively impact performance when overused?

Views
Constraints
Indexes
Triggers
Foreign keys

Answer explanation

Too many indexes can slow down INSERT, UPDATE, and DELETE operations.

4.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

How can you see whether a query uses an index in SQL Server?

SHOW PLAN
USE INDEX
EXPLAIN QUERY
Query Plan Viewer
LOG INDEX

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?

Table is deleted
Data is lost
Query performance may degrade
Triggers are disabled
Nothing

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?

They persist data permanently
They are used only for INSERT
They are temporary result sets
They replace triggers
They are stored procedures

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?

Views are faster
CTEs require stored procedures
Views are persistent, CTEs are not
CTEs use triggers
Views can’t use joins

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?

Discover more resources for Computers