Quiz
Math Functions in Python
Dieses Quiz hat ein Zeitlimit und öffnet sich deshalb im gewohnten Player.
Fragen in diesem 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.
- ARichtig
- BFalsch
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.
- ARichtig
- BFalsch
Informationen
- Beschreibung
- Coding Python Quiz am Math Functions in Python, erstellt von PathaPadha Support am 27/10/2020.
- Autor
- PathaPadha Support
- Sprache
- English
- Aufrufe
- 189
- Schlagwörter
- Bewertung
- Noch keine Bewertungen Bewerte dieses Quiz