Before discussing the problem of notation algorithm, we first understand the insights and the basic concepts as below:
Algorithm: the order of steps or instructions that must be implemented to solve the problem.
Flowchart: (flow chart) is a sequence of instructions that described the program in the form of a diagram.
Program: a series of instructions or commands (in a language understood by the computer) to perform certain tasks, resulting in an output / outputs expected.
Language programming: programs that contain instructions understood by computers. There are 2 classification of programming languages, namely;
1. Low-level language / low-level language oriented machines, for example: machine language / machine language and assembly language / assembly language.
2. High-level language / high-level language is a language-oriented programming in humans. For example: BASIC, PASCAL, COBOL, FORTRAN, C.
An algorithm is a description of the implementation of a process, where the algorithm was developed by a series of logical steps instructions.
The word logical is the key word in an algorithm. The steps in the algorithm must be logical, this means the result of a sequence of these steps must be determined, right or wrong. The steps that are not really able to give the wrong results.
That the algorithm is the sequence of steps or instructions that must be implemented to solve the problem. This algorithm is written in a notation called notation algorithm. Notation algorithm is the basic thing that should be known by every person who wants to make a Vocational, because in this algorithm notations are skeletons of a program. Features of a good notation algorithm that can be translated into various languages. Notation algorithm is not a programming language notation, so that anyone can make a notation different algorithms. The important thing about the notation is easy to read and understand. However to avoid kekeliriuan, adherence to the notation should be noted. Below are 3 common notation used in the writing of algorithms, namely:
1. Natural Notation
2. Flowchart / Diagram Flow
3. Pseudo-Code (such as code)
1. NOTATION NATURAL
Writing algorithms with natural notation is to write-instuksi instructions that must be implemented to solve the problem in the form of a string of descriptive phrases.
With this sentence-style notation, a description of each step is described in vivid language. The process begins with a verb such as 'read', 'count', 'for', 'change', and so on, while the conditional statement expressed by 'if ... then ...'. This notation is good for a short algorithm, but the algorithm for large problems, the notation is certainly not efficient. In addition, the notation conversion algorithm into a programming language notation tends relatively difficult.
2. Flowchart / DIAGRAM ALUR
There are 2 types of Flowchart:
a. flowchart system, is a picture that explains:
- The files are processed by the program
- Types of tools used by the file
- Operation of the file (input or output).
b. flowchart program (usually called just flowcharts), is a picture that explains the sequence:
- Reading data
- Processing of data
- Decision making on the data
- Presentation of the results of data processing
Well .... That we discussed here is a flowchart program flowchart or commonly called just.
Flowcharts / flow diagrams popular in the early era of computer programming (especially with Basic, Fortran, and Cobol). More flow diagram illustrates the flow of instructions in the program visually shows the structure of the program compared. Flowchart notation more suitable for small problems to large problems are not suitable because it requires numerous paper pages. In addition, the notation conversion algorithm into programming languages tend to be relatively difficult.
Algorithm: the order of steps or instructions that must be implemented to solve the problem.
Flowchart: (flow chart) is a sequence of instructions that described the program in the form of a diagram.
Program: a series of instructions or commands (in a language understood by the computer) to perform certain tasks, resulting in an output / outputs expected.
Language programming: programs that contain instructions understood by computers. There are 2 classification of programming languages, namely;
1. Low-level language / low-level language oriented machines, for example: machine language / machine language and assembly language / assembly language.
2. High-level language / high-level language is a language-oriented programming in humans. For example: BASIC, PASCAL, COBOL, FORTRAN, C.
An algorithm is a description of the implementation of a process, where the algorithm was developed by a series of logical steps instructions.
The word logical is the key word in an algorithm. The steps in the algorithm must be logical, this means the result of a sequence of these steps must be determined, right or wrong. The steps that are not really able to give the wrong results.
That the algorithm is the sequence of steps or instructions that must be implemented to solve the problem. This algorithm is written in a notation called notation algorithm. Notation algorithm is the basic thing that should be known by every person who wants to make a Vocational, because in this algorithm notations are skeletons of a program. Features of a good notation algorithm that can be translated into various languages. Notation algorithm is not a programming language notation, so that anyone can make a notation different algorithms. The important thing about the notation is easy to read and understand. However to avoid kekeliriuan, adherence to the notation should be noted. Below are 3 common notation used in the writing of algorithms, namely:
1. Natural Notation
2. Flowchart / Diagram Flow
3. Pseudo-Code (such as code)
1. NOTATION NATURAL
Writing algorithms with natural notation is to write-instuksi instructions that must be implemented to solve the problem in the form of a string of descriptive phrases.
With this sentence-style notation, a description of each step is described in vivid language. The process begins with a verb such as 'read', 'count', 'for', 'change', and so on, while the conditional statement expressed by 'if ... then ...'. This notation is good for a short algorithm, but the algorithm for large problems, the notation is certainly not efficient. In addition, the notation conversion algorithm into a programming language notation tends relatively difficult.
2. Flowchart / DIAGRAM ALUR
There are 2 types of Flowchart:
a. flowchart system, is a picture that explains:
- The files are processed by the program
- Types of tools used by the file
- Operation of the file (input or output).
b. flowchart program (usually called just flowcharts), is a picture that explains the sequence:
- Reading data
- Processing of data
- Decision making on the data
- Presentation of the results of data processing
Well .... That we discussed here is a flowchart program flowchart or commonly called just.
Flowcharts / flow diagrams popular in the early era of computer programming (especially with Basic, Fortran, and Cobol). More flow diagram illustrates the flow of instructions in the program visually shows the structure of the program compared. Flowchart notation more suitable for small problems to large problems are not suitable because it requires numerous paper pages. In addition, the notation conversion algorithm into programming languages tend to be relatively difficult.
0 Komentar untuk "ALGORITHM"