Respuesta :
Answer:
Question: What are the advantages and disadvantages of top-down and bottom-up programming?
Answer:
Top-down programming is a process of writing programming codes that contain specific instructions for a computer to carry out the instructed task. Usually, Top-down programming comes as software that enables the division of problems that are initially complex into simpler parts. An example is a kind of software developed to give loans to worthy clients. The software may be broken down further to check the bank statements of the client, calculate the earning and spending capacity of the client, Amount paid on utilities.
Advantages of Top-down programming:
1. Top-down programming makes teamwork possible as a system is divided into sub-systems which individuals can handle separately before merging the sub-systems together.
2. Checks and testing become easy.
Disadvantages of Top-down programming:
1. Breaking systems into parts may be time-consuming as there is a need for more planning before working on individual sub-systems.
2. Error could be possible.
Bottom-up programming is a software of a method of design which is opposite to what the top-down programming does as the bottom-up programming works on the sub-systems first and then combine later into a bigger system. This makes use of the existing resources with the aim of generating a bigger result.
Advantages of Bottom-up programming:
1. Adaptability - Bottom-up programming makes adaptability easier.
2. When used in a company it gives all workers the room to make a contribution towards achieving bigger results, improving operations generally.
3. It makes one start a bigger project with the available resources.
Disadvantages of Bottom-up programming:
1. Result could be affected as some workers lack the needed experience to execute some tasks successfully.
2. Lack of desired unity among workers with differences in objectives resulting to endangering the result.
Question: How would you decide which one to use?
Answer:
It depends on the picture of how the result would look like, the goal of the organization employing it, the skill-set among workers available to do the task, the nature of the task. If a larger goal is to be achieved, smaller sub-systems could be used and joined at the end to get a system meaning bottom-up programming would be used. In cases for instance where output is to be determined for instance staff salaries, the output would be broken into simpler units to allow solutions for separate units then we could use top-down programming.
Question: Do you approach problems in your real life from a bottom-up or top-down approach?
Answer:
I approach problems from a top-down approach because it allows checks and testing easy, and the act of breaking systems into sub-systems makes it easy for me to approach each sub-system with a result-oriented plan.
Answer:
Some advantages of top-down are that you can start off from what you know and figure out what you need to complete it, the advantage to bottom-up is that you can make something new . if you are starting something from scratch and you don't know what the end goal might be you would use bottom-up but if you already have an idea or the final product of what you want you would go with the top-down approach.
- Hope this helped
- Have a great day!