ADITYA CODING CLUB
Aditya College of Engineering, Madanapalle
Python Programming Test-9
1. Test contains 10 Questions 
2. All questions are asked from Python Modules concept
3. Each Question Carries 1 Mark
Roll Number: *
Type Valid Roll Number 
Name of the Student: *
Department *
Year of Course: *
Required
Section  *
1.  You  can find the name of a module by using the ______ attribute of the module. *
1 point
2.  ______is the built-in function that lists the identifiers defined in a module. *
1 point
3.  Every package in Python is a directory which must have a special file called_____. *
1 point
4. The________ statement is used to import sqrt and cos function from the math module.

*
1 point
5.  Which of the statements is used to import all names from a module into the current calling module? *
1 point
6. What will be the output of the following Python code?
#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)
*
1 point
7.  What are modules in Python? *
1 point
8.  Which of the following is true? *
1 point
9.  Where does the system search the imported module? *
1 point
10. In the code given below which of the following is the module function?

# Code start

import math

print(math.sqrt(9))

*
1 point
Submit
Clear form
Never submit passwords through Google Forms.
This content is neither created nor endorsed by Google. Report Abuse - Terms of Service - Privacy Policy