
PYTHON(LIBRARIES)
Authored by csdept 1819
Computers
12th Grade
Used 12+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a library in python?
COLLECTION OF FILES
COLLECTION OF MODULES
IT IS SUBPROGRAM
NAME OF A FILE
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
exp(),floor()belongs which module?
cmath.py
urlib.py
math.py
statistics.py
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which operator is used in python to import all modules from package
-- operator
+ operator
dot (.) operator
----> operator
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A variable defined inside the def() we called as
Global
enclosing
local
local to def()( that function)
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A logical group of related objects are known as
Memory
global space
local space
namespace
6.
FILL IN THE BLANK QUESTION
30 sec • 1 pt
A collection modules under common namespaces is known as ____________ (type ypur answer in lower case only)
7.
FILL IN THE BLANK QUESTION
30 sec • 1 pt
Find the output:
#mod1
def change(a):
b=[x*2 for x in a]
print(b)
#mod2
def change(a):
b=[x*x for x in a]
print(b)
from mod1 import change
from mod2 import change
#main s=[1,2,3]
change(s)
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?