Algorithms

Algorithm

- Finite sequence of instruction

- To accomplish a task

- Input: Zero or more; Externally supplied

- Output: At least one

- Definiteness: Clear and unambiguous

- Finiteness: Must terminate after finite number of steps

- Effectiveness: Instruction can be done with paper and pencil