Header Ads Widget

Responsive Advertisement

Algorithm

Algorithm:-

Mathematical ai- knowarizmi algorithm following charactersticks:

1) input : may or may not require the input
2) output : each algorithm is expected to produce at least one result.
3) definiteness: each instructions must be clear and unambiguous.
4) finiteness: if the instructions of an algorithm are executed then the algorithm must terminate after finite number of steps.

3 control Structure of the algorithm:

1: sequence
2: selection
3: repeatition

Advantage of algorithm:
1) step by step representation makes it easy to understand

2) Algorithm uses definite procedure.

3) it is not dependent on any programming language. So it is easy to understand for everyone.

4) algorithm has its own logical sequence so it is easy to debug.




Post a Comment

0 Comments