nerdexam
Cisco

200-901 · Question #226

What is a benefit of organizing code into modules?

The correct answer is D. enables the reuse of code. Organizing code into modules primarily enables reuse - a module written once can be imported and used across multiple scripts or projects without rewriting logic. Modules do not inherently improve performance, reduce total lines of code, or make code multifunctional…

Software Development and Design

Question

What is a benefit of organizing code into modules?

Options

  • Aimproves overall performance
  • Breduces the length of code
  • Cenables code to be multifunctional
  • Denables the reuse of code

How the community answered

(22 responses)
  • A
    5% (1)
  • B
    5% (1)
  • D
    91% (20)

Explanation

Organizing code into modules primarily enables reuse - a module written once can be imported and used across multiple scripts or projects without rewriting logic. Modules do not inherently improve performance, reduce total lines of code, or make code multifunctional. Reusability is the foundational software engineering principle that modules address.

Topics

#Modular programming#Code reusability#Software design principles#Code organization

Community Discussion

No community discussion yet for this question.

Full 200-901 Practice