Type A : Short Answer Questions / Conceptual Questions
1. What is the significance of the Modules?
2. What are docstrings? What is their significance? Give example to support your answer?
3. What is package? How is a package different form module?
4. What is the library? Write procedure to create own library in Python.
5. What is the use of file _init_.py in a package even when it is empty?
6. What is the importance of site-packages folder of Python installation?
8. What is PYTHONPATH variable? What is its significance?
9. In which order python looks for the function/module names used by you?
10. What is the usage of help() and dir() functions.
11. Name the python library modules which need to be imported to invoke the following functions.
Ans: math module
12. What is dot notation of referring to objects inside a module?
13. Why should the form <module> import <object> statement be avoided to import objects?
14. What do you understand by standard library of Python?
15. Explain the difference between import <module> and from <module> import statement, with example.