Python Libraries - Random Numbers

Python Libraries - Random Numbers

12th Grade

10 Qs

quiz-placeholder

Similar activities

Programming Java

Programming Java

9th Grade - University

11 Qs

Programming -  Operations on Numeric & Boolean Data

Programming - Operations on Numeric & Boolean Data

2nd - 12th Grade

10 Qs

Java Strings and Math Quiz

Java Strings and Math Quiz

12th Grade

15 Qs

Practice for CPA JavaScript quiz #4

Practice for CPA JavaScript quiz #4

9th - 12th Grade

15 Qs

From Scratch to Python Quiz Unit 1 ,1.7-1.9

From Scratch to Python Quiz Unit 1 ,1.7-1.9

KG - 12th Grade

7 Qs

L. 4. Introduction to Hypertext Pre-Processor - 5

L. 4. Introduction to Hypertext Pre-Processor - 5

12th Grade

10 Qs

CS 2.01-2.05 Review

CS 2.01-2.05 Review

9th - 12th Grade

14 Qs

computer 12

computer 12

12th Grade

11 Qs

Python Libraries - Random Numbers

Python Libraries - Random Numbers

Assessment

Quiz

Computers

12th Grade

Hard

Created by

Jini N K

Used 64+ 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?