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

Senior High School - Algorithms and Programming

Uploaded by

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

Senior High School - Algorithms and Programming

Uploaded by

erickjevelin
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 5

ALGORITHMS AND

PROGRAMMING
Definition of Algorithm

 An Algorithm is a structured collection of instructions implemented in the form of a


computer program to solve a particular computing problem.

There are two ways to present algorithm :

 Flowchart
 Pseudocode

 So we create some instructions where we sequence the instructions in a structured


manner in the form of a programming language, and of course the contents of the
instructions are an idea for solving a problem.
Flowchart

 Flowchart is made in the form of a flow of symbols starting from a starting point to the end
point of the program.

So we will describe the instructions that we have created


using a symbol from the flowchart
Flowchart Symbols and their meaning
Flowline Direction that shows the flow of the program from start to finish

Terminator The starting point or ending point of a program

Process Computational activity carried out by a program, for example : arithmetic


operations

The branching point where one of the branches can be traversed by the program
Decision
based on a condition

Input / Symbolizes an activity or other process that has been previously defined
Output

Predefined The branching point where one of the branches can be traversed by the program
Process based on a condi
Connector Used to connect a point on a flowchart to another point on the same page

Off-page Used to connect a point on a flowchart to another point on the different page,
Connector It is used when other diagrams are complex enough that they cannot be drawn
on one page

You might also like