Function in Python
MCQ on Function set 1
1 A .py file containing constrants/variables, classes, functions etc. related to a particular task and can be used in other programs is called____
Explain:-
2 The collection of modules and packages that together cater to a specific type of applications or requirements, is called______
Explain:-
3 An independent triple quoted string given inside a module, containing documentation related information is a_____
4 The help
5 Which command(s) modifies the current namespace with the imported object name?
6 Which command create a separate namespace for each of the imported module?
7 Which of the following random module function generates an integer?
8 Which of the following random module functions generates an integer?
9 Which file must be a part of a folder to be used as a Python package?
10 A python module has____ extension.