Introduction Algorithm

Hi Guys, To run Information Systems usually have to use the application, and the application process known as programming, in making an application would should master the algorithms and programming language will be used

This time we will learn / review of the algorithm before entering into the subject matter of Java. What is the Algorithm? When you want to do something, you are not directly mengimplemetasikan algorithm. The steps you take to achieve a goal can be translated into an algorithm. An example is when you want to eat, then you will take several steps in sequence. Starting from taking a plate and spoon, then you will take the rice and put it into your plate. Followed by spooning rice mouthful by mouthful into your mouth, and this is done until you run out of rice in a plate. The algorithm is a set of instructions that the ordered and clear and detailed to describe the process to achieve the desired output from a given input.

Example Algorithm

The examples above show an algorithm to operate the calculator to calculate the sum of the number entered. Starting from turning on the calculator, then pressing the clear button (C) to ensure that the calculation starts from 0. A loop in which the instruction given is about inputting figures who want to add up. The move consists of lawyer-entry's the number of dollars, followed by a decimal point (.), The number of cents, and ends with a plus sign (+) to add. After all the numbers have been entered, the calculator will display the results of the sum. In the end step will end with the deadly calculator.
An algorithm surely have an input and no output destination. In addition it should also be clear terdefiniskan algorithm. A good algorithm should be clear, precise and unambiguous. Besides the algorithm itself must provide the correct solution for all cases, and tentutnya must have an end.

Are you ready to learn Program Languange???


Thanks for your comment
Technology Blogs
blog directory