Let’s do some flowchart

Flowchart is the first step towards any programming language. Before starting to learn any programming language you have to make sure that you are capable to verify the logic of whatever you do in your day to day life. Flowchart builds up that ability to make your logics stronger because in every flowchart you have to do every task separately. If you can learn flow charts carefully it can be ensured that you will be able to learn JAVA or any other language faster.

Let’s look at some basics of flowchart:

What is flow chart? Flowchart is a diagram of the sequence of operations in a computer program or an accounting system. (Source: http://wordnetweb.princeton.edu/perl/webwn ) A flowchart is a common type of diagram that represents an algorithm or process showing the steps as boxes of various kinds, and their order by connecting these with arrows. (Source: Wikipedia)

  • Flowcharts contains flow of logic/task/process/operation in deferent shapes
  • There are connectors between shapes
  • Deferent shapes are used for the determination of deferent operation. For example: when you are taking an input the shape would be parallelogram, and if you want to take a yes, no decision the shape would be like diamond
  • Every flowchart has its own pseudo-code. This code is the typed version of the flowchart.

Now let’s see which shape is used to serve which purpose:

parallelogram

This parallelogram is used to take either an input or an output.

rectangular

This rectangular shape is used to determine the variables and the values of them.

diamond_shape

This diamond shape is used to take a ‘if’ decision like yes, no decision

line

This arrow shape is used to show up the flow of the flowchart; order of the flowchart.

The name of this circle shape is 'connector'. This connector connects the operations with each other.

rrs

rounded rectangular shapes are used to determind the starting and the ending point of the flowchart