Bottom-Up Model and Top-Down Model
Top-Down Design Model:
In the top-down model, an overview of the system is formulated
without going into detail for any part of it. Each part of it then
refined into more details, defining it in yet more details until the
entire specification is detailed enough to validate the model. if we
glance at a haul as a full, it’s going to appear not possible as a result
of it’s so complicated
1. We break the problem into parts,
2. Then break the parts into parts soon and now each of parts
will be easy to do.
Advantages:
Breaking problems into parts help us to identify what needs
to be done.
At each step of refinement, new parts will become less
complex and therefore easier to solve.
Parts of the solution may turn out to be reusable.
Breaking problems into parts allows more than one person
to solve the problem.
Bottom-Up Design Model:
In this design, individual parts of the system are specified in detail.
The parts are linked to form larger components, which are in turn
linked until a complete system is formed. Object-oriented language
such as C++ or java uses a bottom-up approach where each object
is identified first.
Advantage:
Make decisions about reusable low-level utilities then decide
how there will be put together to create high-level
construct. ,
The contrast between Top-down design and bottom-up design.
S.
TOP DOWN APPROACH BOTTOM UP APPROACH
No.
In this approach We focus on In bottom up approach, we solve smaller
breaking up the problem into problems and integrate it as whole and
1. smaller parts. complete the solution.
Mainly used by structured Mainly used by object oriented
programming language such as programming language such as C++,
2. COBOL, Fortran, C, etc. C#, Python.
Each part is programmed
separately therefore contain Redundancy is minimized by using data
3. redundancy. encapsulation and data hiding.
In this the communications is less In this module must have
4. among modules. communication.
It is used in debugging, module
5. documentation, etc. It is basically used in testing.
In top down approach, In bottom up approach composition
6. decomposition takes place. takes place.
In this top function of system In this sometimes we can not build a
7. might be hard to identify. program from the piece we have started.
In this implementation details may This is not natural for people to
8. differ. assemble.