Which of the following statement(s) is/are correct about modular programming…
2021
Which of the following statement(s) is/are correct about modular programming approach? I. Ease of use II. Reusability
- A.
Only I
- B.
Only II
- C.
Both I and II
- D.
Neither I nor II
Attempted by 188 students.
Show answer & explanation
Correct answer: C
Modular programming is an approach in which a program is divided into smaller, independent modules. This makes the program easier to understand, use, test, and maintain. Since these modules can also be used again in the same or other programs, reusability is also an important advantage. Therefore, both statement I and statement II are correct.