Struktur Kendali Pemilihan Pertemuan 5

Slides:



Advertisements
Similar presentations
SELEKSI IF & CASE. if dengan 1 statement If skor > 8 then Nilai:=‘A’ IF dengan banyak statement If skor > 8 then Begin Nilai := ‘A’; Lulus :=True; Bonus.
Advertisements

Prosedur dan Fungsi.
Control Structures in C Risanuri Hidayat, Ir., M.Sc.
Fraud Scheme Pertemuan III Matakuliah: F0184/Audit atas Kecurangan Tahun: 2007.
Embedded SQL (Cont.) Pertemuan 10 Matakuliah: T0413/Current Popular IT II Tahun: 2007.
Model Antrian (Waiting Line Models ) Pertemuan 18:
Criteria And Component Diagram Pertemuan 0708 Matakuliah: M Analisis dan Perancangan Sistem Informasi Lanjut Tahun:
Pendugaan Parameter Nilai Tengah Pertemuan 13 Matakuliah: L0104 / Statistika Psikologi Tahun : 2008.
Analisis Varians/Ragam Klasifikasi Dua Arah Pertemuan 18 Matakuliah: L0104 / Statistika Psikologi Tahun : 2008.
1 Pertemuan 11 Matakuliah: I0014 / Biostatistika Tahun: 2005 Versi: V1 / R1 Pengujian Hipotesis (I)
Matematika Pertemuan 13 Matakuliah: D0024/Matematika Industri II Tahun : 2008.
PERENCANAAN DAN PERAMALAN KEUANGAN Pertemuan 25
1 Pertemuan 12 Binary Search Tree Matakuliah: T0026/Struktur Data Tahun: 2005 Versi: 1/1.
Pengujian Parameter Regresi Ganda Pertemuan 22 Matakuliah: L0104/Statistika Psikologi Tahun: 2008.
Arsitektur Jaringan Pertemuan 09 Matakuliah: H0484/Jaringan Komputer Tahun: 2007.
Pengujian Hipotesis Nilai Tengah Pertemuan 15 Matakuliah: L0104 / Statistika Psikologi Tahun : 2008.
1 Pertemuan 22 Radix Sort Matakuliah: T0016/Algoritma dan Pemrograman Tahun: 2005 Versi: versi 2.
Uji Tanda dan Peringkat Bertanda Wilcoxon Pertemuan 25 Matakuliah: Statistika Psikologi Tahun: 2008.
SQL Data Manipulation Language (DML)
Dynamic SQL Pertemuan 11 Matakuliah: T0413/Current Popular IT II Tahun: 2007.
Uji Kebaikan Suai (Uji Kecocokan) Pertemuan 23
Sentences with reduced clauses (Continued) Pertemuan 3 Matakuliah: G0602 / Bahasa Inggris 3 Tahun: 2007.
12 - Organisation Matakuliah: G0622/Bahasa Inggris 1 Tahun: 2005 Versi: 1.01.
Session 5 JavaScript/JScript: Control Structures II Matakuliah: M0114/Web Based Programming Tahun: 2005 Versi: 5.
1 Pertemuan 04 International Market Place and Global Business Strategy Matakuliah: M0084/Sistem Informasi dalam Manajemen Tahun: 2005 Versi: 1/1.
1 Pertemuan 15 Pendugaan Parameter Nilai Tengah Matakuliah: I0134 – Metode Statistika Tahun: 2007.
1 Pertemuan 26 Object Relational Database Management System (Lanjutan) Matakuliah: M0174/OBJECT ORIENTED DATABASE Tahun: 2005 Versi: 1/0.
1 Pertemuan 23 Object database design (Lanjutan bagian 2) Matakuliah: M0174/OBJECT ORIENTED DATABASE Tahun: 2005 Versi: 1/0.
1 Pertemuan > > Matakuliah: >/ > Tahun: > Versi: >
Struktur Kawalan Pilihan
Programming Switch command. COMP102 Prog. Fundamentals: Switch command / Slide 2 Multiple Selection: The switch Statement value1 action 1 value2 action.
1 Pertemuan > > Matakuliah: >/ > Tahun: > Versi: >
Embedded SQL Pertemuan 9 Matakuliah: T0413/Current Popular IT II Tahun: 2007.
1 Pertemuan 05 Selection Matakuliah: D0524 / Algoritma dan Pemrograman Komputer Tahun: 2005 Versi:
1 Pertemuan 11 QUIZ Matakuliah: J0274/Akuntansi Manajemen Tahun: 2005 Versi: 01/00.
1 Pertemuan 20 Time & Condition Clauses with Future reference Matakuliah: G0134 – Grammar III Tahun: 2005 Versi: revisi 1.
04 - Brands Matakuliah: G0622/Bahasa Inggris 1 Tahun: 2005 Versi: 1.01.
Transport Layer Pertemuan 24 Matakuliah: H0484/Jaringan Komputer Tahun: 2007.
1 Pertemuan 13 AVL Tree Matakuliah: T0026/Struktur Data Tahun: 2005 Versi: 1/1.
1 Pertemuan 09 Binary Tree Matakuliah: T0534/Struktur Data Tahun: 2005 Versi: September 2005.
Pedoman pembuatan makalah Pertemuan 25 : Mata kuliah:K0164-Pemrograman Matematika Tahun: 2008.
1 Pertemuan #3 Clocks and Realtime Matakuliah: H0232/Sistem Waktu Nyata Tahun: 2005 Versi: 1/5.
1 Pertemuan 06 Repetition Matakuliah: D0524 / Algoritma dan Pemrograman Komputer Tahun: 2005 Versi:
1 Pertemuan 08 Pengujian Hipotesis 1 Matakuliah: I0272 – Statistik Probabilitas Tahun: 2005 Versi: Revisi.
Strategic Management 2014 – 2015 WEEK 2 EXTERNAL ASSESMENT International Business Management Lecturer : Ign Teodore Teddy Saputra S.E.,M.B.A.
Switch-Case Statement. What is a switch-case?  The switch-case statement is really nothing more than a glorified.
Matakuliah : D0524 / Algoritma dan Pemrograman Komputer
OPERATOR Dalam Java.
Pernyataan Kawalan Java
Perancangan Organisasi Bahan UAS Genap 2009 / 2010
Variabel Dan Tipe data
Matakuliah : T0456 / Algoritma dan Metode Object
Pertemuan 1&2 - Dasar Pemrograman PHP
SISTEM DIGITAL MUHAMAD ARPAN, S.Kom.
BAB INHERITANCE (Pewarisan)
Table Pertemuan 10 Matakuliah : L0182 / Web & Animation Design
Chapter 2: Opportunity costs
NILAI WAKTU DARI UANG (Time Value of Money) Pertemuan 11
Pertemuan 17 Pengujian Hipotesis
Elemen Dasar C++ Pertemuan 3
Pertemuan 13 Pendugaan Parameter Nilai Tengah
Strategi Algoritma Universitas Ahmad Dahlan
Variabel Dan Tipe data
DATA MANIPULATION LANGUAGE
ASAS PENGATURCARAAN C++
Pernyataan if.. Pernyataan switch..
BAB 2(a):PENGENALAN KEPADA JELMAAN LAPLACE
A.ERROR Kesalahan adalah perbedaan antara variabel yang diukur dan setpoint. Kesalahan dapat berupa positif atau negatif. Tujuan dari setiap skema kontrol.
3.4.3 KONFIGURASI DAN UJIAN RANGKAIAN
Yuslena Sari. Universitas Lambung Mangkurat Muhammad Alkaff. Universitas Lambung Mangkurat “ Membangun budaya riset untuk peningkatan kualitas pendidikan.
Presentation transcript:

Struktur Kendali Pemilihan Pertemuan 5 Matakuliah : T0456 / Algoritma dan Metode Object Oriented Programming Tahun : 2007 Struktur Kendali Pemilihan Pertemuan 5

Pada akhir pertemuan ini, diharapkan: Learning Outcomes Pada akhir pertemuan ini, diharapkan: Mahasiswa dapat menerapkan struktur kendali pemilihan untuk membuat program dengan C++ Buku Referensi: C++ - How to program, Deitel & Deitel, Prentice Hall, 2001. Websites: http://www.deitel.com 3 Bina Nusantara

Outline Materi Guna Struktur kendali Pemilihan Perintah If Perintah If-Else Multiple If-Else Perintah Switch Contoh Program 4 Bina Nusantara

Struktur Kendali Pemilihan Struktur ini digunakan untuk menguji suatu kondisi, kemudian melaksanakan satu urutan perintah. • Struktur pilihan dalam C++ meliputi : - perintah if - perintah if - else - perintah switch Currently, governments around the world, multinational corporations, and a multitude of companies are interested, even concerned with the concept of knowledge management. Indeed, even individual Canadian provinces have an interest in understanding the flow of knowledge within their confines, trying to become more aware of the structures that exist within their hierarchies. For example, "Prince Edward Island has agreed to become the first world test site for KAM, a new 'Knowledge Assessment Methodology' devised by the U.S. National Research Council in Washington, and coordinated by the Institute of Island Studies. The KAM will assess the capacity of Prince Edward Island to compete to world standards in what pundits have dubbed 'The Knowledge Economy'. As computers shrink our world, distance begins to disappear; the distinction between center and periphery narrows to insignificance. For Prince Edward Island, where small population and a paucity of natural resources have traditionally been economic inhibitors, the Knowledge Economy provides the potential for significant, environmentally benign economic growth." To understand more about the whys of measuring the flow of knowledge in any institution, one must understand more about knowledge. The real change has come from the necessity for less information and more knowledge. There has been a shift from information to knowledge. Shift from bureaucracies to networks. The traditional hierarchical designs that served the industrial era are not flexible enough to harness an organization's full intellectual capability. Shift from training/development to learning. The role of education has become paramount in all organizations, public and private. Shift from local/national to transnational. Organizations can no longer rely purely upon national approaches to maintain their profitable growth. More and more, companies and industries of all types must globalize in order to maximize their profits. 5 Bina Nusantara

Perintah if C++ tidak memiliki kata kunci (key word) then pada konstruksi perintah if. • Syntax if ( condition ) statement ; atau if ( condition ) { < sequence of statement> } Currently, governments around the world, multinational corporations, and a multitude of companies are interested, even concerned with the concept of knowledge management. Indeed, even individual Canadian provinces have an interest in understanding the flow of knowledge within their confines, trying to become more aware of the structures that exist within their hierarchies. For example, "Prince Edward Island has agreed to become the first world test site for KAM, a new 'Knowledge Assessment Methodology' devised by the U.S. National Research Council in Washington, and coordinated by the Institute of Island Studies. The KAM will assess the capacity of Prince Edward Island to compete to world standards in what pundits have dubbed 'The Knowledge Economy'. As computers shrink our world, distance begins to disappear; the distinction between center and periphery narrows to insignificance. For Prince Edward Island, where small population and a paucity of natural resources have traditionally been economic inhibitors, the Knowledge Economy provides the potential for significant, environmentally benign economic growth." To understand more about the whys of measuring the flow of knowledge in any institution, one must understand more about knowledge. The real change has come from the necessity for less information and more knowledge. There has been a shift from information to knowledge. Shift from bureaucracies to networks. The traditional hierarchical designs that served the industrial era are not flexible enough to harness an organization's full intellectual capability. Shift from training/development to learning. The role of education has become paramount in all organizations, public and private. Shift from local/national to transnational. Organizations can no longer rely purely upon national approaches to maintain their profitable growth. More and more, companies and industries of all types must globalize in order to maximize their profits. 6 Bina Nusantara

Perintah jika kondisi true Flowchart Perintah if true false Kondisi Perintah jika kondisi true Currently, governments around the world, multinational corporations, and a multitude of companies are interested, even concerned with the concept of knowledge management. Indeed, even individual Canadian provinces have an interest in understanding the flow of knowledge within their confines, trying to become more aware of the structures that exist within their hierarchies. For example, "Prince Edward Island has agreed to become the first world test site for KAM, a new 'Knowledge Assessment Methodology' devised by the U.S. National Research Council in Washington, and coordinated by the Institute of Island Studies. The KAM will assess the capacity of Prince Edward Island to compete to world standards in what pundits have dubbed 'The Knowledge Economy'. As computers shrink our world, distance begins to disappear; the distinction between center and periphery narrows to insignificance. For Prince Edward Island, where small population and a paucity of natural resources have traditionally been economic inhibitors, the Knowledge Economy provides the potential for significant, environmentally benign economic growth." To understand more about the whys of measuring the flow of knowledge in any institution, one must understand more about knowledge. The real change has come from the necessity for less information and more knowledge. There has been a shift from information to knowledge. Shift from bureaucracies to networks. The traditional hierarchical designs that served the industrial era are not flexible enough to harness an organization's full intellectual capability. Shift from training/development to learning. The role of education has become paramount in all organizations, public and private. Shift from local/national to transnational. Organizations can no longer rely purely upon national approaches to maintain their profitable growth. More and more, companies and industries of all types must globalize in order to maximize their profits. 7 Bina Nusantara

Perintah if Contoh : if ( detik = 60 ) menit = menit + 1 ; if ( sisi >0 ) { luas = panjang * lebar ; isi = luas * tinggi ; } Currently, governments around the world, multinational corporations, and a multitude of companies are interested, even concerned with the concept of knowledge management. Indeed, even individual Canadian provinces have an interest in understanding the flow of knowledge within their confines, trying to become more aware of the structures that exist within their hierarchies. For example, "Prince Edward Island has agreed to become the first world test site for KAM, a new 'Knowledge Assessment Methodology' devised by the U.S. National Research Council in Washington, and coordinated by the Institute of Island Studies. The KAM will assess the capacity of Prince Edward Island to compete to world standards in what pundits have dubbed 'The Knowledge Economy'. As computers shrink our world, distance begins to disappear; the distinction between center and periphery narrows to insignificance. For Prince Edward Island, where small population and a paucity of natural resources have traditionally been economic inhibitors, the Knowledge Economy provides the potential for significant, environmentally benign economic growth." To understand more about the whys of measuring the flow of knowledge in any institution, one must understand more about knowledge. The real change has come from the necessity for less information and more knowledge. There has been a shift from information to knowledge. Shift from bureaucracies to networks. The traditional hierarchical designs that served the industrial era are not flexible enough to harness an organization's full intellectual capability. Shift from training/development to learning. The role of education has become paramount in all organizations, public and private. Shift from local/national to transnational. Organizations can no longer rely purely upon national approaches to maintain their profitable growth. More and more, companies and industries of all types must globalize in order to maximize their profits. 8 Bina Nusantara

Contoh Program // Contoh program C++ menggunakan if #include <iostream.h> void main() { double x; cout<<“Masukkan x (jangan 0): “; cin>>x; if ( x != 0 ) cout<<“Reciprocal dari “<<x <<“ adalah ”<<(1/x)<<“\n”; } Currently, governments around the world, multinational corporations, and a multitude of companies are interested, even concerned with the concept of knowledge management. Indeed, even individual Canadian provinces have an interest in understanding the flow of knowledge within their confines, trying to become more aware of the structures that exist within their hierarchies. For example, "Prince Edward Island has agreed to become the first world test site for KAM, a new 'Knowledge Assessment Methodology' devised by the U.S. National Research Council in Washington, and coordinated by the Institute of Island Studies. The KAM will assess the capacity of Prince Edward Island to compete to world standards in what pundits have dubbed 'The Knowledge Economy'. As computers shrink our world, distance begins to disappear; the distinction between center and periphery narrows to insignificance. For Prince Edward Island, where small population and a paucity of natural resources have traditionally been economic inhibitors, the Knowledge Economy provides the potential for significant, environmentally benign economic growth." To understand more about the whys of measuring the flow of knowledge in any institution, one must understand more about knowledge. The real change has come from the necessity for less information and more knowledge. There has been a shift from information to knowledge. Shift from bureaucracies to networks. The traditional hierarchical designs that served the industrial era are not flexible enough to harness an organization's full intellectual capability. Shift from training/development to learning. The role of education has become paramount in all organizations, public and private. Shift from local/national to transnational. Organizations can no longer rely purely upon national approaches to maintain their profitable growth. More and more, companies and industries of all types must globalize in order to maximize their profits. 9 Bina Nusantara

Perintah if-else Perintah ini memberikan satu alternatif dari dua kemungkinan, kemudian diikuti dengan urutan perintah sebagai hasil uji boolean. Syntax : if (condition) { < sequence #1 of statements> } else { < sequence #2 of statements> Currently, governments around the world, multinational corporations, and a multitude of companies are interested, even concerned with the concept of knowledge management. Indeed, even individual Canadian provinces have an interest in understanding the flow of knowledge within their confines, trying to become more aware of the structures that exist within their hierarchies. For example, "Prince Edward Island has agreed to become the first world test site for KAM, a new 'Knowledge Assessment Methodology' devised by the U.S. National Research Council in Washington, and coordinated by the Institute of Island Studies. The KAM will assess the capacity of Prince Edward Island to compete to world standards in what pundits have dubbed 'The Knowledge Economy'. As computers shrink our world, distance begins to disappear; the distinction between center and periphery narrows to insignificance. For Prince Edward Island, where small population and a paucity of natural resources have traditionally been economic inhibitors, the Knowledge Economy provides the potential for significant, environmentally benign economic growth." To understand more about the whys of measuring the flow of knowledge in any institution, one must understand more about knowledge. The real change has come from the necessity for less information and more knowledge. There has been a shift from information to knowledge. Shift from bureaucracies to networks. The traditional hierarchical designs that served the industrial era are not flexible enough to harness an organization's full intellectual capability. Shift from training/development to learning. The role of education has become paramount in all organizations, public and private. Shift from local/national to transnational. Organizations can no longer rely purely upon national approaches to maintain their profitable growth. More and more, companies and industries of all types must globalize in order to maximize their profits. 10 Bina Nusantara

Flowchart Perintah if-else true false Perintah False Perintah True Kondisi Currently, governments around the world, multinational corporations, and a multitude of companies are interested, even concerned with the concept of knowledge management. Indeed, even individual Canadian provinces have an interest in understanding the flow of knowledge within their confines, trying to become more aware of the structures that exist within their hierarchies. For example, "Prince Edward Island has agreed to become the first world test site for KAM, a new 'Knowledge Assessment Methodology' devised by the U.S. National Research Council in Washington, and coordinated by the Institute of Island Studies. The KAM will assess the capacity of Prince Edward Island to compete to world standards in what pundits have dubbed 'The Knowledge Economy'. As computers shrink our world, distance begins to disappear; the distinction between center and periphery narrows to insignificance. For Prince Edward Island, where small population and a paucity of natural resources have traditionally been economic inhibitors, the Knowledge Economy provides the potential for significant, environmentally benign economic growth." To understand more about the whys of measuring the flow of knowledge in any institution, one must understand more about knowledge. The real change has come from the necessity for less information and more knowledge. There has been a shift from information to knowledge. Shift from bureaucracies to networks. The traditional hierarchical designs that served the industrial era are not flexible enough to harness an organization's full intellectual capability. Shift from training/development to learning. The role of education has become paramount in all organizations, public and private. Shift from local/national to transnational. Organizations can no longer rely purely upon national approaches to maintain their profitable growth. More and more, companies and industries of all types must globalize in order to maximize their profits. 11 Bina Nusantara

Perintah if-else Contoh : if ( pembagi ! = 0 ) { hasil = nilai / pembagi ; cout << “ Hasil = “ << hasil << “ \n ” ; } else { hasil = 0 ; cout << “ Hasil tidak ada - pembagi = “ << pembagi << “ \n ” ; Currently, governments around the world, multinational corporations, and a multitude of companies are interested, even concerned with the concept of knowledge management. Indeed, even individual Canadian provinces have an interest in understanding the flow of knowledge within their confines, trying to become more aware of the structures that exist within their hierarchies. For example, "Prince Edward Island has agreed to become the first world test site for KAM, a new 'Knowledge Assessment Methodology' devised by the U.S. National Research Council in Washington, and coordinated by the Institute of Island Studies. The KAM will assess the capacity of Prince Edward Island to compete to world standards in what pundits have dubbed 'The Knowledge Economy'. As computers shrink our world, distance begins to disappear; the distinction between center and periphery narrows to insignificance. For Prince Edward Island, where small population and a paucity of natural resources have traditionally been economic inhibitors, the Knowledge Economy provides the potential for significant, environmentally benign economic growth." To understand more about the whys of measuring the flow of knowledge in any institution, one must understand more about knowledge. The real change has come from the necessity for less information and more knowledge. There has been a shift from information to knowledge. Shift from bureaucracies to networks. The traditional hierarchical designs that served the industrial era are not flexible enough to harness an organization's full intellectual capability. Shift from training/development to learning. The role of education has become paramount in all organizations, public and private. Shift from local/national to transnational. Organizations can no longer rely purely upon national approaches to maintain their profitable growth. More and more, companies and industries of all types must globalize in order to maximize their profits. 12 Bina Nusantara

Contoh Program // Contoh program C++ menggunakan if - else #include <iostream.h> #include <ctype.h> void main() { char c ; cout << “ Masukkan Huruf : “ ; cin >> c ; c = toupper(c); //ubah menjadi huruf besar if ( c >= ‘ A ’ && c <= ‘ Z ’ ) cout << “ Input anda adalah huruf\n ”; else cout << “ Input anda bukan huruf\n ”; } Currently, governments around the world, multinational corporations, and a multitude of companies are interested, even concerned with the concept of knowledge management. Indeed, even individual Canadian provinces have an interest in understanding the flow of knowledge within their confines, trying to become more aware of the structures that exist within their hierarchies. For example, "Prince Edward Island has agreed to become the first world test site for KAM, a new 'Knowledge Assessment Methodology' devised by the U.S. National Research Council in Washington, and coordinated by the Institute of Island Studies. The KAM will assess the capacity of Prince Edward Island to compete to world standards in what pundits have dubbed 'The Knowledge Economy'. As computers shrink our world, distance begins to disappear; the distinction between center and periphery narrows to insignificance. For Prince Edward Island, where small population and a paucity of natural resources have traditionally been economic inhibitors, the Knowledge Economy provides the potential for significant, environmentally benign economic growth." To understand more about the whys of measuring the flow of knowledge in any institution, one must understand more about knowledge. The real change has come from the necessity for less information and more knowledge. There has been a shift from information to knowledge. Shift from bureaucracies to networks. The traditional hierarchical designs that served the industrial era are not flexible enough to harness an organization's full intellectual capability. Shift from training/development to learning. The role of education has become paramount in all organizations, public and private. Shift from local/national to transnational. Organizations can no longer rely purely upon national approaches to maintain their profitable growth. More and more, companies and industries of all types must globalize in order to maximize their profits. 13 Bina Nusantara

Multiple if - else C++ memberikan fasilitas nested if - else untuk mendukung fleksibilitas dalam program aplikasi. • Syntax : if (tested_condition1) statement1 {<sequence #1 of statement>} else if (tested_condition2) statement2 {<sequence #2 of statement>} ... else if (tested_conditionN) statementN {<sequence #N of statement>} Currently, governments around the world, multinational corporations, and a multitude of companies are interested, even concerned with the concept of knowledge management. Indeed, even individual Canadian provinces have an interest in understanding the flow of knowledge within their confines, trying to become more aware of the structures that exist within their hierarchies. For example, "Prince Edward Island has agreed to become the first world test site for KAM, a new 'Knowledge Assessment Methodology' devised by the U.S. National Research Council in Washington, and coordinated by the Institute of Island Studies. The KAM will assess the capacity of Prince Edward Island to compete to world standards in what pundits have dubbed 'The Knowledge Economy'. As computers shrink our world, distance begins to disappear; the distinction between center and periphery narrows to insignificance. For Prince Edward Island, where small population and a paucity of natural resources have traditionally been economic inhibitors, the Knowledge Economy provides the potential for significant, environmentally benign economic growth." To understand more about the whys of measuring the flow of knowledge in any institution, one must understand more about knowledge. The real change has come from the necessity for less information and more knowledge. There has been a shift from information to knowledge. Shift from bureaucracies to networks. The traditional hierarchical designs that served the industrial era are not flexible enough to harness an organization's full intellectual capability. Shift from training/development to learning. The role of education has become paramount in all organizations, public and private. Shift from local/national to transnational. Organizations can no longer rely purely upon national approaches to maintain their profitable growth. More and more, companies and industries of all types must globalize in order to maximize their profits. 14 Bina Nusantara

Contoh Program // Contoh program C++ menggunakan multiple if-else #include <iostream.h> void main() { char c ; cout << “ Masukkan satu karakter : “ ; cin >> c ; if ( c >= ‘ A ’ && c <= ‘ Z ’ ) cout << “Input anda adalah huruf besar\n”; else if ( c >= ‘ a ’ && c <= ‘ z ’ ) cout << “Input anda adalah huruf kecil\n”; else if (c >= ‘0’ && c <= ‘9’) cout << “Input anda adalah satu angka\n”; else cout << “Input bukan alphanumeric\n”; } Currently, governments around the world, multinational corporations, and a multitude of companies are interested, even concerned with the concept of knowledge management. Indeed, even individual Canadian provinces have an interest in understanding the flow of knowledge within their confines, trying to become more aware of the structures that exist within their hierarchies. For example, "Prince Edward Island has agreed to become the first world test site for KAM, a new 'Knowledge Assessment Methodology' devised by the U.S. National Research Council in Washington, and coordinated by the Institute of Island Studies. The KAM will assess the capacity of Prince Edward Island to compete to world standards in what pundits have dubbed 'The Knowledge Economy'. As computers shrink our world, distance begins to disappear; the distinction between center and periphery narrows to insignificance. For Prince Edward Island, where small population and a paucity of natural resources have traditionally been economic inhibitors, the Knowledge Economy provides the potential for significant, environmentally benign economic growth." To understand more about the whys of measuring the flow of knowledge in any institution, one must understand more about knowledge. The real change has come from the necessity for less information and more knowledge. There has been a shift from information to knowledge. Shift from bureaucracies to networks. The traditional hierarchical designs that served the industrial era are not flexible enough to harness an organization's full intellectual capability. Shift from training/development to learning. The role of education has become paramount in all organizations, public and private. Shift from local/national to transnational. Organizations can no longer rely purely upon national approaches to maintain their profitable growth. More and more, companies and industries of all types must globalize in order to maximize their profits. 15 Bina Nusantara

Perintah Switch Perintah memiliki bentuk yang digunakan untuk pilihan berjumlah banyak. Currently, governments around the world, multinational corporations, and a multitude of companies are interested, even concerned with the concept of knowledge management. Indeed, even individual Canadian provinces have an interest in understanding the flow of knowledge within their confines, trying to become more aware of the structures that exist within their hierarchies. For example, "Prince Edward Island has agreed to become the first world test site for KAM, a new 'Knowledge Assessment Methodology' devised by the U.S. National Research Council in Washington, and coordinated by the Institute of Island Studies. The KAM will assess the capacity of Prince Edward Island to compete to world standards in what pundits have dubbed 'The Knowledge Economy'. As computers shrink our world, distance begins to disappear; the distinction between center and periphery narrows to insignificance. For Prince Edward Island, where small population and a paucity of natural resources have traditionally been economic inhibitors, the Knowledge Economy provides the potential for significant, environmentally benign economic growth." To understand more about the whys of measuring the flow of knowledge in any institution, one must understand more about knowledge. The real change has come from the necessity for less information and more knowledge. There has been a shift from information to knowledge. Shift from bureaucracies to networks. The traditional hierarchical designs that served the industrial era are not flexible enough to harness an organization's full intellectual capability. Shift from training/development to learning. The role of education has become paramount in all organizations, public and private. Shift from local/national to transnational. Organizations can no longer rely purely upon national approaches to maintain their profitable growth. More and more, companies and industries of all types must globalize in order to maximize their profits. 16 Bina Nusantara

Syntax Perintah Switch switch (expression) { case constant1_1: [ case constant1_2: ...] <one or more statements> break; case constant2_1: [ case constant2_2: ...] ... case constantN_1: [ case constantN_2: ...] default: } Currently, governments around the world, multinational corporations, and a multitude of companies are interested, even concerned with the concept of knowledge management. Indeed, even individual Canadian provinces have an interest in understanding the flow of knowledge within their confines, trying to become more aware of the structures that exist within their hierarchies. For example, "Prince Edward Island has agreed to become the first world test site for KAM, a new 'Knowledge Assessment Methodology' devised by the U.S. National Research Council in Washington, and coordinated by the Institute of Island Studies. The KAM will assess the capacity of Prince Edward Island to compete to world standards in what pundits have dubbed 'The Knowledge Economy'. As computers shrink our world, distance begins to disappear; the distinction between center and periphery narrows to insignificance. For Prince Edward Island, where small population and a paucity of natural resources have traditionally been economic inhibitors, the Knowledge Economy provides the potential for significant, environmentally benign economic growth." To understand more about the whys of measuring the flow of knowledge in any institution, one must understand more about knowledge. The real change has come from the necessity for less information and more knowledge. There has been a shift from information to knowledge. Shift from bureaucracies to networks. The traditional hierarchical designs that served the industrial era are not flexible enough to harness an organization's full intellectual capability. Shift from training/development to learning. The role of education has become paramount in all organizations, public and private. Shift from local/national to transnational. Organizations can no longer rely purely upon national approaches to maintain their profitable growth. More and more, companies and industries of all types must globalize in order to maximize their profits. 17 Bina Nusantara

Flowchart Perintah Switch true false …. case a case a action(s) break case b case b action(s) case z case z action(s) default action(s) Currently, governments around the world, multinational corporations, and a multitude of companies are interested, even concerned with the concept of knowledge management. Indeed, even individual Canadian provinces have an interest in understanding the flow of knowledge within their confines, trying to become more aware of the structures that exist within their hierarchies. For example, "Prince Edward Island has agreed to become the first world test site for KAM, a new 'Knowledge Assessment Methodology' devised by the U.S. National Research Council in Washington, and coordinated by the Institute of Island Studies. The KAM will assess the capacity of Prince Edward Island to compete to world standards in what pundits have dubbed 'The Knowledge Economy'. As computers shrink our world, distance begins to disappear; the distinction between center and periphery narrows to insignificance. For Prince Edward Island, where small population and a paucity of natural resources have traditionally been economic inhibitors, the Knowledge Economy provides the potential for significant, environmentally benign economic growth." To understand more about the whys of measuring the flow of knowledge in any institution, one must understand more about knowledge. The real change has come from the necessity for less information and more knowledge. There has been a shift from information to knowledge. Shift from bureaucracies to networks. The traditional hierarchical designs that served the industrial era are not flexible enough to harness an organization's full intellectual capability. Shift from training/development to learning. The role of education has become paramount in all organizations, public and private. Shift from local/national to transnational. Organizations can no longer rely purely upon national approaches to maintain their profitable growth. More and more, companies and industries of all types must globalize in order to maximize their profits. 18 Bina Nusantara

Contoh Program #include <constrea.h> #include <ctype.h> void main() { int bobot, char grade; cout << “Masukkan grade: “; cin >> grade; grade = toupper ( grade ); switch ( grade ) { case ‘A’ : bobot = 4; break; case ‘B’ : bobot = 3; break; case ‘C’ : bobot = 2; break; case ‘D’ : bobot = 1; break; case ‘E’ : bobot = 0; break; default : cout << “salah input bobot“ << endl; } cout << “Bobot = “ << bobot << endl; Currently, governments around the world, multinational corporations, and a multitude of companies are interested, even concerned with the concept of knowledge management. Indeed, even individual Canadian provinces have an interest in understanding the flow of knowledge within their confines, trying to become more aware of the structures that exist within their hierarchies. For example, "Prince Edward Island has agreed to become the first world test site for KAM, a new 'Knowledge Assessment Methodology' devised by the U.S. National Research Council in Washington, and coordinated by the Institute of Island Studies. The KAM will assess the capacity of Prince Edward Island to compete to world standards in what pundits have dubbed 'The Knowledge Economy'. As computers shrink our world, distance begins to disappear; the distinction between center and periphery narrows to insignificance. For Prince Edward Island, where small population and a paucity of natural resources have traditionally been economic inhibitors, the Knowledge Economy provides the potential for significant, environmentally benign economic growth." To understand more about the whys of measuring the flow of knowledge in any institution, one must understand more about knowledge. The real change has come from the necessity for less information and more knowledge. There has been a shift from information to knowledge. Shift from bureaucracies to networks. The traditional hierarchical designs that served the industrial era are not flexible enough to harness an organization's full intellectual capability. Shift from training/development to learning. The role of education has become paramount in all organizations, public and private. Shift from local/national to transnational. Organizations can no longer rely purely upon national approaches to maintain their profitable growth. More and more, companies and industries of all types must globalize in order to maximize their profits. 19 Bina Nusantara

Diskusi dan Tanya Jawab Latihan soal 20 Bina Nusantara