You are on page 1of 6

WRITING AN

ALGORITHM
PSEUDOCODE AND
FLOWCHART
What is Algorithm?
 Is a step by step procedure to solve problem.
Its makes the whole procedure more efficient
as well as consistent. Its also helps in
identifying decision point, processes and
essential variables to solve the problem. A
programmer can also see and determine
easily the errors in a particular process using
algorithm.
PSEUDOCODE FLOWCHART

 Is a description of an
algorithm using natural
language, which makes
 Is a diagram representing
reading of the program
the logical sequence in
easier.
which a combination of
steps or operation is to
 Its uses short English like
be performed.
statement to write codes
for programs before
actually create it in a
specific Language
Basic Symbols used in Flowchart

 This is used in declaring the beginning


TERMINATOR and end of the flowchart. It is labeled
with the word “Start” or “End”

 This is used if the flowchart needs input


INPUT /
from the user or output from the
OUTPUT
process

 This is used to process data, normally


PROCESS composed of mathematics symbol.
Basic Symbols used in Flowchart

 If the procedure leads to a


DECISION comparison, which involves logical
or relational operators and
question that is answerable by a
“YES” or a “NO”.

 Is a connecting flowchart within the


ON- PAGE
CONNECTOR same page.
Basic Symbols used in Flowchart

 If the procedure leads to a


OFF- PAGE comparison, which involves logical
CONNECTOR or relational operators and
question that is answerable by a
“YES” or a “NO”.

 Arrows- declare the flow of the process.

You might also like