Page 3 - MODUL ALGORTIMA DAN PEMROGRAMAN
P. 3
DAFTAR ISI
KATA PENGANTAR .......................................................................................................................... ii
DAFTAR ISI ....................................................................................................................................... iii
DAFTAR GAMBAR ..........................................................................................................................vii
DAFTAR TABEL ............................................................................................................................. viii
PETUNJUK PENGGUNAAN E-MODUL ........................................................................................ ix
PENDAHULUAN ................................................................................................................................. x
Pengenalan Bahasa C dan C++ ....................................................................................................... x
IDE yang Dapat Digunakan ........................................................................................................... xi
Dev-C++ ........................................................................................................................................... xi
Instalasi Dev-C++ ...........................................................................................................................xii
Cara Membuat Program C ............................................................................................................ xv
Cara Membuat Program C++ ................................................................................................... xviii
Program Pertama C ...................................................................................................................... xxi
Program Pertama C++ .................................................................................................................xxii
MATERI 1 PENGANTAR ALGORTIMA DAN PEMROGRAMAN DASAR ............................... 1
A. Masalah dan Solusi ................................................................................................................... 2
B. Algoritma .................................................................................................................................. 2
C. Sejarah Algoritma .................................................................................................................... 4
D. Program dan Pemrograman .................................................................................................... 4
E. Bahasa Pemrograman .............................................................................................................. 5
F. Contoh Program ....................................................................................................................... 7
G. Rangkuman............................................................................................................................... 8
H. Soal Latihan .............................................................................................................................. 9
MATERI 2 STRUKTUR DASAR ALGORITMA ........................................................................... 10
A. Struktur Dasar Algoritma ...................................................................................................... 11
B. Jenis Proses dalam Algoritma ................................................................................................ 11
C. Syarat Algoritma .................................................................................................................... 14
D. Proses Desain dan Analisis Algoritma ................................................................................... 14
E. Contoh Program ..................................................................................................................... 15
F. Rangkuman ............................................................................................................................. 16
G. Soal Latihan ............................................................................................................................ 17
MATERI 3 NOTASI ALGORITMA ................................................................................................. 18
A. Flowchart ................................................................................................................................ 19
B. Pseudocode .............................................................................................................................. 23
C. Kode Maya .............................................................................................................................. 25
iii