Python Libraries - Random Numbers

Python Libraries - Random Numbers

12th Grade

10 Qs

quiz-placeholder

Similar activities

Technical Terms - Internet (A-Z) - Netiquette

Technical Terms - Internet (A-Z) - Netiquette

12th Grade

10 Qs

Quiz Blok Variables dan Operator

Quiz Blok Variables dan Operator

10th - 12th Grade

10 Qs

C++ quiz

C++ quiz

10th Grade - Professional Development

10 Qs

Chapter 8 - Programming (IGCSE Computer Science)

Chapter 8 - Programming (IGCSE Computer Science)

9th - 12th Grade

15 Qs

ICT Fundamentals

ICT Fundamentals

9th - 12th Grade

10 Qs

Reviewing the lessons after a long holiday

Reviewing the lessons after a long holiday

9th - 12th Grade

15 Qs

Intro to Comp Sci: U2L5

Intro to Comp Sci: U2L5

8th - 12th Grade

7 Qs

PYTHON(LIBRARIES)

PYTHON(LIBRARIES)

12th Grade

10 Qs

Python Libraries - Random Numbers

Python Libraries - Random Numbers

Assessment

Quiz

Computers

12th Grade

Hard

Created by

Jini N K

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