Question: set of rules for solving a mathematical or computational problem in finite number of steps
Answer: As an effective method , an algorithm can be expressed within a finite amount of space and time and in a well - defined formal language for calculating a function .