starts.
Whereas the modular approach is designing a program to solve a particular problem is to identify the major tasks that the program must accomplish then we can break each of these fundamental, “high-level” tasks into smaller subtasks (Stewart Venit, 2004, p. 31) and this division process can be continued as long as seems necessary to identify the tasks needed to solve the given problem. This process of breaking down a problem into simpler and simpler subproblems is called top-down design; identifying the tasks and various subtasks involved in the program design is called modular programming. This modular approach is good for developing the programs effectively and efficiently. Because, if a problem happens, it can be found quickly without searching the whole module for one mistake, as done in structured approach. It’s easy to use and make changes to it (Stewart Venit, 2004, p. 32). Its also provides the code reusability. So, finally we can say that the modular approach is well-organized approach to develop programs quickly and cheaply. And when the project proceeds the changes to the projects is minimized and the uncertainty is minimized which makes this approach more efficient than haphazard approach.
A well-structured design leads, in a natural way, to well-structured, easy-to-read code. In fact, one of the goals of structured programming is to create a program that is easy for programmers to read (and understand) and for users to run. The elements of a program that affect its readability and ease of use are grouped together under the general heading of programming style.
References
[1] Extended Prelude to Programming: Concepts and Design, Second Edition (2004) by Stewart Venit.
You May Also Find These Documents Helpful
-
Well other than the way its listed in the text the way that the pythagorean theorem can be used any time is when we have a right triangle, we know the length of two sides, and we want to find the third side. A basic example I would like to use is the following which is I was in Walmart the other day and saw a nice entertainment center on sale at a good price. The space for the TV set measured 17" x 21". I didn't want to take the time to go home to measure my TV set, or get the cabinet home only to find that it was too small. I knew my TV set had a 27" screen, and TV screens are measured on the diagonal. To figure out whether my TV would fit, I calculated the diagonal of the TV space in the entertainment center using the Pythagorean theorem: 172 + 212 = 289 + 441 = 730 So the diagonal of the entertainment center is the square root of 730, which is about 27.02". From figuring that out i saw that my tv should fit, but the 27" diagonal on the TV set measures the screen only, not the housing, speakers and control buttons. These extend the TV set's diagonal several inches, so I figured that my TV would not fit in the cabinet. When I got home, I measured my TV set and found that the entire set was 21" x 27.5", so it was a good decision not to buy the entertainment center.…
- 1825 Words
- 6 Pages
Satisfactory Essays -
When simplifying radicals, there are two steps that you should follow and it is important that you do not skip either step. The steps needed to simplify radicals are to:…
- 1249 Words
- 5 Pages
Satisfactory Essays -
This document of ECO 204 Week 2 Discussion Question 1 Tax credits and the Labor market contains:…
- 446 Words
- 3 Pages
Good Essays -
A perfectly competitive industry is initially in a short-run equilibrium in which all firms are earning zero economic profits but are operating below their minimum efficient scale. Explain the long-run adjustments that will create equilibrium with firms operating at their minimum efficient scale. Why is a perfect competitive firm associated with efficiency for both consumers and businesses? Respond to at least two of your fellow students…
- 424 Words
- 2 Pages
Good Essays -
Why do accrual basis financial statements provide more useful information than cash basis financial statements?…
- 389 Words
- 2 Pages
Satisfactory Essays -
Why do you use a class instead of a structure? Are they interchangeable? Explain your answer.…
- 343 Words
- 2 Pages
Good Essays -
A credit card is often necessary, particularly if you are going to school far away from home. However, be smart about your decision. Research your options and select a card that has a low interest rate. Also, make sure there aren't any annuals fees and don't be tempted by high credit limits. Those are just a recipe for disaster.…
- 445 Words
- 3 Pages
Satisfactory Essays -
On December 7, 1941 Japan launched a surprise attack on the United States at Pearl Harbor in Hawaii. This thrust America into World War II, and for the next four years it dominated nearly every aspect of American life. Select one of the following main issues…
- 393 Words
- 2 Pages
Satisfactory Essays -
What is a distribution channel? What is the relationship between channels of distribution and logistics? How does geographical location affect your selection of distribution channels?…
- 260 Words
- 1 Page
Good Essays -
What do you think is the reasoning for not filing incident reports in medical records? Provide examples of three incidents and explain why they could be problematic in patients’ files.…
- 435 Words
- 2 Pages
Good Essays -
Integers are the natural numbers of (0, 1,2,3,4….)and the negative non zero numbers of (-1,-2,-3,-4….)and so forth. Integers are numbers without a fractional or decimal component. Example: 23, 5, and -567 are integers, 8.45, 5½, and √2 are not integers. Integers are any number that can be expressed as the ratio of two integers. All integers are rational because integers can be expressed as a ratio of itself (9= 9/1) Rational numbers (fractional numbers) are regarded as divisions of integers. All numbers that are written as non-repeating, non-terminating decimals are “irrational” Example: Sqrt(2) or PI “3.14159…” the rational and irrationals are two different number types. Real numbers include whole numbers, rational numbers, and irrational numbers. A real number can be positive or negative or zero.…
- 253 Words
- 2 Pages
Good Essays -
What technological advances in telecommunications and transportation have influenced global business in the last decade? How have these technological advances affected regional economic development?…
- 738 Words
- 3 Pages
Satisfactory Essays -
In this paperwork of SOC 203 Week 5 Discussion Question 1 The End of Easter you will find the next information:…
- 494 Words
- 2 Pages
Satisfactory Essays -
1. What are the main differences among qualitative, quantitative, and outcomes research? Under what circumstances is each type of research most appropriate? Support your answers with specific examples.…
- 277 Words
- 2 Pages
Good Essays -
Discussion Questions help students think about the assigned readings/nongraded activities and their own perspective on certain topics. DQs must be 125 to 200 words in length and use proper English.…
- 348 Words
- 2 Pages
Satisfactory Essays