Social Sciences, asked by mtahanafis2837, 1 year ago

How many advartages of alogrithm in c language?

Answers

Answered by bhoomi10
0
An algorithm is a formula or set of steps for solving a particular problem. To be an algorithm, a set of rules must be unambiguous and have a clear stopping point.

Advantages -

it is a step-by-step rep. of a solution to a given prblem ,which is very easy to understand.it easy to first develope an algorithm,&then convert it into a flowchart &then into a computer program.it is easy to debug as every step is got its own logical sequence.

Disadvantages-
it is time consuming & cubersome as an algorithm is developed first which is converted into flowchart &then into a computer program.

characteristics -

1. Finiteness : An algorithm must terminate after a finite number of steps and further each steps must be executable in finite amount of time. 
2. Each step of an algorithm must be precisely defined; the action to be carried out must be rigorously and unambiguously specified for each case. 
3. Input: An algorithm has zero or more, but only finite number of inputs. 
zero input example: ASCII chart of 0-255 
4. Output: An algorithm has one or more output.

Similar questions