Flowchart
A flow chart is a step by step diagrammatic representation of the logic paths to solve a given problem. Or Aflowchart is visualor graphical representation of an algorithm.
Advanatge of Flowchart
1.The flowchart shows the logic of a problem displayed in pictorial fashion which felicitates easier checking of an algorithm.
2.The Flowchart is good means of communication to other users. It is also a compact means of recording an algorithm solution to a problem.
3.The flowchart allows the problem solver to break the problem into parts. These parts can be connected to make master chart.
4.The flowchart is a permanent record of the solution which can be consulted at a later time.
|
S.No |
Algorithm |
Flowchart
|
|
1 |
A method of representing the step-by-step logical procedure for solving a problem |
Flowchart is diagrammatic representation of an algorithm. It is constructed using different types of boxes and symbols. |
|
2 |
It contains step-by-step English descriptions, each step representing a particular operation leading to solution of problem |
The flowchart employs a series of blocks and arrows, each of which represents a particular step in an algorithm |
|
3 |
These are particularly useful for small problems |
These are useful for detailed representations of complicated programs |
|
4 |
For complex programs, algorithms prove to be Inadequate or insufficient |
For complex programs, Flowcharts prove to be adequate or sufficient |
Symbols used in Flow-Charts
a. Oval: Rectangle with rounded sides is used to indicate either START/ STOP of the program.
b. Input and output indicators: Parallelograms are used to represent input and output operations. Statements like INPUT, READ and PRINT are represented in these Parallelograms.
c. Process Indicators: - Rectangle is used to indicate anyset of processing operation such as for storing arithmetic operations.
d. Decision Makers: The diamond is used for indicating the step of decision making and therefore known as decision box. Decision boxes are used to test the conditions or ask questions and depending upon the answers, the appropriate actions are taken by the computer. The decision box symbol is
e. Flow Lines: Flow lines indicate the direction being followed in the flowchart. In a Flowchart, every line must have an arrow on it to indicate the direction. The arrows may be in any direction
f. On- Page connectors: Circles are used to join the different parts of a flowchart and these circles are called on-page connectors.
g. Off-page connectors: This connector represents a break in the path of flowchart which is too large to fit on a single page
RANREV INFOTECH