Introduction to
Algorithms and
Flowcharts.
Ms. Tooba Jamil
Lesson 1
What is an algorithm?
Steps or instructions that tell
you to do any task is called
an algorithm.
How to make an algorithm?
In an algorithm you only write actions which are necessary/ important.
Below is the example shown below to make cookies.
Watch TV while the cookies are Decorate the Shape the dough in
Make the dough cookies
being baked cookies
Gather ingredients (flour, Put them in the oven to
Yummy cookies
milk, eggs, water, sugar) bake
Tidy the kitchen.
Important or necessary steps
Gather ingredients (flour, Shape the dough in
milk, eggs, water, sugar) cookies
Make the dough Decorate the
cookies
Put them in the oven to
Yummy cookies bake
START
• Actions in an algorithm/plan must be in
correct order.
• You draw an algorithm/plan by using a
flowchart.
• A Flowchart is the diagrammatic way
which shows the steps to carry out any
task.
• A flowchart contains symbols
END
START
Arrows
Input
Process
decision
Output
END
START
flour, milk, eggs, water, sugar
Make the dough
Shape the dough in cookies
Put them in the oven to bake
Decorate the cookies
Yummy cookies
END