Difference between top-down and bottom-up programming, Computer Engineering

Assignment Help:

What is the difference between top-down and bottom-up, programming?

Ans: Top-down and Bottom-up Approaches

In Top-down programming approach, we begin by identifying the main modules of the program, decomposing them into their lower modules and iterating unless the desired level of detail is achieved. This is also termed as Step Wise Refinement; Beginning from an abstract design, in every step the design is refined to a more concrete level until we reach a level where no more refinement is required and the design can be executed directly, whereas in Bottom-up programming approach, modules that are needed by programs and decide how to join these modules to provide larger ones; to join those to give even larger ones, and so on, till we arrive at single big module which is the whole of the desired program. In Bottom-up approach, we require to use a lot of intuition to decide exactly what functionality a module should give. This is not the case in Top-down approach.

 


Related Discussions:- Difference between top-down and bottom-up programming

Evolutionary approaches boil down - artificial intelligence, Evolutionary a...

Evolutionary approaches boil down - artificial intelligence: In fact as we will see whether evolutionary approaches boil down to like (i) just to identify how to represent pos

Elevation of the premature ventricular contraction, As spring approaches, y...

As spring approaches, your design firm has been tasked with designing a two-lane highway in rural Wyoming. The highway descends a hill, crosses a river, and must shift to a para

Perform the subtraction using 1's complement, Perform the subtraction using...

Perform the subtraction using 1's complement of 11001 - 10110 Ans. 11001 - 10110 = X - Y                            X = 11001 1's complement of Y = 01001

Computer Graphics , What do you mean by ‘Bresenham’s him Algorithm?

What do you mean by ‘Bresenham’s him Algorithm?

Explain the do while loops, Explain The do while loops The do while loo...

Explain The do while loops The do while loops is similar, but the test occurs after the loop body is executed. This ensures that the loop body is run at least once.

Convert, haw to convert context free grammar to regular grammar

haw to convert context free grammar to regular grammar

Single instruction and multiple data stream (simd), Single Instruction and ...

Single Instruction and Multiple Data stream (SIMD) In this organisation, multiple processing elements are working under the control of a one control unit. It has multiple data

Write down the basic performance equation, Write down the basic performance...

Write down the basic performance equation? T=N*S/R T=processor time N=no.of instructions S=no of steps R=clock rate

Describe message passing model, Q. Describe Message Passing Model? In ...

Q. Describe Message Passing Model? In message-passing model there be a set of tasks which employ their own local memories at the time of computation. Many tasks may inhabit on

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd