From the starting of
computer invention, many programming approaches have been used by the
programmers to write the solution code. These are as following:-
- Modular Programming
- Top-Down Programming
- Bottom-Up Programming
- Structure Programming
Modular Programming:-In this programming
approach the complete code is written in small individual parts or say in this
programming approach the complete program is divided in small parts(modules)
according to there functionality.This approach helps in maintainability by
enforcing the boundaries between the modules.Languages supporting modular
Programming are:-Ada, Algol, BlitzMax, COBOL, Component Pascal, D, Erlang, F, Fortran, Haskell,IBM/360 Assembler etc.You
can read about these on Wikipedia links provided on the keywords.
Top-Down Programming:-It is also called step
wise design or deductive reasoning.In this approach program development starts
by defining the complex pieces and then these pieces are rewritten to
generalize the complex code.So we can say in other word that in top-down
programming approach high level of work is defined first and then the low-level
inner work)is defined after that.
Bottom-Up Programming:-It is reverse of
top-down approach.In this first of all the lowlevel parts of the program are
developed and then the complex part are developed from these simple parts.
No comments:
Post a Comment