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

Explain the paging unit, Explain the Paging Unit Paging mechanism funct...

Explain the Paging Unit Paging mechanism functions with 4K - byte memory pages or with a new extension available to Pentium with 4M byte-memory pages. In Pentium, with new 4M-b

Write a subroutine in c for toggling the cursor, Write a subroutine in C fo...

Write a subroutine in C for toggling the cursor using old directives. ; ; use small memory model for C - near code segment _DATA SEGMENT WORD   'DATA'   CURVAL EQU   [B

Why object oriented development not only allows reuse, Why object oriented ...

Why object oriented development not only allows reuse In a wider way we can say that object oriented development not only allows reuse and information sharing within an applica

Boolean algebra, Boolean algebra. Boolean algebra mathematical method ...

Boolean algebra. Boolean algebra mathematical method based on human reasoning. In Boolean algebra only two states exist; true and false which are written as 1 (true) and 0 (fa

Measuring and improving cache performance, Measuring and Improving Cache Pe...

Measuring and Improving Cache Performance: 1. Reduce the possibility that 2 different memory block will contend for the similar cache location 2. Additional cache levels

Hypothetical reliable data transfer protocol, the c code for hypothetical r...

the c code for hypothetical reliable data transfer protocol

What is micro operation, What is micro operation? A micro operation is ...

What is micro operation? A micro operation is an elementary operation performed with the data kept in registers.   1) Register transfer microoperation transfer binary inform

ERP, ERP usage in real world

ERP usage in real world

Determine what part of global array to work on thread number, Q. Determine ...

Q. Determine what part of global array to work on thread number? #include void subdomain(float x[ ], int istart, int ipoints) { int i; for (i = 0; i x[istart+

Pebble merchant, c programming code for pebble merchant

c programming code for pebble merchant

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