English
Tamil Nadu Board of Secondary EducationHSC Science Class 12

Explain the characteristics of an algorithm. - Computer Science

Advertisements
Advertisements

Question

Explain the characteristics of an algorithm.

Answer in Brief

Solution

  1. Input – Zero or more quantities to be supplied.
  2. Output – At least one quantity is produced.
  3. Finiteness – Algorithms must terminate after a finite number of steps.
  4. Definiteness – All operations should be well defined. For example, operations involving division by zero or taking square root for negative numbers are unacceptable.
  5. Effectiveness – Every instruction must be carried out effectively.
  6. Correctness – The algorithms should be error-free.
  7. Simplicity – Easy to implement.
  8. Unambiguous – The algorithm should be clear and unambiguous. Each of its steps and its inputs/outputs should be clear and must lead to only one meaning.
  9. Feasibility – This should be feasible with the available resources.
  10. Portable – An algorithm should be generic, independent of any programming language or an operating system able to handle all range of inputs.
  11. Independent – An algorithm should have step-by-step directions, which should be independent of any programming code.
shaalaa.com
Introduction to Algorithmic Strategies
  Is there an error in this question or solution?
Chapter 4: Algorithmic Strategies - Evaluation [Page 45]

APPEARS IN

Samacheer Kalvi Computer Science [English] Class 12 TN Board
Chapter 4 Algorithmic Strategies
Evaluation | Q 1. | Page 45
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×