1.

Which of the following is not an advantage of using modules?(a) Provides a means of reuse of program code(b) Provides a means of dividing up tasks(c) Provides a means of reducing the size of the program(d) Provides a means of testing individual parts of the programI had been asked this question at a job interview.My question is taken from Python Modules topic in portion Mapping Functions and Modules of Python

Answer»

Right option is (C) Provides a MEANS of REDUCING the size of the program

Explanation: The total size of the program remains the same REGARDLESS of whether modules are used or not. Modules simply divide the program.



Discussion

No Comment Found

Related InterviewSolutions