Wednesday, 16 March 2016

Difference between Top-Down and Bottom- Up Programming

Top Down Programming

Top down approach is used by procedure oriented language like C. In this concern A problem is solved by the top level wise i.e. A main function is created which draw a sketch that how will our program be started and then find out the low level modules further. The problem is divided into the sub modules and implemented each coding separately, which called and control by the main function. Top down approach is no longer popular today.

Bottom Up Programming


Bottom up approach is used by the object oriented language like C++, Java, C#, VB.Net, etc. In this approach design starts with bottom level , by inside of a class. Ones A class is implemented, then object of that class is created. A main function is generally also used here like procedure oriented  languages as a starting point, but it’s used only to call the class functions.




Top Down Programming Bottom Up Programming
  • Less Secure
  • Not suitable for big program (When number of line increase).
  • Difficult to extensibility
  • Maintenance is difficult
  • Not popular medium of programming now days
  • Secure
  • suitable for big program (When number of line increase).
  • easy to extensibility
  • Maintenance is easy
  • popular medium of programming now days

No comments:

Post a Comment