Quiz
Math Functions in Python
Este quiz tem tempo limite, por isso abre no player de sempre.
Perguntas do 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.
- AVerdadeiro
- 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.
- AVerdadeiro
- BFalso
Informações
- Descrição
- Coding Python Quiz sobre Math Functions in Python, criado por PathaPadha Support em 27-10-2020.
- Autor
- PathaPadha Support
- Idioma
- English
- Visualizações
- 189
- Etiquetas
- Avaliação
- Ainda sem avaliações Avalie este quiz