You are on page 1of 7

Flowchart

MD. Sajiur Rahman


Definition of Flowchart

• => A flowchart is a type of diagram that represents a workflow or process. A flowchart


can also be defined as a diagrammatic representation of an algorithm, a step-by-step
approach to solving a task. The flowchart shows the steps as boxes of various kinds, and
their order by connecting the boxes with arrows.

Flowchart
Symbols and their functions in flowchart
Apply of flowcharts in programming algorithms

Problem: Find the largest of two numbers entered by the user.

• Algorithm: • Flowchart:
• Step 1: Start
• Step 2: Declare two variables n1, n2
• Step 3: If n1 is greater than n2
• Display “n1 is largest”
• else
• Display “n2 is largest”
• Step 4: Stop
Algorithm — An algorithm is a step by step procedure in order to solve a
given problem. Generally it is written in english language
Characteristics of Algorithm

•Input
•Output
•Definiteness
•Finiteness
•Effectiveness
Presentation of Algorithm

•NaturaI language description


Set of instructions written in simple English language
Flow chart
Graphical representation using symbols
•Pseudo code
Informal way of writing a program.
Not specific to any programming language.

You might also like