Monday, September 27, 2010

Flowcharts

WHAT IS A FLOWCHART?:

It is an organized combination of shapes, lines and text which graphically illustrate a process.
  • A flowchart can be used as an alternative for an algorithm
SYMBOLS USED IN FLOWCHARTS:

The following table shows a listing of different symbols used in flowcharts along with their meaning and purpose –

EXAMPLES:

1. Draw a flowchart to print the sum of two numbers.
2.  Draw a flowchart to print the average of any three numbers.
3. Draw a flowchart to print Area and Perimeter of a Square.
4. Draw a flowchart to print biggest of two numbers.
5. Draw a flowchart to check whether a number is positive, negative or zero.
6. Draw a flowchart to print biggest of three numbers.
7. Draw a flowchart to print a number ‘n’ 10 times.
8. Draw a flowchart to print all the odd numbers between 1 and n.
9. Draw a flowchart to print all the even numbers between 1 and n.

3 comments: