Algorithm is a set of well defined rules for the solution of a problem in finite number of steps. What are the major considerations in design of algorithm ?

CS Professional · Information Technology and Systems Audit · PYQS · June 2019
Algorithm is a set of well defined rules for the solution of a problem in finite number of steps. What are the major considerations in design of algorithm ?

Answer & Explanation:

Following are the major considerations in the design of algorithms An algorithm must have a beginning and an end. The non ambiguity requirement for each step of an algorithm cannot be compromised. The range of inputs for which an algorithm works has to be specified carefully. The same algorithm can be represented in several different ways. Several algorithms for solving the same problem may exist. Algorithms for the same problem can be based on very different ideas and can solve the problem with dramatically different speeds. It must terminate at a reasonable period of time.

Topics: Algorithms

Open in Interactive Practice Hub · Full Practice Hub · Chapter Weightage · More in this subject

Related Questions in this Topic