What are the properties of an algorithm?

Answer

An algorithm is written in simple English and is not a formal document. An algorithm must:

- be lucid, precise and unambiguous
- give the correct solution in all cases
- eventually end

Also note it is important to use indentation when writing solution algorithm because it helps to differentiate between the different control structures.

Answer

An algorithm is written in simple English and is not a formal document. An algorithm must:

- be lucid, precise and unambiguous
- give the correct solution in all cases
- eventually end

Also note it is important to use indentation when writing solution algorithm because it helps to differentiate between the different control structures.

ANSWER

1) Finiteness: - an algorithm terminates after a finite numbers of steps.

2) Definiteness: - each step in algorithm is unambiguous. This means that the action specified by the step cannot be interpreted (explain the meaning of) in multiple ways & can be performed without any confusion.

3) Input:- an algorithm accepts zero or more inputs

4) Output:- it produces at least one output.

5) Effectiveness:- it consists of basic instructions that are realizable. This means that the instructions can be performed by using the given inputs in a finite amount of time.

Improve Answer Discuss the question "What are the properties of an algorithm?" Watch Question

First answer by ID979968163. Last edit by Manmeeet. Contributor trust: 8 [recommend contributor]. Question popularity: 11 [recommend question]

Research your answer:

Answers.com > Wiki Answers > Categories > Technology > Computers > Computer Programming > What are the properties of an algorithm?

Our contributors said this page should be displayed for the questions below. (Where do these come from)
If any of these are not a genuine rephrasing of the question, please help out and edit these alternates.
Properties of algorithm?  Properties of an algorithm?  Other properties of algorithm?  What are properties of an algorithm?  What are the properties of algorithm?  Properties of algorithm with examples?  What are the 5 properties of algorithm?  Differance between program and algorithm?  What are the six properties of algorithm?  What are the six properties of an algorithm?  Definition of all properties of an algorithm?  What are the important properties of algorithm?  What are the different properties of algorithm?  What are the properties of a computer algorithm?  What are the properties that an algorithm should posses?  Why do you need to have the properties in every algorithm?  What is the relationship between datastructures and algorithm?