Algorithm:
An algorithm is a finite set of instructions to solve a particular problem (task).
Features of algorithm:
- INPUT: zero or more quantities are externally supplied.
- OUTPUT: at least one quantity is produced.
- FINITENESS: An algorithm must always terminate after a finite number of steps.
- DEFINITENESS: Each instruction is clear and unambiguous.
- EFFECTIVENESS: every instruction must be very basic so that a person using only Pencil and paper can carry it out in principle it also must be feasible.
No comments:
Post a Comment