A set of rules used to define or perform a task or solve a specific problem.
Algorithms are comprised of steps with exactly one starting point and one end point. Each step must precisely specify an action, but there may be alternative routes through the Algorithm. Various nodes occur at which decisions must be made. Each decision is decided by questions which can be answered "yes" or "no". The decision directs the route to another step or solution. In computer science, Algorithms are used to process data or perform calculations. Flowcharts can provide visual representations of Algorithms.