Powerpoint Lesson2
Powerpoint Lesson2
FLOWCHART AND
PSEUDOCODE
ALGORITHM
An algorithm is defined as a sequence of steps to
solve a problem(task).
An algorithm is also defined as a plan to solve a
problem and represents its logic.
What is a Flowchart?
It is a picture (graphical representation) of the problem solving
process.
A flowchart gives a step-by-step procedure for solution of a problem.
Elements of a flowchart: •
Various geometrical shaped boxes represent the steps of the
solution.
The boxes are connected by directional arrows to show the flow of
the solution.
Uses of a flowchart:
To specify the method of solving a problem. •
To plan the sequence of a computer program.
Communicate ideas, solutions.
Common Flowchart Symbols
Terminator: An oval flow chart shape indicating the start
or end of the process.
Process: A rectangular flow chart shape indicating a normal
process flow step.
Decision: A diamond flow chart shape indication a branch
in the process flow.
Connector: A small, labeled, circular flow chart shape used
to indicate a jump in the process flow.