1.  Interface

2.  Modularity

3.  Client

4.  Docstring

4
Correct Answer :

Docstring


Explanation :
No Explanation available for this question

1.  The details of a program design are addressed before the overall design

2.  Only the details of the program are addressed

3.  The overall design of the program is addressed before the details

4.  Only the design of the program is addressed

4
Correct Answer :

The overall design of the program is addressed before the details


Explanation :
No Explanation available for this question

1.  True

2.  False

2
Correct Answer :

False


Explanation :
No Explanation available for this question

1.  True

2.  False

2
Correct Answer :

False


Explanation :
No Explanation available for this question

1.  [2,4,6]

2.  [1,4,9]

3.  [2,4,6][1,4,9]

4.  There is a name clash

4
Correct Answer :

There is a name clash


Explanation :
No Explanation available for this question

1.  When a python file is directly executed, it is considered main module of a program

2.  Main modules may import any number of modules

3.  Special name given to main modules is: __main__

4.  Other main modules can import main modules

4
Correct Answer :

Other main modules can import main modules


Explanation :
No Explanation available for this question

1.  Global namespace

2.  Public namespace

3.  Built-in namespace

4.  Local namespace

4
Correct Answer :

Public namespace


Explanation :
No Explanation available for this question

1.  The namespace of imported module becomes part of importing module

2.  This form of import prevents name clash

3.  The namespace of imported module becomes available to importing module

4.  The identifiers in module are accessed as: modulename.identifier

4
Correct Answer :

The namespace of imported module becomes part of importing module


Explanation :
No Explanation available for this question

1.  The syntax is: from modulename import identifier

2.  This form of import prevents name clash

3.  The namespace of imported module becomes part of importing module

4.  The identifiers in module are accessed directly as: identifier

4
Correct Answer :

This form of import prevents name clash


Explanation :
No Explanation available for this question

1.  In the “from-import” form of import, identifiers beginning with two underscores are private and aren’t imported

2.  dir() built-in function monitors the items in the namespace of the main module

3.  In the “from-import” form of import, all identifiers regardless of whether they are private or public are imported

4.  When a module is loaded, a compiled version of the module with file extension .pyc is automatically produced

4
Correct Answer :

In the “from-import” form of import, all identifiers regardless of whether they are private or public are imported


Explanation :
No Explanation available for this question

Interview Questions

MongoDB
Java Script
Node JS
PHP
JQuery
Python