How to use flow chart diagram or programming chart

Learning a flowchart makes programming easy, We have discussed the algorithm before, Now let’s see what is a flow chart or programming chart. The flowchart is a diagram which visually presents the flow of data through processing systems. This means by seeing a flow chart one can know the operations performed and the sequence of these operations in a system.

Algorithms are nothing but a sequence of steps for solving problems. So a flow chart can be used for representing an algorithm. A flowchart will describe the operations (and in what sequence) are required to solve a given problem. You can see a flow chart as a blueprint of a design you have made for solving a problem.

programming chart diagram
How to use a flow chart



For example, suppose you are going for a picnic with your friends then you plan for the activities you will do there. If you have a plan of activities then you know clearly when you will do what activity. Similarly when you have a problem to solve using a computer or in another word you need to write a computer program for a problem then it will be good to draw a flowchart prior to writing a computer program. A flowchart is drawn according to defined rules.

Programming chart diagram – Flowchart Symbols

There are 6 basic symbols commonly used in flowcharting of assembly language Programs:
Terminal, Process, input/output, Decision, Connector, and Predefined Process. This is not a complete list of all the possible flowcharting symbols, it is the ones used most often in the structure of Assembly language programming.
flow chart diagram in programming
Process – Indicates any type of internal operation inside the Processor or Memory.
input/output – Used for any Input / Output (I/O) operation. Indicates that the computer is to obtain data or output results.
Decision – Used to ask a question that can be answered in a binary format (Yes/No, True/False)
Connector – Allows the flowchart to be drawn without intersecting lines or without reverse flow.
Predefined Process – Used to invoke a subroutine or an Interrupt program.
Terminal – Indicates the starting or end of the program, process, or interrupt program
Flow Lines – Shows the direction of flow.

General Rules for flowcharting

  • All boxes of the flowchart are connected with Arrows. (Not lines)
  • Flowchart symbols have an entry point on the top of the symbol with no other entry points. The exit point for all flowchart symbols is on the bottom except for the Decision symbol.
  • The Decision symbol has two exit points; these can be on the sides or the bottom and one side.
  • Generally, a flowchart will flow from top to bottom. However, an upward flow can be shown as long as it does not exceed 3 symbols.
  • Connectors are used to connect breaks in the flowchart. Examples are:
  1.  From one page to another page.
  2.  From the bottom of the page to the top of the same page.
  3.  An upward flow of more than 3 symbols
  • Subroutines and Interrupt programs have their own and independent flowcharts.
  • All flow charts start with a Terminal or Predefined Process (for interrupt
  • programs or subroutines) symbol.
  • All flowcharts end with a terminal or a contentious loop.

Flowcharting uses symbols that have been in use for a number of years to represent the type of operations and/or processes being performed. The standardized format provides a common method for people to visualize problems together in the same manner. The use of standardized symbols makes the flow charts easier to interpret, however, standardizing symbols is not as important as the sequence of activities that make up the process.

Some simple Flow chart problems

Problem 1: Draw a Flow chart to Find the area of a circle of radius r.

simple flow chart - programming chart example

Problem 2: Flowchart for an algorithm which gets two numbers and prints sum of their value.

Some complex flowchart problems

Problem 3: Algorithm for find the greater number between two numbers.

flow chart - programming chart example

Problem 4: Flowchart for the calculate the average from 25 exam scores.

flow chart - programming chart example

Advantages of using Flowcharts (programming chart)

The advantages of Flowcharts are as follows:

  1. Communication: A Flowchart can be used as a better way of communication of the logic of a system and steps involve in the solution, to all concerned particularly to the client of system.
  2. Effective analysis: A flowchart of a problem can be used for effective analysis of the problem.
  3. Documentation of Program/System: Program flowcharts are a vital part of a good program documentation. Program document is used for various purposes like knowing the components in the program, complexity of the program etc.
  4. Efficient Program Maintenance: Once a program is developed and becomes operational it needs time to time maintenance. With help of flowchart maintenance become easier.
  5. Coding of the Program: Any design of solution of a problem is finally converted into computer program. Writing code referring the flowchart of the solution become easy.

Share this programming chart information with every one. Thank you for reading this post. Ask your questions in comment section.


Related Articles

Leave a Comment