An algorithm is a set of instructions that is designed to accomplish a task. Algorithms usually take one or more inputs, run them systematically through a series of steps, and provide one or more outputs. Algorithms are typically associated with computing and are an essential element of computer programming. Algorithms can be used to accomplish a variety of computational tasks, such as performing calculations or finding information in databases.
Algorithms can be created and used outside of computer programming as well. They can be executed manually by people or executed automatically by machines: consider performing long division manually on paper versus using a calculator to do the same operation. Users do not need to understand the inner workings of algorithms in order to use them. In fact, many algorithms used by companies are closely guarded secrets, blocking users from seeing exactly how they work.
Source: National Library of Medicine. Glossary. Online: https://www.nnlm.gov/guides/data-glossary/algorithm.
Retrieved: 2022-11-24