
Python Libraries - Random Numbers
Authored by Jini N K
Computers
12th Grade
Used 67+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Which operator is used in python to import all modules from packages?
. operator
* operator
-> symbol
, operator
2.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
What is the extension of python library modules?
.mod
.lib
.code
.py
3.
FILL IN THE BLANK QUESTION
10 sec • 1 pt
(a) which function helps to display all information including docstring ,function name and constant in a module.
4.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
random.randrange(6)
0,1,2,3,4,5,6
1,2,3,4,5,6
0,1,2,3,4,5
1,2,3,4,5
5.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
random.randint(3,8)
4,5,6,7
3,4,5,6,7
3,4,5,6,7,8
0,1,2,3,4,5,6,7,8
6.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
random.uniform() requires two parameters
True
False
7.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
random.random() generates a floating point number between _____ and ______
1 and 2
1 and 0
0 and 1
0 and 10
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?