Question
a.
-3.4
b.
3.4
c.
3
d.
-3
Posted under Python
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. What is displayed on executing print(math.fabs(-3.4))?
Similar Questions
Discover Related MCQs
Q. Is the output of the function abs() the same as that of the function math.fabs()?
View solution
Q. What is the value returned by math.fact(6)?
View solution
Q. What is the value of x if x = math.factorial(0)?
View solution
Q. What is math.factorial(4.0)?
View solution
Q. What is the output of print(math.factorial(4.5))?
View solution
Q. What is math.floor(0o10)?
View solution
Q. What does the function math.frexp(x) return?
View solution
Q. What is the result of math.fsum([.1 for i in range(20)])?
View solution
Q. What is the result of sum([.1 for i in range(20)])?
View solution
Q. What is returned by math.isfinite(float(‘inf’))?
View solution
Q. What is returned by math.isfinite(float(‘nan’))?
View solution
Q. What is x if x = math.isfinite(float(‘0.0’))?
View solution
Q. What is the value of x if x = math.ldexp(0.5, 1)?
View solution
Q. What is returned by math.modf(1.0)?
View solution
Q. What is the result of math.trunc(3.1)?
View solution
Q. What is the output of print(math.trunc(‘3.1’))?
View solution
Q. Which of the following is the same as math.exp(p)?
View solution
Q. What is returned by math.expm1(p)?
View solution
Q. What is the default base used when math.log(x) is found?
View solution
Q. Which of the following aren’t defined in the math module?
View solution
Suggested Topics
Are you eager to expand your knowledge beyond Python? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!