L2 - Flow Chart & Algorithm
L2 - Flow Chart & Algorithm
Algorithm
Key features of flow charts
It is a diagrammatic representation of computation.
2
Basic Flowchart Symbols – contd..
Connector Symbol
Indicates that the flow continues where a matching
symbol (containing the same letter) has been placed.
Subroutine Symbol
Indicates a sequence of actions that perform a specific task
embedded within a larger process. This sequence of actions
could be described in more detail on a separate flowchart.
3
Representation of computation
4
Basic Flowchart Symbols
5
Basic Flowchart
6
Algorithm and Flowchart for area of the circle
AreaC 7
Algorithm for SI and CI
Name of the algorithm: Calculate SI and CI
9
To convert Celsius to Fahrenheit & vice versa
10
Flowchart for arithmetic operations
11
Largest of 3 Numbers contd.
12
Check whether the given no. is even or odd
13
Flowchart to find factorial of given no
14
Flowchart to find sum of natural numbers
15
Flowchart to find sum of digits of a given no
16
Largest among n numbers
17
Summary
Introduction to Flowcharts .
Introduction to Algorithms.
18