What is an algorithm? What are its characteristics?
please also write characteristics
Answers
Answered by
2
Answer:
Characteristics of an Algorithm
Each of its steps (or phases), and their inputs/outputs should be clear and must lead to only one meaning. Input − An algorithm should have 0 or more well-defined inputs. Output − An algorithm should have 1 or more well-defined outputs, and should match the desired output.
Explanation:
Hope you will like it.
Please mark me as Brainliest.
Answered by
2
Answer:
Algorithm is a step by step procedure, which defines a set of instructions to be executed in certain order to get the desired output.
- An algorithm are generally analyzed on two factors − time and space. That is, how much execution time and how much extra space required by the algorithm.
Following are the characteristics of Algorithm:
- Unambiguous − Algorithm should be clear and unambiguous. Each of its steps (or phases), and their inputs/outputs should be clear and must lead to only one meaning.
- Input − An algorithm should have 0 or more well-defined inputs.
- Output − An algorithm should have 1 or more well-defined outputs, and should match the desired output.
- Finiteness − Algorithms must terminate after a finite number of steps.
- Effectiveness- It is measured in terms of time and space.
Hope you will like it.
Please mark me as Brainliest.
Similar questions