Among the following, which statement is correct about the modularity?

2023

Among the following, which statement is correct about the modularity?

  1. A.

    Modularity means hiding the parts of the program

  2. B.

    Modularity refers to dividing a program into subsequent small modules or independent parts

  3. C.

    It refers to overloading the program’s part

  4. D.

    More than one of the above

  5. E.

    None of the above

Attempted by 533 students.

Show answer & explanation

Correct answer: B

Modularity in programming refers to the practice of dividing a program into smaller, independent modules or components. Each module performs a specific function and can be developed, tested, and maintained separately. This approach enhances code readability, reusability, and maintainability. It allows developers to focus on individual parts without affecting the entire system. Modularity is a key principle in software design, enabling better organization and scalability of programs.

Explore the full course: Up Lt Grade Assistant Teacher 2025