A flowchart is a representation of a decision sequence or algorithm. A flowchart is a series of pictures that show how to proceed in order to solve a problem. It is called a flowchart because it shows the flow of the program. The function of flowchart is to show the steps of decision sequence or algorithm in the form of diagram.
Flowcharts have to be drawn using several geometric figures of different shapes. Flowchart helps to understand the nature of the program. Programs are composed depending on the flowchart.
Characteristics of Flowchart
- Easily understand the purpose of the program.
- Helps diagnose program errors.
- Assists in program writing.
- Assists in program modification and enhancement.
- Complex programs can be written easily and concisely.
Rules for Creating Flowchart
- Conventional symbols should be used to draw flowcharts.
- Arrows should indicate flow from top to bottom or left to right.
- When designing a flowchart, the fewer the connection symbols, the better.
- The flowchart should be easy to understand.
- Flowcharts should not be written in a specific programming language.
- If the marks are small or big, there is no damage, but the shape should be correct.
- Comments should be given with marks if necessary.
- Multiple flow lines intersect but do not imply any logical relationship between them.
- If a detailed description of a part of the flowchart is required, separate flowcharts can be used for that part.
- Flowcharts should be drawn on one page as far as possible. If more than one page is required, the previous page should be marked as used for the pre-determined process.