modularization programming or modularity in programming

All Articles

#modular program, #how much modular home #programming modules #modularity in programming #modularization_programming

 modularization programming or modularity in programming

 Modularization programming or modularity in programming

Modular programming is a strategy applied to the design and development of software system. It is defined as organizing a large program into small, independent program segments called modules that are separately named and individually callable program units. These modules are carefully integrated to become a software system that satisfies the system requirements. It is basically a “divide – and –conquer” approach to problem solving.

Modules are identified and designed such that they can be organized into a top-down hierarchical structure (similar to an organization chart). In C, each module refers to a function that is responsible for a single task.

Some characteristics of modular programming or Modularization are:

  1. Each module should do only one thing.
  2. Communication between modules is allowed only by  a calling module.
  3. A module can be called by one and only one higher module.
  4. No communication can take place directly between modules that do  not have calling called relationship.
  5. All modules are designed as single entry, single exit systems using control structures