Flowchart
Teknologi Informasi
Dua Komponen TI : Komputer dan Komunikasi
TI dalam semua lini: ponsel, emailm internet dan
elektronik
Tiga arah perkembangan komp: miniaturisasi,
kecepatan. Keterjangkauan
Tiga arah perkemb komunikasi : konektivitas,
interaktivitas dan multimedia
Penyatuannya : konvergensi, portabilitas dan
personalisasi
E : berarti juga etika
Database dan Sistem Informasi
Sistem Manajemen Database
Basis Data Spasial
Aplikasi
Remote Sensing
GIS
Pemodelan Numerik
dll
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.
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.
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.
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.
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.
A B C
A B C
A B C
A B C
A B C
JAWABAN
FLOWCHART
TELOR DADAR
ALGORITMA
DENGAN
FLOWCHART
Flowchart
Symbols
Input/Output
Start/Stop
Decision making/
Branch Test
Calculation/
Computational
process
Process Flow
Connector or joining of two
parts of program
Magnetic Tape
Magnetic Disk
Off-page connector
    Flow line
Display
Annotation
Flowchart Example
Define the
problem
Read
input
Solve the
problem
Can I
solve this?
Output
results
What do I need
to know?
Ask for
more input
Can I
solve this?
yes
no
Not available
at this time
yes
no
Begin
(again?)
End
Pembuatan Flowchart
Tidak 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.
Simbol Terminator simbol yang digunakan untuk
mengawali dan mengakhiri. Untuk di awal biasanya
ditulis dengan kata “Start/Begin/Mulai”
Untuk di akhir biasanya di tulis
dengan kata “Stop/End/Selesai”
Simbol Input/Output digunakan
memasukan suatu nilai untuk proses
atau menampilkan nilai dari hasil suatu
proses.
Input(a) Output(a)
Simbol Proses digunakan untuk
memproses suatu data atau untuk
perhitungan dan biasanya berisi suatu
rumus.
I  I + 1
Fak  Fak *
I
Simbol Decision digunakan untuk membandingkan suatu data
dan memiliki 2 keluaran yaitu “True / False” atau “Benar /
Salah” atau “Ya/Tidak”
Dari gambar di samping berikut
menjelaskan jika I nilainya lebih
kecil dari 5 maka akan
mengalir ke arah kanan.
Jika tidak maka akan mengalir
ke arah bawah.
I > 5
Ya
Tidak
Given the radius and height for a cylinder find the
volume and surface area.
START
ENTER R and
H
R = Radius of Cylinder
H = 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
Example
Sketch a simple flowchart that will find
the sum of two number and their
difference.
Example
Sketch a flowchart that will computer
the factorial of a number.
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
x
1e
432
x

Example
Each month, the electric company bills consumers
according to the following schedule:
Electricity Usage (kWh) Rate ($/kWh)
Energy  1000 0.10
1000  Energy  10000 0.08
Energy  10000 0.06
Prepare a flowchart that calculates the bill for a
customer.
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 :
Pertanyaan :
Dimana rumah pak Amir ?
Ada hubungan apa antara pak Amir dan
Badu?
Berapa hari sekali air akuarium harus
diganti?
Buat algoritma dan flowchart

Flowchart examples

  • 1.
  • 2.
    Teknologi Informasi Dua KomponenTI : Komputer dan Komunikasi TI dalam semua lini: ponsel, emailm internet dan elektronik Tiga arah perkembangan komp: miniaturisasi, kecepatan. Keterjangkauan Tiga arah perkemb komunikasi : konektivitas, interaktivitas dan multimedia Penyatuannya : konvergensi, portabilitas dan personalisasi E : berarti juga etika
  • 3.
    Database dan SistemInformasi Sistem Manajemen Database Basis Data Spasial
  • 4.
  • 5.
    Method of ProblemSolving 1. Recognize and understand the problem. 2. Accumulate facts. 3. Select appropriate theory. 4. Make necessary assumptions. 5. Solve the problem. 6. Verify results.
  • 6.
    The 5 stepsin 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.
  • 7.
    Definition of Algorithmand 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.
  • 8.
    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.
  • 9.
    A flowchart isa 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.
  • 14.
  • 15.
  • 16.
  • 17.
  • 18.
  • 24.
  • 28.
  • 32.
  • 40.
  • 41.
    Connector or joiningof two parts of program Magnetic Tape Magnetic Disk Off-page connector     Flow line Display Annotation
  • 45.
    Flowchart Example Define the problem Read input Solvethe problem Can I solve this? Output results What do I need to know? Ask for more input Can I solve this? yes no Not available at this time yes no Begin (again?) End
  • 46.
    Pembuatan Flowchart Tidak adakaidah 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.
  • 47.
    Simbol Terminator simbolyang digunakan untuk mengawali dan mengakhiri. Untuk di awal biasanya ditulis dengan kata “Start/Begin/Mulai” Untuk di akhir biasanya di tulis dengan kata “Stop/End/Selesai”
  • 48.
    Simbol Input/Output digunakan memasukansuatu nilai untuk proses atau menampilkan nilai dari hasil suatu proses. Input(a) Output(a)
  • 49.
    Simbol Proses digunakanuntuk memproses suatu data atau untuk perhitungan dan biasanya berisi suatu rumus. I  I + 1 Fak  Fak * I
  • 50.
    Simbol Decision digunakanuntuk membandingkan suatu data dan memiliki 2 keluaran yaitu “True / False” atau “Benar / Salah” atau “Ya/Tidak” Dari gambar di samping berikut menjelaskan jika I nilainya lebih kecil dari 5 maka akan mengalir ke arah kanan. Jika tidak maka akan mengalir ke arah bawah. I > 5 Ya Tidak
  • 51.
    Given the radiusand height for a cylinder find the volume and surface area. START ENTER R and H R = Radius of Cylinder H = 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
  • 54.
    Example Sketch a simpleflowchart that will find the sum of two number and their difference.
  • 55.
    Example Sketch a flowchartthat will computer the factorial of a number.
  • 56.
    Example Sketch a flowchartthat will computer the first 10 terms of the Taylor series of ex for a given x. ... !4 x !3 x !2 x !1 x 1e 432 x 
  • 57.
    Example Each month, theelectric company bills consumers according to the following schedule: Electricity Usage (kWh) Rate ($/kWh) Energy  1000 0.10 1000  Energy  10000 0.08 Energy  10000 0.06 Prepare a flowchart that calculates the bill for a customer.
  • 58.
    Soal Pak Amir mempunyaisebuah 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 :
  • 59.
    Pertanyaan : Dimana rumahpak Amir ? Ada hubungan apa antara pak Amir dan Badu? Berapa hari sekali air akuarium harus diganti? Buat algoritma dan flowchart