Page 36 - TP_Modular_V2.1_Class5
P. 36
Example: Organise a Birthday Party
Step 1 Make a list of family members
and friends to be invited.
Step 2 Decide the date, time and
place for the party.
Step 3 Inform family members and
friends about the party place
through phone calls or
e-mail.
Step 4 Make necessary arrangements like sitting, eating and entertainment.
Step 5 Greet the guest with love and warmth.
Step 6 Start and enjoy the party. Clickipedia
Step 7 Farewell to the guests.
Lady Ada Lovelace
In computer terms, 'Algorithm is
is credited for the
the sequence of steps or computer
evolution of the concept
operations which collectively solve of algorithm.
a given problem'.
Writing an Algorithm
Let us learn how to write an algorithm.
Algorithm to find product, sum and difference of two numbers
Step 1 Start.
Step 2 Read two numbers and store them in A and B.
Step 3 Multiply two numbers A and B.
Step 4 Print the product.
Step 5 Add two numbers A and B.
Step 6 Print the sum.
Step 7 Subtract the number B from the number A.
Step 8 Print the difference.
Step 9 Stop.
Algorithm to find the smallest in two numbers A and B.
Step 1 Start.
Step 2 Read two numbers and store them in A and B.
34 Modular (Ver. 2.1)-V

