Algorithms and Programming

images (1).png

Understanding Algorithm

Initially the algorithm was invented by a mathematician from Uzbekistan called Abu Abdullah Muhammad Ibn Musa al-Khawarizmi, who was known to be an algorithm by westerners. This algorizm call is then used to refer to the concept of the algorithm it finds. In Indonesian, we call it an algorithm.
The definition of the algorithm itself is a set of steps or stages of a systematically arranged procedure that is used to solve a problem. The word algorithm is identical with program, then what is the difference algorithm with program? Program is a collection of computer instructions, while the methods and stages in the program is the algorithm.
Not all procedures can be called algorithms. An algorithm must have certain characteristics, such as,

Obviously - the algorithm should be clear and unambiguous. Every step, input (input) and output (output) must be clear and must lead to a meaning.
Input - an algorithm must have a defined input
Output - an algorithm must have more than 1 defined input, and correspond to the desired output.
Eligibility - the algorithm should be feasible with available resources
Independent - an algorithm must have a step apart from a particular programming language

Algorithms can be presented in two forms: writing and drawing. The presentation of algorithms in regular writing is called pseudocode. Pseudocode is the presentation of algorithms written similar to the actual programming code. Whereas the algorithm presented with images, including flowchart. But a flowchart is not the only way to present an algorithm with images. Other ways include:
Structure Chart
Data Flow Diagram
Warnier Diagram
Input Procces Output
Hierarchical Input Process Output
However, the flowchart is more often used to present the algorithm in the form of images. Flowchart is a graphical representation of an algotima. Using a flowchart will make it easier for us to check the forgotten part of the problem analysis. For more details please read the Election structure
So my post about understanding algorithms, may be useful for all buddies.