Selasa, 16 Agustus 2011

KULIAH ALGORITMA & PEMROGRAMAN TENTANG PEMECAHAN MASALAH DENGAN KOMPUTER

PENGERTIAN KOMPUTER:Sebuah mesin digital yang melakukan operasi aritmatic & operasi logic yang melakukan sesuatu dengan cepat.


YANG MENJADI TANTANGAN UNTUK MEMECAHKAN MASALAH DI KOMPUTER YAITU, Komputer tidak bisa berjalan sendiri. Tetapi membutuhkan instruksi dalam bentuk program yang dibuat oleh programmer (orang yang membuat program).


  • Permasalahan kompleks membuat program harus merancang tahapan yang disebut algoritma.
  • Sejarah Algoritma = Di temukan oleh Al-Khuwarizmi
Program yang akan dibuat harus ditulis secara sistematis  & terstruktur dalam menjawab sebuah masalah dengan menggunakan bahasa pemrograman.

Langkah Membuat Pemrograman :
Masalah  diteruskan menjadi Fase Pemecahan Masalah yang kompleks dan akan dijadikan menjadi Algoritme kemudian di rancang secara terstruktur kemudian di aplikasikan ke dalam Fase Implementasi dalam bentuk KODING dan akhirnya bisa compile atau di build menjadi Program Komputer.


Pseudocode :  Teknik untuk menulis algoritme yang mirip dengan bahasa pemrograman yang tidak bisa di build ataupun di compile. Karena masih dalam penerapa bahasa manusia. Pseudocode terbagi menjadi: 
  • PseudoC : Pseudocode yang mengadopsi bahasa C (tidak bisa di compile)
  • PseudoPASCAL : Pseudocode  yang mengadopsi bahasa Pascal (tidak bisa di compile).
Cara menyusun algoritma :
  • NARASIdalam bentuk cerita yang menggambarkan susunan program yang akan dijalankan.
  • FLOWCHART dalam bentuk flowchart/bentuk shape yang menggambarkan alur tahapan program yang akan dijalankan.
ENGLISH VERSION
COLLEGE & PROGRAMMING ALGORITHM OF SOLVING PROBLEMS WITH COMPUTER


UNDERSTANDING COMPUTER: A digital machines which perform the logic operations that aritmatic & do something quickly.
SOMETHING TO SOLVE PROBLEMS IN CHALLENGE TO COMPUTER ie, computers can not walk alone. But requires instruction in the form of a program created by the programmer (one who makes the program).

    
A combination makes the program should design stages, called algorithm.
    
History Algorithm = At ​​discovered by Al-Khuwarizmi 


Programs to be made must be written in a systematic & structured in response to a problem with using a programming language.
Make Programming Steps: The problem continued into the complex problem-solving phase and will be co-designed algorithm is then in a structured manner and then to apply to the Implementation Phase in the form of coding and finally compile or build a computer program.
Pseudocode: Techniques for writing an algorithm similar to the programming language that can not build or compile the program. Because it is still in penerapa human language. Pseudocode is divided into:

    
PseudoC: Pseudocode to adopt the C language (not compiled)
    
PseudoPASCAL: Pseudocode to adopt the Pascal language (not compiled). 


How to develop the algorithm:

    
NARRATIVE in the form of a story that describes the arrangement of the program to be executed.
    
Flowcharts in flowchart form / shape form that describes the stages of the program flow to be run. 


    0 comments:

    Posting Komentar

    Share

    Twitter Delicious Facebook Digg Stumbleupon Favorites More