English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

definition,advantages and disadvantages of modular programming

2006-07-11 05:10:27 · 4 answers · asked by pramodh h 1 in Computers & Internet Programming & Design

4 answers

Modular programming is subdividing your program into separate subprograms such as functions and subroutines.

Advantages
Make your actual program shorter
Easier to read and understand
Make it simpler to figure out how the program operates
Reduce the likelyhood of bugs

Disadvantages
I cannot think of any! however it takes longer to develop the program using this technique.

See the link that provides other techniques and more info

2006-07-11 05:19:43 · answer #1 · answered by alaa_tm 3 · 0 0

Disadvantages Of Modular Programming

2017-01-17 14:56:35 · answer #2 · answered by Anonymous · 0 0

Often we modularize by using object orientated programming. To do this we separate both the data and the functions which work on that data into separate units called classes. Classes are intended to protect the data and hide the implementation details of the functions. Protection and hiding is accomplished by not letting the user(s) see the data or implementation of the functions which work on that data. We then provide public interfaces which allows others to access and manipulate the data in the manner we see best. A truly well engineered modularized program will have the basic data structures at the bottom of a hierarchy and will build on those module layer by module layer until the pinnacle is reached which would be the main starting point of the program ( bottom up instead of top down ). Programs can be arranged modularly as well into systems.

In this manner we can ensure that anyone using our classes only uses them in the manner we prescribe thus if well implemented, protects the data from inappropriate manipulation and does not give others a view of how you accomplished the tasks. The user should not have to worry about how it is done, only what data they can use and how they are allowed to manipulate it.

2006-07-11 05:54:29 · answer #3 · answered by rodneycrater 3 · 0 0

Modularity is a concept that has applications in the contexts of computer science, particularly programming, as well as cognitive science in investigating the structure of mind. A module can be defined variously, but generally must be a component of a larger system, and operate within that system independently from the operations of the other components



Modularity is the property of computer programs that measures the extent to which they have been composed out of separate parts called modules.

Programs that have many direct interrelationships between any two random parts of the program code are less modular than programs where those relationships occur mainly at well-defined interfaces between modules.

Modular programming techniques are those which increase modularity. (See also: structured programming, procedural programming, object-oriented programming and aspect-oriented programming, distributed computing

2006-07-14 23:46:51 · answer #4 · answered by vishal 3 · 0 0

fedest.com, questions and answers