A flowchart proves to be very helpful in designing

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: wcharts, it is obvious that they can provide valuable documentation support. 5. Efficient Coding. Once a flowchart is ready, programmers find it very easy to write the concerned 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. 6. Systematic Debugging. Even after taking full care in program design, some errors may remain in the program because the designer might have never thought about a particular case. These errors are called bugs and the process or removing these errors is known as debugging. Once a bug is detected, it is easier to find out the reason for that bug by going through the logic of the program in flowchart form. A flowchart is very helpful in detecting, locating, and removing mistakes (bugs) in a program in a systematic manner. 7. 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. For example, to test the complete logic of the program for Example 11.6, the following sets of data are necessary: - Data for a male candidate. - Data for a female candidate who has scored less than 45%. - Data for a female candidate who has exactly scored 45%. - Data for a female candidate who has scored more than 45% but less than 60%. - Data for a female candidate who has exactly scored 60%. - Data for a female candidate who has scored more than 60%. - And obviously in the end the trailer data having sentinel value. A flowchart proves to be very helpful in designing the test data for systematic testing of programs. Limitations In spite of their many obvious advantages, flowcharts have several limitations, which are as follows: 1. Flo...
View Full Document

Ask a homework question - tutors are online