adplus-dvertising
frame-decoration

Question

Which of these is false about a package?

a.

A package can have subfolders and modules

b.

Each import package need not introduce a namespace

c.

import folder.subfolder.mod1 imports packages

d.

from folder.subfolder.mod1 import objects imports packages

Posted under Python

Answer: (b).Each import package need not introduce a namespace

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which of these is false about a package?

Similar Questions

Discover Related MCQs

Q. Which of these definitions correctly describes a module?

Q. Which of the following is not an advantage of using modules?

Q. Program code making use of a given module is called a ______ of the module.

Q. ______ is a string literal denoted by triple quotes for providing the specifications of certain program elements.

Q. Which of the following is true about top-down design process?

Q. In top-down design every module is broken into same number of submodules? True or False?

Q. What is returned by math.ceil(3.4)?

Q. What is the value returned by math.floor(3.4)?

Q. What is the output of print(math.copysign(3, -1))?

Q. What is displayed on executing print(math.fabs(-3.4))?

Q. Is the output of the function abs() the same as that of the function math.fabs()?

Q. What is the value returned by math.fact(6)?

Q. What is the value of x if x = math.factorial(0)?

Q. What is math.factorial(4.0)?

Q. What is the output of print(math.factorial(4.5))?

Q. What is math.floor(0o10)?

Q. What does the function math.frexp(x) return?

Q. What is the result of math.fsum([.1 for i in range(20)])?

Q. What is the result of sum([.1 for i in range(20)])?

Q. What is returned by math.isfinite(float(‘inf’))?