Quiz
Math Functions in Python
This quiz has a time limit, so it opens in the usual player.
Questions in this quiz (8)
1Which module allows us to use math functions in Python ?
- Amath
- Bmaths
- Cmathematics
- DMath
2What is the function of ceil( ) ?
- Areturns next integer value after the floating number
- Breturns previous integer value before the floating number
- Creturns any integer nearest to the floating number
- Dreturns the same floating number
3What is the function of floor( ) ?
- Areturns the next integer of the floating number
- Breturns the previous integer of the floating number
- Creturns the floating point number + 1
- Dno such function is there
4import math
x, y = 6, 4
print(math.fmod(x, y))
What is the output ?- A2
- B1.5
- C1
- D0
5exp(x) returns the exponent value of x.
- ATrue
- BFalse
6Which function is used to find x to the power y value ?
- Aexp(x, y)
- Bpow(x, y)
- Cpower(x, y)
- Dexponent(x, y)
7Which mathematical constant is used to get the value 3.142857143
- Amath.pi
- Bmath.pie
- Cmath.e
- Dmath.p
8math.exp is used to get the value of e.
- ATrue
- BFalse
Information
- Description
- Coding Python Quiz on Math Functions in Python, created by PathaPadha Support on 27/10/2020.
- Author
- PathaPadha Support
- Language
- English
- Views
- 189
- Tags
- Rating
- No ratings yet Rate this quiz