Python Libraries - Random Numbers

Quiz
•
Computers
•
12th Grade
•
Hard
Jini N K
Used 65+ 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
Similar Resources on Wayground
10 questions
Conditionals - codeHS mod4

Quiz
•
9th - 12th Grade
15 questions
Bitwise Masks

Quiz
•
12th Grade
15 questions
PGAS Memory Quiz

Quiz
•
9th - 12th Grade
10 questions
C++ Basics Quiz

Quiz
•
9th - 12th Grade
15 questions
JavaScript Basics

Quiz
•
12th Grade - University
10 questions
AP Computer Science Principles - Unit 4: Variables, Conditionals

Quiz
•
9th - 12th Grade
10 questions
Encryption - AQA A Level Computer Science

Quiz
•
11th - 12th Grade
13 questions
Python Data Types and Operators Skill #1

Quiz
•
12th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade
19 questions
AP CSP Unit 1 Review (code.org)

Quiz
•
10th - 12th Grade