1 / 10

Algoritma dan Pemrograman Minggu 1 Peseudocode

Algoritma dan Pemrograman Minggu 1 Peseudocode

alitarsana
Download Presentation

Algoritma dan Pemrograman Minggu 1 Peseudocode

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Teknik Informatika STIKI Indonesia Algoritma dan Pemrograman Alit Arsana

  2. Pseudocode Pseudocode akan memudahkan programmer untuk memahami dan menggunakannya, karena mirip dengan kode-kode program yang sebenarnya.

  3. AturanPenulisanPseudocode • Setiap Algoritma akan selalu terdiri dari tiga bagian yaitu : • Judul (Header) • Kamus • Deskripsi Algoritma

  4. AturanPenulisanPseudocode

  5. AturanPenulisanPseudocode Judul – cara penulisan : Program <Nama Program> ProgramLuas Persegi {Program ini digunakan untuk menghitung luas Persegi}

  6. AturanPenulisanPseudocode Kamus – cara penulisan : <namaVariabel> : <tipe_data>

  7. AturanPenulisanPseudocode

  8. AturanPenulisanPseudocode Kamus – cara penulisan : <namaVariabel> : <tipe_data> Kamus sisi : integer hasil : integer

  9. AturanPenulisanPseudocode Deskripsi Algoritma – cara penulisan : - Assignment : nilaii ← 20 - Operasi : jumlah ← nilaiA + nilaiB Deskripsi Algoritma scanf(sisi) hasil ← sisi * sisi printf(hasil)

More Related