Search your topic here

Top-down and bottom-up approaches to algorithm design


TOP-DOWN AND BOTTOM-UP APPROACHES TO ALGORITHM DESIGN:

Two approaches are used in algorithm designing :
  1.  top-down approach
  2. and bottom-up approach.


In the top-down approach, the complex module is divided into submodules. Structure/procedural oriented programming languages such that C programming follows the top-down approach. Its basically used in Code creation.

In the bottom-up approach, the submodules are combine to make a single module. Object-oriented programming languages such that C++, JAVA follows the bottom-up approach. Its basically used in Testing.

LEAVE A REPLY