You are on page 1of 2

Mariano, Rhowie Adrian H. (Prelim Grade - 1.

75)
12:10 – 1:10 MWF / BME 1-E
BBC1103_Business Analytics (Data Warehousing)
Algorithm Function
First is that algorithms are operations that we can perform on different data structures
and it is the set of instructions for executing them.
An algorithm is a step-by-step technique that specifies a collection of instructions that
must be carried out in a specific order to get the desired result. Algorithms are often
written without regard to the underlying programming languages; that is, an algorithm
can be written in more than one computer language.
It means to say that Algorithm functions as a core in a data structure because of how it
is connected to the inputs and outputs of a data.
Example: Let’s say that you wanna find the shortest path from home to school
Home - Bus - School
Home - Shop A - Shop B - School
Home - Shop B – School
In here we see options that may find the shortest path from home to school but it is hard
to find a solution, and in this case the algorithm functions as to find many options or
instructions such as locate the places you can go from home, find all paths to each of
the place, keep track or note the disctance you’ve traveled from home to school,
compare and contrast the location and distance and find the shortest path.
Algorithm function is all about setting sets of instructions and options in the data
structure and it can also be a recipe and a description of a variety set of steps for
performing and executing different types of tasks in a technological way.

You might also like