Professional Documents
Culture Documents
Algorithms
Algorithms
WHAT IS A PROGRAM?
Also step by step procedure for solving the problem
Characteristic of algorithm
1. 1.Input (nekoi alhoritmi moze nema da imaat input – zero od more input
2. Output – algorithm muste generate at least one output
3. Definitness – every statement should have a single meaning, must be human readable – must be
understood by the human
4. Finitness – algorithm may have 1 statement or 1000 statements but must have finite set of
statements
5. Effectivness – don’t write unnecessary statements