what is the format of the specification of an algorithm
Answers
Answer:
Algorithm Specification-Introduction in Data Structure. Input. An algorithm has zero or more inputs, taken or collected from a specified set of objec
Answer:
An algorithm is defined as a finite set of instructions that, if followed, performs a particular task. All algorithms must satisfy the following criteria
Input. An algorithm has zero or more inputs, taken or collected from a specified set of objects.
Output. An algorithm has one or more outputs having a specific relation to the inputs.
Definiteness. Each step must be clearly defined; Each instruction must be clear and unambiguous.
Finiteness. The algorithm must always finish or terminate after a finite number of steps.
Effectiveness. All operations to be accomplished must be sufficiently basic that they can be done exactly and in finite length.
Hope the answer is helpful