Q) Define the algorithm. what are the characteristics of the algorithm?
An algorithm is a well defined finite set of instruction that accomplishes a particular task, which may or may not take input and produce some value as output.
Following are the characteristics of the algorithm
Input Every algorithm should accept some data as input.
Output Every algorithm should product output.
Finiteness Algorithm must terminate after a finite number of steps.
Definiteness Each instruction should be clear & unambiguous.
Correctness For every input instance, it must generate the correct output.
No comments
Comment on Ishwaranand or Happy Day
Not, Add any types of links