Algorithm

The set and sequence of rules used to perform some calculation or solve some problem.