Python Libraries - Random Numbers

Python Libraries - Random Numbers

12th Grade

10 Qs

quiz-placeholder

Similar activities

Random Numbers + Review

Random Numbers + Review

12th Grade - University

8 Qs

Python Random

Python Random

12th Grade

10 Qs

Python - Chpt 3 - Review

Python - Chpt 3 - Review

9th - 12th Grade

15 Qs

Java

Java

9th Grade - University

11 Qs

Python

Python

12th Grade

10 Qs

Symbols & Num. Keypad

Symbols & Num. Keypad

1st - 12th Grade

10 Qs

JavaScript Basics

JavaScript Basics

12th Grade - University

15 Qs

Programming python review

Programming python review

9th - 12th Grade

15 Qs

Python Libraries - Random Numbers

Python Libraries - Random Numbers

Assessment

Quiz

Computers

12th Grade

Hard

Created by

Jini N K

Used 63+ times

FREE Resource

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

________________ 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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?