Quiz
Random Module of Python
Este quiz tem tempo limite, por isso abre no player de sempre.
Perguntas do quiz (5)
1How is Random module imported in Python ?
- Aimport random
- Bimport Random
- Cimport Random_Numbers
- Dimport random_numbers
2Which function is used to generate a random floating value between 0.0 and 1.0 ?
- Auniform( )
- Brandom( )
- Crandomize( )
- Drandint( )
3uniform(a, b) returns an integer value between a and b.
- AVerdadeiro
- BFalso
4randint(a, b) returns an integer value between a and b.
- AVerdadeiro
- BFalso
5What does getrandbits(k) , where k is number of bits, return ?
- Areturns float value between the min decimal and max decimal value from given bits
- Breturns integer value between the min decimal and max decimal value from given bits
- Creturns integer value between k and infinity.
- Dreturns integer value between 0 and k.
Informações
- Descrição
- Coding Python Quiz sobre Random Module of Python, criado por PathaPadha Support em 27-10-2020.
- Autor
- PathaPadha Support
- Idioma
- English
- Visualizações
- 0
- Etiquetas
- Avaliação
- Ainda sem avaliações Avalie este quiz