Search Header Logo

Mathematical Functions in SQL Quiz

Authored by Zaima Zahid

Information Technology (IT)

12th Grade

Mathematical Functions in SQL Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

6 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the POW() function do in SQL?

Returns the square root of a number

Rounds a number to a specified number of decimal places

Returns the value of a number raised to the power of another number

Returns the absolute value of a number

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the default behavior of the ROUND() function when no decimal places are specified?

Returns the original number

Rounds to the nearest whole number

Rounds down to the nearest integer

Rounds to the nearest hundred

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the TRUNCATE() function do?

Rounds a number to the nearest integer

Cuts off decimal places from a number

Returns the remainder of a division

Calculates the square root of a number

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of the SQL command SELECT MOD(11, 3)?

0

3

2

1

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the ABS() function return?

The square of a number

The absolute (positive) value of a number

The cube of a number

The logarithm of a number

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of the SQL command SELECT ROUND(5.678, 2)?

5.67

5.68

6

5.6

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?