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

Answer: C. Both (i) and (ii)Modular programming separates functionality into independent modules. This structure makes individual components easier to test in isolation, validating…

  1. A.

    Only (i)

  2. B.

    Only (ii)

  3. C.

    Both (i) and (ii)

  4. D.

    Neither (i) nor (ii)

Attempted by 527 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: Rssb Basic Computer Instructor

Loading lesson…