Difference between Top down and bottom up approaches for a
given project ?
Answer Posted / koteraj
Top down design proceeds from the abstract entity to get to
the concrete design. Bottom up design proceeds from the
concrete design to get to the abstract entity.
Top down design is most often used in designing brand new
systems, while bottom up design is sometimes used when one
is reverse engineering a design; i.e. when one is trying to
figure out what somebody else designed in an existing system.
Bottom up design begins the design with the lowest level
modules or subsystems, and progresses upward to the main
program, module, or subsystem. With bottom up design, a
structure chart is necessary to determine the order of
execution, and the development of drivers is necessary to
complete the bottom up approach.
Top down design, on the other hand, begins the design with
the main or top-level module, and progresses downward to the
lowest level modules or subsystems.
Real life sometimes is a combination of top down design and
bottom up design. For instance, data modeling sessions tend
to be iterative, bouncing back and forth between top down
and bottom up modes, as the need arises.
Is This Answer Correct ? | 105 Yes | 35 No |
Post New Answer View All Answers
What is a base class?
What is std :: flush?
Which function should be used to free the memory allocated by calloc()?
Define stacks. Provide an example where they are useful.
What is the exit function in c++?
can any one help to find a specific string between html tags
which is changed to a sting..
weather.html looks (for location) is
How the programmer of a class should decide whether to declare member function or a friend function?
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.
---
│ │
│ │
│ │
---
Write a program which is required to process the time of a
clock in hours and minutes, entered from the keyboard. With
this program, there are two requirements for any data
entered by a user:
1. The data must be of the correct type (in this case, two
ints).
2. The data must be in the correct range: this means that,
for the minutes, negative numbers and any number above 59
must be rejected; for the hours, negative numbers and any
number above 23 must be rejected.
Output error message for invalid data input.
Output the time one and a half hour after the time input.
i.e.
Hour: 22
Min: 32
One and a half hour after 22:32 is 00:02
Explain selection sorting? What is a constant reference? If a base class declares a function to be virtual, and a derived class does not use the term virtual when overriding that class, is it still virtual when inherited by a third-generation class? Write a function that swaps the values of two integers, using int* as the argument type? Why do we use double in c++? What does override mean in c++?