Anda di halaman 1dari 18

PEMROGRAMAN DASAR

ALGORITMA & FLOW CHART


Insert the Sub Title of Your Presentation
Agenda Style
01 ALGORITMA

You can simply impress your audience and add a unique zing and appeal to
your Presentations. Easy to change colors, photos and Text.

02 KARAKTERISTIK ALGORITMA

You can simply impress your audience and add a unique zing and appeal to
your Presentations. Easy to change colors, photos and Text.

03 FLOW CHART

You can simply impress your audience and add a unique zing and appeal to
your Presentations. Easy to change colors, photos and Text.

04 CONTOH FLOWCHART

You can simply impress your audience and add a unique zing and appeal to
your Presentations. Easy to change colors, photos and Text.
Tujuan Belajar !!!
Paham

Paham / Mengerti tentang Algoritma

Bisa

Dapat membuat Algoritma dari suatu Permasalahan

Paham

Mengerti tentang Flowchart.

Paham

Membuat Flowchart dari suatu permasalahan.


ALGORITMA ?????
Urutan langkah-langkah menyelesaikan suatu persoalan

Contoh Soal 1

Bagaimana cara menukar Isi gelas A dengan gelas B ?

Algoritma:
• Siapkan gelas C untuk
menyimpan nilai dari gelas A
• Tuang isi air dari gelas A ke
gelas C
• Tuang isi air gelas B ke gelas C
• Pindahkan air gelas C ke gelas
B
• Isi gelas A tertukar gelas B
Bagaimana mengambil air dari
ember sebanyak 400 ml?

Permasalahan:
Hanya terdapat satu buah
gelas dengan ukuran 500 ml
dan satu buah gelas dengan
ukuran 300 ml
KARAKTERISTIK ALGORITMA
Content Here Content Here

Get a modern PowerPoint Get a modern PowerPoint


Presentation that is beautifully Presentation that is beautifully
designed. hope and I believe that this designed. hope and I believe that this
Template will your Time. Template will your Time.

Content Here Content Here


Get a modern PowerPoint Get a modern PowerPoint
Presentation that is beautifully Presentation that is beautifully
designed. hope and I believe that this designed. hope and I believe that this
Template will your Time. Template will your Time.
Bahasa Pemrograman

Berdasarkan
Berdasarkan Tujuan
Kedekatan

Tingkat
Tujuan Khusus Tujuan Umum Tingkat tinggi
Rendah

C Bahasa yang dirancang


agar setiap instruksinya
langsung dikerjakan oleh
computer, biasanya susah
dipahami oleh manusia
STRUKTUR DASAR ALGORITMA

Urutan Algoritma Pemilihan Perulangan


Terminator Process
(Awal /Akhir Flowchart) (Proses oleh mesin
computer)

SIMBOL –
SIMBOL
Preparation FLOW Decision
(Inisialisasi Variabel) (Pengambilan Keputusan)
CHART

Input/Output Data Arrow


(I/O Data secara Manual) (Arah Aliran)
Contoh Flow Chart #1
Luas Lapangan Bola? Mulai

Jika
Panjang =120
Panjang = 120 m
Lebar = 90
Lebar = 90 m

Luas = Panjang x Lebar

Tulis
Luas

Selesai
Lapangan Bola
Contoh Flow Chart #2

BAGAIMANA
LUASNYA???? Read
Panjang, Lebar

P = ……???

L = …….???
Contoh Flow Chart #3
Mulai

Read Warna
Lampu

Warna
Lampu Keterangan “Berhanti”
“Merah”

Warna
Lampu Keterangan “Hati=hati”
“Kuning”

Keterangan “Jalan”

Tulis
“Keterangan”

Selesai
TUGAS

GAMBARKAN FLOWCHART PERIJINAN SURVEY


GAMBARKAN FLOWCHART MASUK TWITTER
GAMBARKAN FLOWCHART IJIN KHUSUS
GAMBARKAN FLOWCHART PERGI NONTON BIOSKOP
GAMBARKAN FLOWCHART PENGAMBILAN UANG DI ATM
GAMBARKAN FLOWCHART PEMBUATAN BUKU TABUNGAN

Anda mungkin juga menyukai