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 Recognize and understand the problem. Accumulate facts. Select appropriate theory. Make necessary assumptions. Solve the problem. Verify results.
The 5 steps in using a computer as a problem-solving tool Develop an Algorithm and a Flowchart . Write the program in a computer language. (i.e. Fortran, C) Enter the program into the computer. Test and debug the program. Run the program, input data, and get the results from the computer.
Definition of Algorithm and Flowchart An Algorithm is just a detailed sequence of simple steps that are needed to solve a problem. 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.
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 e x for a given 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