
Python Quiz 5
Authored by ENDURO SRM
Computers
University
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following is not a function?
int()
round()
len()
lower()
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
max() function can only be used for numeric data types?
True
False
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the extension of a Python module?
py
mod
md
py-md
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Python module can store which of the following?
functions
constants
variables
all of these
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What does random() function of random module do?
return a float between 0 and 1
return a float between the input numbers
return a int value between the input numbers
all of these
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the correct syntax to use pi constant of Math module?
math.pi()
math.pi
math(pi)
pi()
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is 'a' called here?
return value
input value
parameter
keyword
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?