• An algorithm is a step by step process to solve a problem using a finite number of steps. Algorithms are used in mathematical computing etc to carry out calculations or data processing. • The algorithm is developed using pseudocode. • Pseudocode: It is an artificial and informal language that helps programmers to develop algorithms. • Pseudocode programs are not executed on computers but they are used in developing algorithms. The algorithms must satisfy the following properties Properties of Algorithms • Input – the algorithm must accept zero or more inputs. • Output - must produce at least one output. • Definiteness -Each instruction is clear. • Finiteness -An algorithm should terminate after a finite number of steps. It should not enter into an infinite loop. • Effectiveness – Each operation must be simple and should complete in a finite time algorithm : examples of algorithms: 1.Addition of two numbers Step 1: Start St...
one place to find program exercise.


Comments
Post a Comment