Computer Science, asked by sanu4612, 7 months ago

Write any ruls of algorithm

Answers

Answered by Anonymous
18

➠ AnSwer :-

When we are going to create an algorithms, the following points must be keep in mind:

Input:-

There should be some inputs which can be applied in algorithm.

Output:-

At least one result is to be produced.

Definiteness:-

Each step must be clear and unambiguous.

Finiteness:-

If we trace the steps of an algorithm, then for all cases, the algorithm must terminate after a finite number of steps.

Effectiveness:-

Each step must be sufficiently basic that a person using only paper and pencil can in principle carry it out. In addition, not only each step is definite, it must also be feasible.

Comment Session:-

Comment is additional info of program for easily modification. In algorithm comment would be appear between two square bracket .

For example: this is a comment of an algorithm.

Similar questions