Test
Math Functions in Python
Este test tiene tiempo límite, así que se abre en el reproductor de siempre.
Preguntas del test (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.
- AVerdadero
- BFalso
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.
- AVerdadero
- BFalso
Información
- Descripción
- Coding Python Test sobre Math Functions in Python, creado por PathaPadha Support el 27/10/2020.
- Autor
- PathaPadha Support
- Idioma
- English
- Visitas
- 189
- Etiquetas
- Valoración
- Aún sin valoraciones Valora este test