Question: Main modules may import other modules and these may import other modules but a main module may not be imported. Question 28 a) True b)
Main modules may import other modules and these may import other modules but a main module may not be imported.
Question 28
| a) True | |
| b) False |
Save
Question 29
The main module is the module which is loaded and directly executed.
Question 29 options:
| a) True | |
| b) False |
Save
Question 30
With the "import moduleName" form of import, any utilized entities from the imported module must be prefixed with the module name.
Question 30 options:
| a) True | |
| b) False |
Save
Question 31
The naming convention for private modules starts with,
Question 31 options:
| |||
| |||
| |||
|
Save
Question 32
When importing modules, all Python Standard Library modules must be imported before any programmer-defined modules, otherwise a runtime error will occur.
Question 32 options:
| a) True | |
| b) False |
Save
Question 33
Every module in Python has its own namespace.
Question 33 options:
| a) True | |
| b) False |
Save
Question 34 (5 points)
When using the "from-import" form of importing, there are optional formats, what are they,
Question 34 options:
| |||
| |||
| |||
|
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
