Flowchart What is a Flowchart The flowchart is

  • Slides: 10
Download presentation
Flowchart

Flowchart

What is a Flowchart ? � The flowchart is a visual presentation of the

What is a Flowchart ? � The flowchart is a visual presentation of the flow of data through an information processing systems, the operations performed within the system and the sequence in which they are performed. � Flowcharts are generally drawn in the early stages of formulating computer solutions. Flowcharts facilitate communication between programmers and business people.

A simple flowchart representing a process for dealing with a non-functioning lamp.

A simple flowchart representing a process for dealing with a non-functioning lamp.

Basic flowchart Symbols and Notations � Flowcharts are usually drawn using some standard symbols;

Basic flowchart Symbols and Notations � Flowcharts are usually drawn using some standard symbols; however, some special symbols can also be developed when required. Flowchart symbol Name Description Process An operation or action step. Alternate Process An alternate to the normal process step. Terminator A start or stop point in a process. Decision A question or branch in the process. Data(I/O) Document Indicates data input and output to and from a process. A document or report. Multi-Document Multiple documents. Flow Line Indicated the flow direction.

Flowcharts examples: � Now we will present some flowchart examples on flowcharting for proper

Flowcharts examples: � Now we will present some flowchart examples on flowcharting for proper understanding of this technique: � Example 1 Draw a flowchart to find the sum of first 50 natural numbers.

� Example 2 Draw a flowchart to find the largest of three numbers A,

� Example 2 Draw a flowchart to find the largest of three numbers A, B, and C.

� Example 3 Draw a flowchart for computing factorial N (N!) Where N! =

� Example 3 Draw a flowchart for computing factorial N (N!) Where N! = 1? 2? 3? . . N.

Advantages of Flowchart � Communication. � Effective analysis. � Proper documentation. � Efficient Coding.

Advantages of Flowchart � Communication. � Effective analysis. � Proper documentation. � Efficient Coding. � Proper Debugging. � Efficient Program Maintenance.

Disadvantages of Flowchart � Complex logic. � Alterations and Modifications. � Reproduction. � The

Disadvantages of Flowchart � Complex logic. � Alterations and Modifications. � Reproduction. � The essentials of what is done can easily be lost in the technical details of how it is done.

Case Study: Medical Services.

Case Study: Medical Services.