Showing posts with label AlPro. Show all posts
Showing posts with label AlPro. Show all posts

March 2, 2012

Types of Algorithms



There are a variety of classification algorithms and each classification has its own reasons. One way to classify the types of algorithm is to consider the paradigms and methods used to design the algorithm. Some of the paradigm used in formulating an algorithm will be presented in this section. Each of these paradigms can be used in many different algorithms.
1) Divide and Conquer, a paradigm to divide large problems into problems of smaller ones. The division of this issue carried out continuously until it was the small problem that is easy to solve. In summary solve the whole problem by dividing a large problem and then solve the small problems that are formed.
2) Dynamic programming, dynamic programming paradigm would be appropriate if used on a problem that contains a sub-optimal structure (and contains some of the issues that overlap. Paradigm glance looks similar to the paradigm of Divide and Conquer, both trying to divide problems into smaller sub-problems, but there are intrinsic differences of character of the problems faced.
3) Method of greed. A greedy algorithm is similar to a dynamic programming, the difference between the answers of the subproblems do not need to know in each stage, and using the "greedy" what is seen best at the time.

History The term "algorithm"

The word algorithm is derived from the name of a mathematician latinisasi of Uzbekistan Al Khwarizmi (lived around the 9th century), as contained in his works in Latin translations of the 12th century "de numero Indorum Algorithmi". At first the word algorisma is a term that refers to the rules of arithmetic to solve numerical problems using Arabic numbers (actually from India, as written on the title above). In the 18 th century, the term evolved into an algorithm, which includes all procedures or a clear sequence of steps necessary to resolve a problem. Problems arise when will pour how the process that must be passed in a / a system (program) for the computer so that at the time of his execution, the computer can work as expected. Computer programmers will be more comfortable pouring computational procedure or sequence of process steps by first making a picture (flow chart) on paper.

Money retrieval algorithms in ATM



The steps for withdrawing money at an ATM that is:


- Insert your ATM card
- Select a Language
- Enter your ATM PIN
- Select the menu making cash
- Enter the nominal to be taken
- Select the correct
- Wait until your money out
- After select the button of your money out is completed
- And you pose your ATM card


Such measures for withdrawing money at ATM