Introduction to algorithm
Answers
Answer:
Hey
The word Algorithm means “a process or set of rules to be followed in calculations or other problem-solving operations”. Therefore Algorithm refers to a set of rules/instructions that step-by-step define how a work is to be executed upon in order to get the expected results.
Hope this helps you if yes ,mark me as brainliest
Introduction of an algorithm:
The word algorithm means" a process or set of rules to be followed in calculations or other problem-solving operations". Therefore algorithm refers to a set of rules/ instructions that step-by-step define how a work is to be executed upon in order to get the expected results. The algorithm designed is language-independent, ie. they are just plain instructions that can be implemented in any language, yet the output will be the same, as expected.
Characteristics of an algorithm:
- Clear and unambiguous
- Well-defined inputs
- Well-defined outputs
- Finiteness
- Feasible
- Language independent
Advantages:
- It is easy to understand.
- Algorithm is a step-wise representation of a solution to a given problem.
- In the algorithm the problem is broken down into smaller pieces or steps hence, it is easier for the programmer to convert it into an actual program.