0% found this document useful (0 votes)
26 views

Introduction To Algorithms and Flowcharts

This document provides an introduction to algorithms and flowcharts. It defines an algorithm as a set of steps or instructions to complete a task. An example algorithm for making cookies is given that lists the necessary steps in order: 1) Gather ingredients, 2) Make the dough, 3) Shape the dough in cookies, 4) Put cookies in the oven to bake, 5) Decorate the cookies. The document explains that a flowchart is a diagram that can be used to visually represent the steps in an algorithm by using standard symbols like arrows and decision points.

Uploaded by

Sabah Imran
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
26 views

Introduction To Algorithms and Flowcharts

This document provides an introduction to algorithms and flowcharts. It defines an algorithm as a set of steps or instructions to complete a task. An example algorithm for making cookies is given that lists the necessary steps in order: 1) Gather ingredients, 2) Make the dough, 3) Shape the dough in cookies, 4) Put cookies in the oven to bake, 5) Decorate the cookies. The document explains that a flowchart is a diagram that can be used to visually represent the steps in an algorithm by using standard symbols like arrows and decision points.

Uploaded by

Sabah Imran
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 8

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

You might also like