Zusammenfassung der Ressource
Frage 1
Frage
Which module allows us to use math functions in Python ?
Antworten
-
math
-
maths
-
mathematics
-
Math
Frage 2
Frage
What is the function of ceil( ) ?
Antworten
-
returns next integer value after the floating number
-
returns previous integer value before the floating number
-
returns any integer nearest to the floating number
-
returns the same floating number
Frage 3
Frage
What is the function of floor( ) ?
Antworten
-
returns the next integer of the floating number
-
returns the previous integer of the floating number
-
returns the floating point number + 1
-
no such function is there
Frage 4
Frage
import math
x, y = 6, 4
print(math.fmod(x, y))
What is the output ?
Frage 5
Frage
exp(x) returns the exponent value of x.
Frage 6
Frage
Which function is used to find x to the power y value ?
Antworten
-
exp(x, y)
-
pow(x, y)
-
power(x, y)
-
exponent(x, y)
Frage 7
Frage
Which mathematical constant is used to get the value 3.142857143
Antworten
-
math.pi
-
math.pie
-
math.e
-
math.p
Frage 8
Frage
math.exp is used to get the value of e.