Posts

Showing posts with the label Algorithm

Write about Alogrithm

Question: Write about Algorithm. Answer: Algorithm is a sequence of precise and unambiguous instructions solving a problem infinite number of operations; these instructions are in use language i.e. independent of any programming language. Characteristics- An algorithm represents the logic of the processing be performed. However, in order to qualify as an algorithm, a sequence of instructions must process the following characteristics: Each and every instruction should be precise and unambiguous. Each instruction should be such that it can be performed in a finite time. One or more instructions should not be repeated infinitely. This ensures that the algorithm will ultimately terminate. After performing the instructions that are after the algorithm terminate the desired results must be obtained. Properties: the following are the important properties of an algorithm An algorithm should terminate after a finite number of steps. Means that when it is executed,...