Advantage of Flowchart
Advantage of Flowcharts
The following benefits maybe obtained when flowchart are used for the purpose of program planning:
- Better Communication: A flowchart is a pictorial representation of a program. Hence, it is easier for a programmer to explain the logic of a program to some other programmer, or to his/her boss through a flowchart, rather than the program itself.
- Proper Program Documentation: Program documentation involves collecting, organizing, storing and otherwise maintaining a complete historical records of other documents associated with a system. Good documentation is needed for the following reasons:
a) Documented knowledge belongs to an organization, and does not disappear with the departure (resignation/retirement) of a programmer.
b) If projects are postponed, documented work will not have to be duplicated.
c) If programs are modified in future, the programmer will have a more understandable record of what was originally done.
d) Flowcharts often provide value able documentation support. - Efficient Coding: Once a flowchart is ready, programmers find it very easy to write the corresponding program, because the flowchart acts as a road map for them. It guides them to go from the starting point of the program to the final point, ensuring that no steps are omitted. The ultimate result is an error-free program, developed at a faster rate.
- Systematic Debugging: A flowchart is very helpful in detecting, locating, and removing mistake(bugs) in a program in a systematic manner, because programmers find it easier to follow the logic of the program in flowchart form. The process of removing errors ( bugs) in a program is known as debugging.
- Systematic Testing: Testing is the process of confirming whether a program will successfully do all the jobs for which it has been designed under the specified constraints. For testing a program, different sets of data are fed as input to that program to test the different paths in the program logic.
A flowchart proves to be very helpful in designing the test data for systematic testing of programs.
Comments
Post a Comment