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

What is state and state diagram, What is state and state diagram? A sta...

What is state and state diagram? A state is an abstraction of values and links of an object. Set of values and links are grouped together into a state according to the group be

Networking, how to connect a home network

how to connect a home network

State about the mainframe computer, Mainframe computer Mainframe comput...

Mainframe computer Mainframe computers are very large, often can fill an entire room. They can store a large amount of information, can execute many tasks at the same time, can

Explain instruction cycle and execution cycle, Q Explain Instruction cycle ...

Q Explain Instruction cycle and Execution cycle. and also explain Instruction Counter, Memory Address Register and Memory Buffer Register.

Sequential execution of instructions in risc, Q. Sequential Execution of In...

Q. Sequential Execution of Instructions in RISC? Let's describe pipelining in RISC with an illustration program execution sample. Take the given program (R denotes register).

Secure systems development, Write an academic report on a significant softw...

Write an academic report on a significant software security exploit you have studied. Your report should include details such as, for example: The nature of the software vuln

What do you mean by complexity of an algorithm, What do you mean by complex...

What do you mean by complexity of an algorithm? The term complexity is used to define the performance of an algorithm. Typically performance is calculated in terms of time or s

Explain direct memory access, Explain Direct Memory Access. A modest en...

Explain Direct Memory Access. A modest enhances in hardware enables an IO device to transfer a block of information to or from memory without CPU intervention. This task needs

Operating systems, Consider the state transition diagram of Figure 3.9b . S...

Consider the state transition diagram of Figure 3.9b . Suppose that it is time for the OS to dispatch a process and that there are processes in both the Ready state and the Ready/S

Programming , Adavantages and disadvantages of compilers and interpreters

Adavantages and disadvantages of compilers and interpreters

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