Chapter 1: Flowchart

Definition

A flowchart is a diagrammatic representation that illustrates the sequence of operations to be performed to arrive at the solution.

Why is it needed

  1. Are easier to understand at a glance than a narrative description

  2. Assist in reviewing and debugging of a program

  3. Provide effective program documentation

  4. Help in the discussion of a solution with others or in explaining the program to others.

 

Example

A man asked a robot:

Take this 50 paisa coin, go to the post office and if available, buy two 25 paisa tickets.

The flowchart of the above job will be like this: