SWC_Kargil_Week_3_Quiz

SWC_Kargil_Week_3_Quiz

Professional Development

100 Qs

quiz-placeholder

Similar activities

SQL: Using Single-Row Functions

SQL: Using Single-Row Functions

8th Grade - Professional Development

100 Qs

Java Full Stack Test 13-APR-2024

Java Full Stack Test 13-APR-2024

Professional Development

100 Qs

AWS_Database_Quizz

AWS_Database_Quizz

Professional Development

100 Qs

SA Chapter 11

SA Chapter 11

Professional Development

96 Qs

RScott PHP

RScott PHP

Professional Development

105 Qs

QUIZ 1 OFFICERS BATCH 2023-24

QUIZ 1 OFFICERS BATCH 2023-24

Professional Development

105 Qs

Information Security Quiz

Information Security Quiz

Professional Development

100 Qs

CCNA Prep Simulation

CCNA Prep Simulation

Professional Development

103 Qs

SWC_Kargil_Week_3_Quiz

SWC_Kargil_Week_3_Quiz

Assessment

Quiz

Computers

Professional Development

Medium

Created by

Shabnam Choudhary

Used 2+ times

FREE Resource

100 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Which of the following is NOT a Date Function in SQL?
DATE()
NOW()
THEN()
DAY()

Answer explanation

THEN() is not a valid SQL date function. DATE(), NOW(), and DAY() are used to manipulate or retrieve date-related information.

2.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

What will be the output of the following SQL function? SELECT MOD(53, 10);
5
3
10

Answer explanation

MOD(53, 10) returns the remainder of 53 divided by 10, which is 3.

3.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Which of the following is a characteristic of a relational database?
Hierarchical structure
Key-value pairs
Tabular structure
Document-based storage

Answer explanation

Relational databases store data in tables with rows and columns, making tabular structure their key characteristic.

4.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

What is the purpose of the SQL PRIMARY KEY constraint?
Allow null values
Ensure uniqueness
Link tables
Check conditions

Answer explanation

PRIMARY KEY ensures that each value in the column is unique and not null.

5.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

What does the ACID property 'Isolation' ensure in a transaction?
Data is permanently saved
Transactions are processed independently
Data remains consistent
All operations are completed

Answer explanation

Isolation ensures that transactions are executed independently of one another.

6.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Which normal form eliminates partial dependencies?
1NF
2NF
3NF
BCNF

Answer explanation

Second Normal Form (2NF) eliminates partial dependencies by ensuring non-key attributes depend on the entire primary key.

7.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

What is the output of SELECT COUNT(*) FROM Table WHERE column IS NULL?
Number of rows
Number of non-null values
Number of null values

Answer explanation

COUNT(*) counts all rows where the condition (column IS NULL) is true, giving the number of null values.

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?