Exam 200-901 All QuestionsBrowse all questions from this exam
Question 19

What is a benefit of organizing code into modules?

    Correct Answer: C

    One of the primary benefits of organizing code into modules is that it significantly simplifies the management of large and complex systems. By breaking down code into smaller, self-contained pieces, modules make the codebase more manageable, easier to understand, and simpler to maintain. This modular structure also supports code reusability and separation of concerns, which enhances the overall development process.

Discussion
leranayOption: C

Its C. From Wikipedia (https://en.wikipedia.org/wiki/Modular_programming) "Modular programming is closely related to structured programming and object-oriented programming, all having the same goal of facilitating the construction of large software programs and systems by decomposition into smaller pieces." Regarding Option B: "Theoretically, a modularized software project will be more easily assembled by large teams, since no team members are creating the whole system, or even need to know about the system as a whole. They can focus just on the assigned smaller task (this, it is claimed, counters the key assumption of The Mythical Man Month, making it actually possible to add more developers to a late software project without making it later still)."

Ram0n_Aya1aOption: B

Regarding DEVASC Official Cert Guide: Chapter 4: Working with Python Modules Section: WORKING WITH PYTHON MODULES "Creating modular code provides the following benefits: -Easier readability/maintainability -Low coupling/high cohesion -Code reusability -Collaboration B is correct

cicero123

Evil question that does not have decisive answer.

dem159Option: C

In my opinion is C, because the main idea of break the code into functions is divide and conquer, which is pretty much make it easier to deal with large and more complex systems, avoiding code repetition, this is how you reuse the code and keep your coding environment clean.

designated

A, B, and C seem correct. Modules are a way to build independent and self-contained chunks of code that can be reused. Developers typically use modules to divide a large project into smaller parts. This way the code is easier to read and understand and each module can be developed in parallel without conflicts. A Module is packaged as a single file and in addition to being available for integration with other modules, it should work independently. A module consists of a set of functions and typically contains an interface for other modules to integrate with. It is essentially a library and cannot be instantiated. Note: A module is just a set of functions in a file.

lmqnamOption: B

I choose B. Refer to https://www.tiny.cloud/blog/modular-programming-principle/ Advantages of modular programming 1. Code is easier to read 2. Code is easier to test 3. Easily find things later 4. Reusability without bloat 5. Single source for faster fixes 6. Easier, lower risk updates 7. Easier refactoring 8. Easier to collaborate Disadvantages of modular programming 1. Code size 2. Complexity 3. Security

brunorpachecoOption: B

collab

XerAR

I would say A, B and C. Maybe the question was which is not true?

ErTeteOption: B

Pretty nasty question! A, B & C seem correct. From the DEVASC course: "The major advantage of using modules in software development is that it allows one module to be developed with little knowledge of the implementation in another module". B seems the closed match to the above statement.

a161757Option: C

A benefit of organizing code into modules is: C. makes it easier to deal with large and complex systems Modularizing code helps manage complexity by breaking down large systems into smaller, more manageable pieces. This approach enhances maintainability, readability, and reusability, making it easier to understand, test, and debug individual components.

macxszOption: B

I would go for B, but other options also seem correct

whineyOption: C

I would go with A or C. I don't see how using modules would improve collaboration within the development team...

Iam_someone

Wouldn't it be because you can reuse the code so it makes it easier for collabs?

DenskyDenOption: B

I believe A is also a correct answer, as a code that is written in a modular fashion is inherently easier to read and follow. But answer B is more convincing. I'll go with B.