Top Banner
Flowchart
59

Flowchart examples

Aug 11, 2015

Download

Internet

Ganang Wibisono
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Flowchart examples

Flowchart

Page 2: Flowchart examples

Teknologi Informasi

Dua Komponen TI : Komputer dan KomunikasiTI dalam semua lini: ponsel, emailm internet dan elektronikTiga arah perkembangan komp: miniaturisasi, kecepatan. KeterjangkauanTiga arah perkemb komunikasi : konektivitas, interaktivitas dan multimediaPenyatuannya : konvergensi, portabilitas dan personalisasiE : berarti juga etika

Page 3: Flowchart examples

Database dan Sistem Informasi

Sistem Manajemen DatabaseBasis Data Spasial

Page 4: Flowchart examples

Aplikasi

Remote SensingGISPemodelan Numerikdll

Page 5: Flowchart examples

Method of Problem Solving

1. Recognize and understand the problem. 2. Accumulate facts. 3. Select appropriate theory. 4. Make necessary assumptions. 5. Solve the problem. 6. Verify results.

Page 6: Flowchart examples

The 5 steps in using a computer as a problem-solving tool

1. Develop an Algorithm and a Flowchart.

2. Write the program in a computer language. (i.e. Fortran, C)

3. Enter the program into the computer.

4. Test and debug the program.

5. Run the program, input data, and get the results from the computer.

Page 7: Flowchart examples

Definition of Algorithm and Flowchart

1. An Algorithm is just a detailed sequence of simple steps that are needed to solve a problem.

2. A Flowchart is a graphical representation of an algorithm.

Page 8: Flowchart examples

A flow chart, or flow diagram, is a graphical representation of a process or system that details the sequencing of steps required to create output. A typical flow chart uses a set of basic symbols to represent various functions, and shows the sequence and interconnection of functions with lines and arrows.

Page 9: Flowchart examples

A flowchart is a diagrammatic representation that illustrates the sequence of operations to be performed to get the solution of a problem. Flowcharts are generally drawn in the early stages of formulating computer solutions. Flowcharts facilitate communication between programmers and business people. These flowcharts play a vital role in the programming of a problem and are quite helpful in understanding the logic of complicated and lengthy problems. Once the flowchart is drawn, it becomes easy to write the program in any high level language. Often we see how flowcharts are helpful in explaining the program to others.

Page 10: Flowchart examples
Page 11: Flowchart examples
Page 12: Flowchart examples
Page 13: Flowchart examples
Page 14: Flowchart examples

A B C

Page 15: Flowchart examples

A B C

Page 16: Flowchart examples

A B C

Page 17: Flowchart examples

A B C

Page 18: Flowchart examples

A B C

Page 19: Flowchart examples
Page 20: Flowchart examples
Page 21: Flowchart examples
Page 22: Flowchart examples
Page 23: Flowchart examples
Page 24: Flowchart examples

JAWABAN

Page 25: Flowchart examples
Page 26: Flowchart examples
Page 27: Flowchart examples
Page 28: Flowchart examples

FLOWCHARTTELOR DADAR

Page 29: Flowchart examples
Page 30: Flowchart examples
Page 31: Flowchart examples
Page 32: Flowchart examples

ALGORITMA DENGAN FLOWCHART

Page 33: Flowchart examples
Page 34: Flowchart examples
Page 35: Flowchart examples
Page 36: Flowchart examples
Page 37: Flowchart examples
Page 38: Flowchart examples
Page 39: Flowchart examples
Page 40: Flowchart examples

Flowchart Symbols

Input/Output

Start/Stop

Decision making/ Branch Test

Calculation/ Computational process

Process Flow

Page 41: Flowchart examples

Connector or joining of two parts of program

Magnetic Tape

Magnetic Disk

Off-page connector

Flow line

Display

Annotation

Page 42: Flowchart examples
Page 43: Flowchart examples
Page 44: Flowchart examples
Page 45: Flowchart examples

Flowchart ExampleDefine theproblem

Readinput

Solve theproblem

Can Isolve this?

Outputresults

What do I needto know?

Ask formore input

Can Isolve this?

yes

no

Not availableat this time

yes

no

Begin(again?)

End

Page 46: Flowchart examples

Pembuatan FlowchartTidak ada kaidah yang baku.Flowchart = gambaran hasil analisa suatu masalah Flowchart dapat bervariasi antara satu pemrogram dengan pemrogram lainnya.Secara garis besar ada 3 bagian utama:

– Input– Proses– Output

Hindari pengulangan proses yang tidak perlu dan logika yang berbelit sehingga jalannya proses menjadi singkat.Jalannya proses digambarkan dari atas ke bawah dan diberikan tanda panah untuk memperjelas.

Page 47: Flowchart examples

Simbol Terminator simbol yang digunakan untuk mengawali dan mengakhiri. Untuk di awal biasanya ditulis dengan kata “Start/Begin/Mulai”

Untuk di akhir biasanya di tulisdengan kata “Stop/End/Selesai”

Page 48: Flowchart examples

Simbol Input/Output digunakan memasukan suatu nilai untuk proses atau menampilkan nilai dari hasil suatu proses.

Input(a)

Output(a)

Page 49: Flowchart examples

Simbol Proses digunakan untuk memproses suatu data atau untuk perhitungan dan biasanya berisi suatu rumus.

I I + 1Fak Fak *

I

Page 50: Flowchart examples

Simbol Decision digunakan untuk membandingkan suatu data dan memiliki 2 keluaran yaitu “True / False” atau “Benar / Salah” atau “Ya/Tidak”Dari gambar di samping berikutmenjelaskan jika I nilainya lebihkecil dari 5 maka akanmengalir ke arah kanan.Jika tidak maka akan mengalirke arah bawah.

I > 5Ya

Tidak

Page 51: Flowchart examples

Given the radius and height for a cylinder find the volume and surface area.

START

ENTER R and H

R = Radius of CylinderH = Height of Cylinder

V=π.R2.H V= Volume of Cylinder

SA=2π.R.H SA= Surface Area of Cylinder

OUTPUT R, H, V and SA

END

Page 52: Flowchart examples
Page 53: Flowchart examples
Page 54: Flowchart examples

Example

Sketch a simple flowchart that will find the sum of two number and their difference.

Page 55: Flowchart examples

Example

Sketch a flowchart that will computer the factorial of a number.

Page 56: Flowchart examples

Example

Sketch a flowchart that will computer the first 10 terms of the Taylor series of ex for a given x.

...!4

x

!3

x

!2

x

!1

x1e

432x

Page 57: Flowchart examples

ExampleEach month, the electric company bills

consumers according to the following schedule:

Electricity Usage (kWh) Rate ($/kWh)Energy 1000 0.101000 Energy 10000 0.08Energy 10000 0.06

Prepare a flowchart that calculates the bill for a customer.

Page 58: Flowchart examples

Soal

Pak Amir mempunyai sebuah akuarium air tawar berukuran 100 cm x 150 cm x 200 cm diisi 120 ikan dengan bobot rata-rata 400 gram, yang mengeluarkan kotoran kurang lebih 1% dari berat badan; Badu mempunyai tugas mengganti air akuarium jika sudah jenuh, jika batas kejenuhan air akuarium untuk segera diganti baru terhadap kotoran ikan sebesar 1,5 % , maka :

Page 59: Flowchart examples

Pertanyaan :

Dimana rumah pak Amir ?Ada hubungan apa antara pak Amir dan Badu?Berapa hari sekali air akuarium harus diganti?Buat algoritma dan flowchart