Which of the following is/are advantages of modular programming? (i) Easier to…

2022

Which of the following is/are advantages of modular programming?

(i) Easier to test
(ii) Reusability

  1. A.

    Only (i)

  2. B.

    Only (ii)

  3. C.

    Both (i) and (ii)

  4. D.

    Neither (i) nor (ii)

Attempted by 143 students.

Show answer & explanation

Correct answer: C

Modular programming separates functionality into independent modules. This structure makes individual components easier to test in isolation, validating statement (i). Additionally, well-defined modules can be reused across different projects or within the same system, confirming statement (ii). Both listed benefits are standard advantages of this approach.

Explore the full course: Uppsc Polytechnic Lecturer 2025 Cs