Jump to content

What are the features of Algorithm?


ImpalaWardrobes
 Share

Recommended Posts

Key features of algorithms are:

  1. Easy to grasp - Algorithms are there to help humans to understand the solution.
  2. Correctness - This is a must have feature for all algorithms.
  3. Precision - the steps are precisely stated(defined).
  4. Finiteness - the algorithm stops after a finite number of steps.
  5. Generality - the algorithm applies to all possible distribution of inputs as stated.
Link to comment
Share on other sites

  • 2 weeks later...
  • 1 month later...
  • 8 months later...
  • 1 month later...
  • 8 months later...

Characteristics of an Algorithm:
1. Unambiguous − Algorithm should be clear and unambiguous. Each of its steps (or phases), and their input/outputs should be clear and must lead to only one meaning.
2. Input − An algorithm should have 0 or more well defined inputs.
3. Output − An algorithm should have 1 or more well defined outputs, and should match the desired output.
4. Finiteness − Algorithms must terminate after a finite number of steps.
5. Feasibility − Should be feasible with the available resources.
6. Independent − An algorithm should have step-by-step directions which should be independent of any programming code.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...