Page 87 - TP_Play_V2.1_class6
P. 87
Step 10 Ask for any other brand of pen.
Step 11 Go to step 6.
Step 12 Stop.
Example 2: Complete the algorithm to find sum and product of three numbers.
Step 1 Start.
Step 2 Read (Input) the three number as "a","b","c" from the user.
Step 3 Find sum = a + b + c.
Just as a peacock’s call can
Step 4 Find product = a × b × c. signal upcoming rain, computer
algorithms can predict future
Step 5 Print sum and product.
events based on data patterns.
Step 6 Stop.
Clickipedia
When we search anything on Google, it gives us result based on an algorithm written for it.
FLOWCHARTS
A flowchart is a type of graphical diagram that represents an algorithm. Flowcharts are used in
analysing, designing, documenting, or managing a process or program in various fields.
Symbols Used in Flowcharts
Different symbols are used to draw different types of flowcharts.
Symbol Name Description
Start/Stop It is used to show the start and stop points of the
Oval flowchart. It usually contains the words 'Start' or 'Stop'.
Process It shows a process or action step.
Rectangle
It represents information entering or leaving the system,
Input/Output
i.e., input and output.
Parallelogram
Decision It indicates a question or branch in the process flow.
It is used when there are 2 options (Yes/No).
Diamond
Flow Line It shows the direction in which the process flows.
Arrow
Algorithmic Intelligence 85

