Using Python Libraries || Fill in the Blanks || Class 12
1. Commonly-used modules that contain source code for generic needs are called _____.
2. A Python _____ is a directory of Python module(s).
3. We can use any Python source file as a module by executing an _____ statement.
4. _____ function, when applied to a module, gives you the names of all that is defined inside the module.
5. The _____ is a variable that holds the name of the module being referenced.
6. A _____ is a separately saved unit whose functionality can be reused at will.
7. The random module of Python provides _____ functionality.
8. _____ are used to distinguish between different sections of a program.
9. Python provides three types of namespaces _____, _____ and _____.
10. Python follows name resolution rule, also known as _____ rule.
11. The file _____ must be part of the folder holding library files and other definitions in order to be treated as importable package.
12. A _____ refers to a collection of modules that together cater to specific type of needs or applications.
13. A Python _____ is a file (.py file) containing variables, class definitions, statements and functions related to a particular task.
14. The uniform() function is the part of _____ module.
15. The capwords() function is the part of _____ module.
Answer =
1. libraries
2. package
3. import
4. dir()
5. _name_
6. module
7. random-number generation
8. Namespaces
9. global, local, built-in
10. LEGB
11. __inti__.py
12. library
13. module
14. random
15. string
Post a Comment
You can help us by Clicking on ads. ^_^
Please do not send spam comment : )