COMP1. L1. Algorithm
COMP1. L1. Algorithm
Prepared by:
GEMMA D. BELGA
E s E T Fa c u l t y
ALGORITHM
Lesson 1
Algorithm
• is a finite set of instructions or logic, written in order, that tha
machine follows to accomplish a certain task.
• not the complete code or program, it is just the core
logic(solution) of a problem, which can be expressed either as
an informal high level description as pseudocode or using
a flowchart.
Pseudocode
• https://www.geeksforgeeks.org/difference-between-algorithm-
pseudocode-and-program/
• https://www.merriam-webster.com/dictionary/pseudocode
• https://www.unf.edu/~broggio/cop2221/2221pseu.htm