Introduction to The Design & Analysis of Algorithms

Slides:



Advertisements
Presentasi serupa
Developing Knowledge Management dalam perusahaan Week 10 – Pert 19 & 20 (Off Class Session)
Advertisements

+ Pemrograman Javascript Teknik Informatika Universitas Bunda Mulia Jakarta Chandra Hermawan H., M.Kom., MM.
Mata Kuliah : ALGORITMA dan STRUKTUR DATA 1.
PEMOGRAMAN BERBASIS JARINGAN
Program Keahlian I – SI By Antonius Rachmat C, S.Kom
Materi Analisa Perancangan System.
Peta Kontrol (Untuk Data Variabel)
PART 5 TRAINING INPUT Dosen : Dwisnanto Putro, ST, M.Eng.
Desain Dan Analisis Algoritma
IT SEBAGAI ALAT UNTUK MENCIPTAKAN KEUNGGULAN KOMPETISI
PERULANGANPERULANGAN. 2 Flow of Control Flow of Control refers to the order that the computer processes the statements in a program. –Sequentially; baris.
Prof. Busch - LSU1 Mathematical Preliminaries. Prof. Busch - LSU2 Mathematical Preliminaries Sets Functions Relations Graphs Proof Techniques.
Review IS & Software System Concept Diah Priharsari PTIIK – Universitas Brawijaya Source: 1.Obrien & Marakas, Management Information.
Artificial Intelligence
KNOWLEDGE MANAGEMENT: philosophy, processes, and pitfalls EXTRACTED FROM Soo, Devinney, Midgley, Deering (2002) CALIFORNIA MANAGEMENT REVIEW, 44 (4) 1seri.
PROSES PADA WINDOWS Pratikum SO. Introduksi Proses 1.Program yang sedang dalam keadaan dieksekusi. 2.Unit kerja terkecil yang secara individu memiliki.
KIMIA ORGANIK II ELFI SUSANTI VH.
Review Operasi Matriks
Understanding The nature of PBI Courses Nury S, MA Presented at UAD workshop August 10 –
Internal dan Eksternal Sorting
Mr. Ari Nurrohmat, S.Pd Present PROCEDURE for Grade IX.
CAREER PLANNING 1 How to Make Your Career Decision ?
Pengantar/pengenalan (Introduction)
1-Sep-14 Analisis dan Perancangan Algoritma Kuliah 3 : Proof by induction E. Haodudin Nurkifli Teknik Informatika Universitas Ahmad Dahlan.
Could not load an object because it is not avaliable on this machine. Tidak dapat memuat sebuah benda karena tidak tersedia pada mesin ini.
Menjelaskan sifat – sifat komponen elektronika aktif dan pasif
PROGRAM AND MATERIALS DEVELOPMENT in ODL. How to design and develop the ODL programs and courses? Use systematic and systemic design know well the students.
Text 1 By: Siwi Ratri K / Titik Rahayu /
KULIAH I INTRODUCTION TO NETWORK SECURITY Imam Bukhari, S.Kom KOM Keamanan Jaringan 2012/2013 KOM Keamanan Jaringan 2012/2013.
METODE SAMPLING by Achmad Prasetyo, S.Si., M.M..
SUBPROGRAM IN PASCAL Function.
BENTUK ING VERB + ING. Bentuk ING juga biasa disebut dengan ING form Meskipun pembentukannya sangat se- derhana tetapi penggunaannya mem- punyai aturan.
Slide 1 QUIS Langkah pertama caranya Buat di slide pertama judul Slide kedua soal Slide ketiga waktu habis Slide keempat jawaban yang benar Slide kelima.
Kreativitas Kreativitas Kreativitas Kreativitas Kreativitas Kreativitas Kreativitas Kreativitas Kreativitas Kreativitas Kreativitas Kreativitas Kreativitas.
LESSON 10: LET’S COOK LEARNING FOCUS USING “a little” USING “a few”
LOGO Manajemen Data Berdasarkan Komputer dengan Sistem Database.
Linked List dan Double Linked List
Definisi VLAN Pemisahan jaringan secara logis yang dilakukan pada switch Pada tradisional switch, dalam satu switch menunjukkan satu segmentasi LAN.
Metodologi Penelitian dalam Bidang Informatika
Diagnose device problems that connected to the Wide Area Network Identify problems Through the Symptoms that arise HOME.
SMPN 2 DEMAK GRADE 7 SEMESTER 2
STRUCTURAL CONTROL continuation STATEMENT  SWITCH  WHILE  DO..WHILE.
Lecture 8 Set and Dictionary Sandy Ardianto & Erick Pranata © Sekolah Tinggi Teknik Surabaya 1.
Menu Standard Competence Based Competence.
Web Teknologi I (MKB511C) Minggu 12 Page 1 MINGGU 12 Web Teknologi I (MKB511C) Pokok Bahasan: – Text processing perl-compatible regular expression/PCRE.
DANDC wijanarto.
Slide 1 Chapter 1: Introduction to Systems Analysis and Design Alan Dennis, Barbara Wixom, and David Tegarden John Wiley & Sons, Inc.
Modul-8 : Algoritma dan Struktur Data
2. Introduction to Algorithm and Programming
Chapter 1-a FLOW CHART.
Matakuliah: T0034 / Perancangan & Analisis Algoritma Tahun: 2008 Pertemuan 1 PENGENALAN PERANCANGAN & ANALISIS ALGORITMA.
REPETITION CONTROL STRUCTURES
Algoritma dan Struktur Data
1 Diselesaikan Oleh KOMPUTER Langkah-langkah harus tersusun secara LOGIS dan Efisien agar dapat menyelesaikan tugas dengan benar dan efisien. ALGORITMA.
OPERATOR DAN FUNGSI MATEMATIK. Operator  Assignment operator Assignment operator (operator pengerjaan) menggunakan simbol titik dua diikuti oleh tanda.
Fondasi Pemrograman & Struktur Data
Algorithm complexity Lesson 4 CSG3F3.
Struktur Kontrol Struktur kontrol merupakan pengatur aliran program
Pertemuan 24 Teknik Searching
CSG3F3/ Desain dan Analisis Algoritma
Algorithms and Programming Searching
Seleksi Kondisi merupakan perintah yang memungkinkan pemilihan atas perintah yang akan dijalankan sesuai dengan kondisi tertentu. Operator yang digunakan.
DASAR-DASAR ALGORITMA dan FLOW CHART
Aplikasi Graph Minimum Spaning Tree Shortest Path.
If you are an user, then you know how spam affects your account. In this article, we tell you how you can control spam’s in your ZOHO.
Minimalist Motion Planning Using Global Topological Guarantees
Mathematical Analysis of Non Recursive Algorithms
Xuan Huo and Ming Li and Zhi-Hua Zhou
Lecture 8 Normal model.
Teaching and curriculum design
Transcript presentasi:

Introduction to The Design & Analysis of Algorithms By INDRIATI Teknik Informatika - UB

See page 2; quoted: “..…. a person does not really understand something until after teaching it to someone else ……” actually: “ a person does not REALLY understand something until after teaching it to a computer.”

An algorithm is a sequence of unambiguous instructions for solving a problem, i.e. for obtaining a required output for any legitimate input in a finite amount of time.

What is algorithm? An algorithm is a sequence of computational steps that transform the input into the output An algorithm is a tool for solving a well-specified computational problem

Algorithm is.... Algoritma adalah cara yang dapat ditempuh oleh komputer dalam mencapai suatu tujuan, terdiri atas langkah-langkah yang terdefinisi dengan baik, menerima input, melakukan proses, dan menghasilkan output. Meskipun tidak selalu, biasanya sebuah algoritma memiliki sifat bisa dihitung (computable) atau bisa diukur (measurable).

An algorithm is written in pseudocode, i.e. a mixture of a natural language and programming language-like construct if – then if – then – else for – do while – do repeat – until

if – then if – then – else C C false true false true S S1 S2 next statement next statement if – then if – then – else

for k  1 to n do . done n times

while – do false C true S next statement

repeat – until S C false true next statement

STEPS 1. understand the problem 2.      ascertain the capabilities of the computational device 3.      choose between exact and approximate problem solving 4.      decide on appropriate data structures 5.      determine algorithm design techniques 6.      select the method of specifying an algorithm 7.      prove the algorithm’s correctness 8.      analyze the algorithm 9.      code the algorithm

the most important problem types are: 1. sorting rearrange items of a given list in a specific order, based on some key 2. searching find a given search key in a given set 3. string processing search a word in a text next…

5. combinatorial problems 4. graph problems includes graph traversal problems, shortest-path algorithms, topological sorting, graph coloring problems 5. combinatorial problems e.g. traveling salesman next…

6. geometric problems 7. numerical problems the closest-pair problem, the convex hull problem 7. numerical problems solve equations & systems of equations, evaluate functions, etc.

PSEUDOCODE (1) Algorithm to display seven symbols of # 1 for i <- 1 to 7 do 2 display ”#” 3 end for

PSEUDOCODE (2) Algorithm to calculate Faktorial from N 1 iTemp <- 1 2 for i <- 1 to N do 3 iTemp <- iTemp*i 4 end for 5 display ”Factorial from ”,N,” is ”,iTemp [buku utama, pseudocode 2.8b]

PSEUDOCODE (3) Algorithm to display 8 Fibonacci number 1 f1 <- 0 3 for i <-1 to 8 do 4 iFibo <- f1+f2 5 display ”Number ”,i,” is ”,iFibo 6 f1 <-f2 7 f2<- iFibo 8 end for

LATIHAN Buatlah sebuah pseudocode untuk menampilkan N bilangan pertama secara terbalik. contoh : 10, 9, 8, 7, 6, 5, 4, 3, 2, 1 Buat dengan menggunakan teknik for-do! Buat dengan menggunakan teknik repeat-until! Buat dengan menggunakan teknik while-do!

LATIHAN Buat sebuah pseudocode yang akan menerima sebuah bilangan X dari user. Tampilkan pesan “benar” jika X habis dibagi 2, 3 atau 7 dan tampilkan “salah” jika tidak habis dibagi.

Assignment Algorithm Efficiency Description Parameters Types and description Deadline: Sept 22, 2010 Email to : indriati.tif@ub.ac.id Subject : Algorithm Effieciency [NIM]