Quiz
Random Module of Python
Dieses Quiz hat ein Zeitlimit und öffnet sich deshalb im gewohnten Player.
Fragen in diesem 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.
- ARichtig
- BFalsch
4randint(a, b) returns an integer value between a and b.
- ARichtig
- BFalsch
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.
Informationen
- Beschreibung
- Coding Python Quiz am Random Module of Python, erstellt von PathaPadha Support am 27/10/2020.
- Autor
- PathaPadha Support
- Sprache
- English
- Aufrufe
- 0
- Schlagwörter
- Bewertung
- Noch keine Bewertungen Bewerte dieses Quiz