Difference between Top down and bottom up approaches for a
given project ?
Answer Posted / maithri
While top down design starts from abstract to finally achieve a solid design, bottom up approach is just the reverse as it begins with the concrete design to get to abstract entity. When it comes to designing brand new systems, it is top down approach that is most commonly employed. On the other hand, in the case of reverse engineering as when it is the goal to understand someone else’s design, bottom up approach is utilized.
Bottom-up approach proceeds with the design of lowest level module or subsystem, to the highest module or subsystem. One needs a structure chart to know the steps involved in execution. Also needed are drivers to complete this type of designing.
Top-down approach starts with the top level module and progresses downward to the lowest level module. In reality however, no system is followed rigidly and designers tend to bounce back and forth between these two approaches as the need may be.
There are pros and cons of both the approaches. If we talk of advantages of a top down approach, it is easy to visualize, provides sense of completeness, and it is easy to assess the progress at any stage. On the downside, being a UI driven approach, there are chances of redundant business logics.
On the other hand, in a bottom-up approach, user has the advantages of solid business logic, ability to write good unit test and the ease with which changes can be managed and modified. Its disadvantages are that a lot of effort is required to write test cases and the progress cannot be verified easily at the mid stage.
| Is This Answer Correct ? | 5 Yes | 9 No |
Post New Answer View All Answers
What ANSI C++ function clears the screen a) clrscr() b) clear() c) Its not defined by the ANSI C++ standard
Write about the role of c++ in the tradeoff of safety vs. Usability?
What is near, far and huge pointers? How many bytes are occupied by them?
What is Destructor in C++?
Why is the function main() special?
Reads in the size of a square from the screen; 2. Prints a hollow square of that size out of “-“, “|” and blanks on screen; 3. Prints the same hollow square onto a text file. Your program should work for squares of all side sizes between 1 and 20. --- │ │ │ │ │ │ ---
Can non graphic characters be used and processed in C++?
What is the sequence of destruction of local objects?
How can you create a virtual copy constructor?
What is c++ array?
What are the restrictions apply to constructors and destructors?
How do you declare A pointer to a function which receives nothing and returns nothing
What are vtable and vptr?
Is it legal in c++ to overload operator++ so that it decrements a value in your class?
What is scope in c++ with example?