

Python Math Functions and Their Uses
Interactive Video
•
Mathematics
•
9th - 10th Grade
•
Practice Problem
•
Easy
Thomas White
Used 1+ times
FREE Resource
Read more
9 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the math module in Python include?
Only mathematical constants
Trigonometric, logarithmic functions, and mathematical constants
Only logarithmic functions
Only trigonometric functions
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the sqrt function in Python?
To calculate the square of a number
To calculate the square root of a number
To calculate the cube root of a number
To calculate the power of a number
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the ceil function do in Python?
Returns the absolute value of a number
Rounds a number up to the nearest integer
Rounds a number down to the nearest integer
Calculates the power of a number
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which function rounds a number down to the nearest integer?
pow
fabs
floor
ceil
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the pow function calculate?
The square root of a number
The power of a number
The absolute value of a number
The factorial of a number
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of fabs(-30.45) in Python?
30.45
-30.45
30
-30
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the factorial of 3?
9
6
3
12
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?