Senin, 15 November 2010

Algorithm

Introduction to Algorithms

Algorithm Definition"The algorithm is a sequence of logical steps, solving problems systematically and logically arranged."Logical word is the key word in the algorithm. The steps in the algorithm must be logical and must be determined is false or true.
In everyday life there are too many processes are expressed in an algorithm. Ways to make a cake or a dish that is expressed in a recipe can also be referred to as algorithms. In every recipe there is always a sequence of steps to make food. If the steps are not logical, can not produce the desired cuisine.
Basic Concepts Programming Algorithm ForImplement the algorithm means doing the steps in the algorithm. Processors working on the process in accordance with the algorithm given to him. The cook makes a cake based on a recipe given to him, the pianist played a song by musical notes board. Therefore, an algorithm must be expressed in a form that can be understood by the processor.So the processor must:1. Understand each step in Algorithm2. Doing operations corresponding to these steps.
The Processing Algorithm Implementation MechanismComputer is just one processor. To be implemented by computer, the algorithm must be written in a programming language notation so that the called program. So the program is the embodiment or technical implementation algorithm is written in a particular programming language that can be implemented by computer.

Learn Programming Languages And LearningLearning to program is not the same as learning a programming language. Learning to program is learning about problem solving methodology, then poured it in a specific notation that is easy to read and understand. While studying language means learning to use a programming language grammar rules, instructions, procedures for the operation of its compiler, and use these instructions to create a program written only in that language only.Until now there are dozens of language programmers who can be distinguished based on the purpose and function. Among them are:· Procedural: C, Pascal, Fortran, Basic Programming Language, Paradigm imperative, Declarative Parallel.· Processing: Pascal S (Borlan Delphi), Occam, C-Linda ObjOriented Ada, Object Pascal, C, Java, Smalltalk, Eiffel.· Logic: PROLOG.· Functional: LISP, APL, Scheme.· Database: SQL.
Learning Programming· Learning to program: learn about problem solving strategies, methodologies and systematic problem solving and then write in the notation to be mutually agreed.· Learning to program: the problem is understanding, analysis and synthesis.· Learning program, the center of gravity: the designer of the program.

Learning Languages· Learning a programming language: learning to use a programming language, syntax rules, procedures for utilizing specific instructions for each language.· Learning a programming language, the emphasis: The product coder programmer is a good program design (methodological, systematic), namely;o Can be executed by a machineo Functioning properlyo Able to serve all possible inputo Accompanied by documentation

Tidak ada komentar:

Posting Komentar