Algoritma Greedy - Berpikir Komputasional | Informatika XI

Sinau Maning
6 Aug 202316:37

Summary

TLDRThis educational video script introduces the concept of '3D' algorithms in computer science, which stands for 'Greedy' strategies used for optimization problems. It illustrates the application of the Greedy algorithm through two examples: maximizing the number of fish Budi can carry and ensuring Cici completes the most homework within a time limit. The script also covers a practical scenario of currency exchange, aiming to minimize the number of banknotes used to make a transaction. The lesson concludes with reflective questions to deepen understanding and encourages students to apply the Greedy algorithm to real-life optimization problems.

Takeaways

  • πŸ˜€ The term '3D' in computational context stands for 'Greedy', a strategy for problem-solving that is useful in designing algorithms for computational problems.
  • πŸ“š '3D' technique is a common approach used to solve optimization problems, where the goal is to calculate the best possible outcome from a given process.
  • 🐟 An example of applying the 3D algorithm is illustrated by a scenario where a character named Budi needs to maximize the number of fish he can carry in a limited number of bags.
  • πŸ”’ The script explains the importance of sorting data in ascending or descending order to apply the 3D algorithm effectively, as seen in the fish carrying example.
  • πŸ“ˆ The script introduces a problem-solving scenario where a character named Cici has to prioritize homework assignments based on the time required to complete them within a limited timeframe.
  • 🐘 Another example provided is about optimizing the number of animal shows Dina can watch in a day at a zoo, given that she can only watch one show at a time.
  • πŸ’΅ The script discusses a practical everyday problem of currency exchange, where the challenge is to use the least number of banknotes to make up a certain amount of money.
  • 🧩 The script suggests that the 3D algorithm can be applied to various everyday optimization problems, such as choosing the best combination of banknotes to minimize the total number of notes used.
  • πŸ€” The script encourages critical thinking by asking reflective questions about the applicability of the 3D algorithm to different optimization problems and whether it always yields the most optimal solution.
  • πŸ“ The script concludes with a call to action for students to practice the discussed concepts and reflect on the most effective learnings from the exercise.

Q & A

  • What does the term '3D' stand for in the context of computational problem-solving?

    -In the context of computational problem-solving, '3D' stands for 'Greedy', which is a strategy for solving problems that can be useful in designing an algorithm or solution for a computational problem.

  • What is the meaning of 'optimization problem' in the script?

    -An 'optimization problem' refers to a problem where one seeks to calculate the best result from a certain process, which can mean the smallest or largest value depending on the nature of the problem.

  • How does the 3D algorithm apply to the problem of Budi carrying fish in plastic bags?

    -The 3D algorithm applies by sorting the bags from the one with the most fish to the one with the least, and then selecting the bags with the most fish first until the car's capacity is reached, to carry the maximum number of fish possible.

  • What is the total number of fish Budi can carry if he takes the first four bags as per the 3D algorithm?

    -If Budi takes the first four bags sorted by the 3D algorithm, the total number of fish he can carry is 25.

  • How does the 3D algorithm help in solving the problem of carrying at least 15 fish in the second example?

    -The 3D algorithm helps by selecting the bags with the most fish first, ensuring that the minimum number of bags needed to carry at least 15 fish is chosen.

  • What is the minimum number of bags Budi needs to carry to have at least 15 fish in the second example?

    -Budi needs to carry 3 bags to have at least 15 fish in the second example.

  • What is the importance of sorting data in the context of the 3D algorithm?

    -Sorting data is important in the context of the 3D algorithm because it allows for a series of 3D steps to be taken on the sorted data, which is a common pattern used in solving optimization problems.

  • What is the task Cici has to prioritize in the homework assignment scenario?

    -Cici has to prioritize which homework assignments (PR) to complete first, considering she only has 8 hours before they are due, and she wants to maximize the total value of the completed assignments.

  • How does the 3D algorithm apply to Dina's problem of watching as many animal shows as possible in one day?

    -The 3D algorithm can be applied by selecting the shows that start first and have the longest duration, ensuring that Dina can watch the maximum number of shows within the day.

  • What is the main challenge in the currency exchange problem presented in the script?

    -The main challenge in the currency exchange problem is to determine how to use the available denominations of currency to produce a specific amount of money with the minimum number of bills.

  • Can the 3D algorithm always find the most optimal solution for currency exchange problems?

    -The 3D algorithm may not always find the most optimal solution for currency exchange problems, as it depends on the available denominations and the specific amount to be exchanged.

  • What is an example of an optimization problem in everyday life that is not mentioned in the script?

    -An example of an optimization problem in everyday life that is not mentioned in the script could be planning a route for a delivery truck to minimize travel distance while maximizing the number of deliveries.

Outlines

00:00

🐟 Greedy Algorithm in Computational Problem Solving

This paragraph introduces the concept of the Greedy algorithm in the context of computer science, specifically within the field of computational thinking and algorithm design. It contrasts the negative connotations of 'greedy' in everyday language with its technical meaning as a problem-solving strategy. The Greedy algorithm is used to design solutions for optimization problems, aiming to calculate the best possible outcome from a given process. The example of Budi choosing the most fish from a set of bags with varying numbers of fish is used to illustrate how the Greedy algorithm can be applied. The strategy involves sorting the bags by the number of fish they contain and then selecting the bags with the most fish first until a certain limit is reached. This approach is shown to be effective for both maximizing the total number of fish and meeting a minimum requirement.

05:05

πŸ“š Applying the Greedy Algorithm to Homework Prioritization

The second paragraph presents a scenario where the Greedy algorithm can be used to solve a real-life problem. Cici, a student, has to complete 10 pieces of homework (PR) with varying estimated completion times but only has 8 hours available. The paragraph outlines the time required for each PR and asks how Cici should prioritize her tasks to maximize the total value of completed homework within the time constraint. The Greedy algorithm is suggested as a method to solve this problem by sorting the PRs based on their estimated completion times and selecting the ones that can be completed within the given time frame.

10:09

πŸŽͺ Maximizing Zoo Attractions with the Greedy Strategy

This paragraph discusses another application of the Greedy algorithm, this time in the context of planning a visit to a zoo with multiple scheduled animal shows. Dina wants to watch as many shows as possible within a day, but each show is at a specific time, and she can only attend one at a time. The paragraph lists the various shows and their timings, posing the question of how Dina can maximize the number of shows she watches. The Greedy algorithm is hinted at as a potential strategy for solving this problem, possibly by selecting shows that are closest together in time or that have the most appealing content.

15:11

πŸ’΅ Optimal Currency Exchange Using the Greedy Approach

The final paragraph explores the application of the Greedy algorithm in currency exchange. It describes a scenario where one needs to make change for a specific amount using the least number of banknotes. The Indonesian Rupiah is used as an example, with various denominations available. The paragraph presents different combinations of banknotes that could be used to make up a total of 38,000 Rupiah and asks how one would choose the denominations to minimize the total number of banknotes. The Greedy algorithm is suggested as a method to solve this problem by always choosing the largest denomination that fits the remaining amount to be made up, thus reducing the total number of banknotes needed.

Mindmap

Keywords

πŸ’‘Algorithm

An algorithm is a set of step-by-step instructions designed to accomplish a specific task or solve a particular problem. In the context of the video, algorithms are used to solve computational problems, particularly those related to optimization. The video discusses how algorithms can be applied to everyday scenarios, such as maximizing the number of fish Budi can carry or minimizing the number of bags he needs to bring, illustrating the practical application of algorithms in problem-solving.

πŸ’‘Greedy Strategy

The Greedy Strategy is a problem-solving approach where the solution involves making the locally optimal choice at each stage with the hope that these local optimizations will lead to a global optimum. The video explains that in the context of computer science, 'greedy' does not have a negative connotation but rather refers to a method of solving optimization problems by choosing the best immediate, or local, option. An example given is selecting the largest bags of fish first to maximize the total number of fish Budi can carry in his car.

πŸ’‘Optimization Problem

An optimization problem is a type of problem where the goal is to find the best solution from a set of available options, often to maximize or minimize a certain value. The video uses optimization problems to demonstrate the application of algorithms, such as determining the best way to pack fish into bags to maximize the total number of fish or to minimize the number of bags needed to carry a certain number of fish.

πŸ’‘Computational Thinking

Computational thinking involves solving problems, designing systems, and understanding human behavior by drawing on the concepts fundamental to computer science. The video's theme revolves around computational thinking, showing how it can be applied to create algorithms for everyday optimization problems. It encourages viewers to think critically and logically to devise efficient solutions.

πŸ’‘Sorting

Sorting is the process of arranging items in a specific order, often from smallest to largest or vice versa. In the video, sorting is a crucial step in applying the 3D algorithm, as it organizes data in a way that allows for the efficient selection of items, such as choosing the bags with the most fish to maximize the total quantity carried.

πŸ’‘Local Optima

Local optima are solutions that are optimal within a particular area or set of choices but may not be the best solution overall. The video discusses how the Greedy Strategy can lead to local optima by making the best choice at each step without considering the broader context, which might be necessary for finding a global optimum.

πŸ’‘Bags of Fish

The 'bags of fish' scenario is a practical example used in the video to illustrate the application of the Greedy Strategy in solving optimization problems. Budi has to choose which bags of fish to take based on the capacity of his car and the number of fish in each bag. This scenario demonstrates how algorithms can be used to make decisions that optimize outcomes in everyday situations.

πŸ’‘Critical Thinking

Critical thinking is the ability to analyze and evaluate information objectively to form judgments. The video emphasizes the importance of critical thinking in the process of solving problems computationally. It is highlighted as a key skill in determining the most efficient algorithms and in evaluating whether a solution is optimal.

πŸ’‘Currency Exchange

The 'currency exchange' scenario in the video is used to discuss another type of optimization problem where the goal is to minimize the number of banknotes used to make a specific amount of money. This example shows how computational thinking can be applied to practical, real-world financial transactions, optimizing the process of giving change or making exact payments.

πŸ’‘Reflection

Reflection is the process of thinking deeply about one's experiences, insights, and learning. Towards the end of the video, the concept of reflection is introduced as a way for viewers to consolidate their understanding of the material. It encourages them to think about the lessons learned and how they can apply these strategies to other optimization problems they might encounter.

Highlights

Introduction to the concept of 3D algorithms in computational problem-solving.

Explanation of the term 'Greedy' in the context of computer science, contrasting its negative connotations in everyday language.

Description of the 3D technique as a problem-solving strategy used for optimization problems.

Definition of optimization problems as aiming to calculate the best result from a specific process.

Example of applying the 3D algorithm to maximize the number of fish Budi can carry in his car.

Illustration of sorting bags of fish from the most to the least to apply the 3D algorithm effectively.

Calculation of the maximum number of fish Budi can carry by choosing the right bags.

Second example where Budi needs to carry at least 15 fish, demonstrating the 3D algorithm's application for minimum requirements.

Emphasis on the importance of sorting data in problem-solving, particularly before applying the 3D algorithm.

Group activity involving Cici prioritizing homework assignments based on time constraints and equal value of each assignment.

Introduction of a visit to the zoo activity where Dina has to choose which animal shows to watch within a day.

Explanation of the currency exchange activity, focusing on the practical application of the 3D algorithm in daily life.

Challenge of finding the optimal way to make change using the least number of banknotes for a given amount.

Discussion on whether the 3D algorithm can always provide the most optimal solution in currency exchange problems.

Reflection questions posed to the audience to consider the application of the 3D algorithm in other optimization problems.

Conclusion and encouragement for the audience to apply the concepts learned in their studies and problem-solving.

Transcripts

play00:00

[Musik]

play00:08

Assalamualaikum warahmatullahi

play00:09

wabarakatuh bertemu lagi di pelajaran

play00:12

Informatika kelas 11 pada materi

play00:16

strategi algoritmik dan pemrograman

play00:20

yaitu Masih pada berpikir komputasional

play00:23

pada bagian algoritma 3D

play00:28

3D secara harfiah berarti Rakus atau

play00:31

tamak meskipun dalam pengertian

play00:34

sehari-hari kata rakus dan tamak

play00:37

memiliki konotasi negatif namun dalam

play00:41

konteks Informatika kita mengartikan

play00:44

Greedy dalam konteks sebagai sebuah

play00:47

strategi penyelesaian masalah yang dapat

play00:50

berguna dalam merancang sebuah algoritma

play00:53

atau solusi bagi sebuah permasalahan

play00:57

komputasional Oleh karena itu diharapkan

play01:01

tidak ada konotasi negatif pada kata

play01:04

Greedy dalam konteks ini Teknik 3D

play01:08

adalah salah satu teknik penyelesaian

play01:11

masalah yang biasa digunakan untuk

play01:13

menyelesaikan permasalahan optimasi

play01:17

permasalahan optimasi berarti kita ingin

play01:20

menghitung sebuah hasil yang terbaik

play01:23

dari sebuah proses tertentu terbaik

play01:27

ini dapat berarti nilai yang paling

play01:30

kecil ataupun paling besar tergantung

play01:34

dari jenis permasalahannya dalam

play01:37

menyelesaikan permasalahan optimasi

play01:40

algoritma 3D akan menerapkan prinsip

play01:43

mengambil serangan langkah terbaik pada

play01:46

setiap saat contoh

play01:50

Budi ingin membawa beberapa ekor ikan

play01:53

yang sudah tersimpan dalam

play01:55

kantong-kantong plastik untuk diangkut

play01:58

di dalam mobilnya terdapat 8 buah

play02:01

kantong dengan yang berisi masing-masing

play02:05

tiga lima dua

play02:09

delapan empat

play02:12

enam

play02:13

enam dan tiga ekor ikan namun sayangnya

play02:18

mobilnya hanya mampu membawa empat buah

play02:22

kantong

play02:23

kantong-kantong manakah yang harus

play02:25

dibawa oleh Budi agar jumlah ikan yang

play02:29

dibawanya sebanyak mungkin untuk dapat

play02:33

membawa sebanyak mungkin ikan Budi harus

play02:36

memilih kantong-kantong dengan sebanyak

play02:38

mungkin ikan

play02:40

Oleh karena itu

play02:42

algoritma 3D dapat diterapkan di sini

play02:45

dengan cara kita mengambil

play02:48

kantong-kantong mulai dari yang berisi

play02:51

ikan paling banyak terlebih dahulu

play02:54

sampai didapatkan 4 buah kantong dengan

play02:58

demikian kita harus mengurutkan

play03:01

kantong-kantong terlebih dahulu

play03:03

mulai dari yang paling banyak ikannya

play03:07

sampai dengan yang paling sedikit

play03:10

sehingga urutannya menjadi

play03:16

866 54332

play03:24

jika kita mengambil 4 buah kantong

play03:27

pertama maka total banyaknya ikan yang

play03:31

dapat dibawa adalah 8 ditambah 6 tambah

play03:36

6 tambah 5 sama dengan 25 ekor ikan

play03:41

tentunya tidak ada pilihan 4 kantong

play03:45

yang akan menghasilkan total banyaknya

play03:48

ikan lebih dari 25 ekor contoh yang

play03:53

kedua

play03:54

kali ini Budi harus membawa sedikitnya

play03:57

15 ekor ikan tentunya jumlah kantong

play04:02

terkecil yang harus dibawa oleh Budi

play04:05

agar dapat membawa minimal 15 ekor ikan

play04:11

sama seperti pada permasalahan

play04:13

sebelumnya kita dapat menerapkan

play04:17

algoritma 3D untuk menyelesaikan

play04:19

permasalahan ini

play04:22

dalam hal ini untuk memperkecil

play04:24

banyaknya kantong yang harus dibawa maka

play04:28

kita juga selalu memilih kantong dengan

play04:31

jumlah ikan terbanyak terlebih dahulu

play04:34

jika kita memilih kantong dengan jumlah

play04:37

ikan 8 dan 6 maka kita sudah memiliki 14

play04:42

ekor ikan

play04:45

selanjutnya kita hanya perlu mengambil

play04:48

satu kantong lagi yang mana saja agar

play04:51

total jumlah ikan menjadi lebih dari 15

play04:55

Oleh karena itu jawaban yang diinginkan

play04:59

adalah 3 buah kantong jelas bahwa tidak

play05:04

ada pilihan yang memungkinkan kita

play05:07

mendapatkan 15 ekor ikan dengan dua atau

play05:12

kurang kantong pada kedua contoh di atas

play05:16

terdapat satu langkah yang penting yang

play05:19

biasa diterapkan pada penyelesaian

play05:21

masalah secara kritis

play05:24

yaitu proses mengurutkan sebuah data

play05:27

agar menjadi terurut mungkin dari kecil

play05:30

ke besar atau sebaliknya agar kemudian

play05:34

kita dapat melakukan serangkaian

play05:37

pengambilan langkah secara 3D pada data

play05:40

yang sudah terurut tersebut pola seperti

play05:44

ini umum digunakan pada penyelesaian

play05:47

permasalahan secara gerigi selanjutnya

play05:51

Ayo berlatih aktivitas kelompok dengan

play05:55

judul mengerjakan pekerjaan rumah atau

play05:58

PR deskripsi tugasnya sebagai berikut

play06:03

Cici menerima 10 buah pekerjaan rumah

play06:07

yang harus ia kerjakan

play06:11

setelah melihat isi dari masing-masing

play06:13

PR biji memiliki perkiraan berapa lama

play06:18

waktu yang diperlukan untuk mengerjakan

play06:21

masing-masing PR tersebut

play06:24

seperti terlihat pada tabel berikut

play06:29

PR pelajaran a waktu mengerjakan satu

play06:34

setengah jam PR mapel b 3 jam

play06:39

PR mapel C 1 jam

play06:42

PR mata pelajaran D waktu pengerjaannya

play06:45

setengah jam

play06:48

PR mapel e 4 jam PR mapel F 1 jam

play06:54

pekerjaan rumah mapel D waktu

play06:58

pengerjaannya dua setengah jam PR mapel

play07:01

H 1 jam PR mapel I setengah jam PR mapel

play07:07

J waktu pengerjaannya kira-kira 2 jam

play07:12

sayangnya

play07:14

ia tidak punya banyak waktu untuk

play07:17

mengerjakan semua PR

play07:19

Cici sudah menghitung bahwa ia hanya

play07:23

punya waktu total 8 jam sebelum semua PR

play07:27

tersebut harus dikumpulkan

play07:29

Cici ingin menentukan PR mana yang harus

play07:33

ia kerjakan terlebih dahulu dengan

play07:35

pertimbangan bahwa setiap PR memiliki

play07:38

nilai yang sama besarnya terhadap nilai

play07:42

akhir Fiki bantulah Cici menentukan PR

play07:46

yang mana saja yang harus ia kerjakan

play07:48

dalam waktu maksimal 8 jam untuk

play07:52

mendapatkan total nilai akhir yang

play07:55

sebesar-besarnya aktivitas individu

play07:58

berikutnya yaitu mengunjungi kebun

play08:01

binatang

play08:02

deskripsi tugasnya sebagai berikut

play08:05

Dina sedang bertamasya mengunjungi kebun

play08:09

binatang setiap hari kebun binatang

play08:12

mengadakan beberapa pertunjukan atraksi

play08:15

hewan yang dapat ditonton oleh para

play08:17

pengunjung berikut adalah jadwal yang

play08:21

telah ditetapkan oleh pengelola kebun

play08:24

binatang

play08:25

pertunjukan atau atraksi hewan orangutan

play08:29

itu dimulai pukul 09.15 dan selesai

play08:33

10.30

play08:36

pukul 8 sampai 9.30

play08:39

itu pertunjukan penguin

play08:43

pukul 10 sampai 12 pertunjukan atau

play08:47

atraksi hewan harimau

play08:50

pukul

play08:51

13.30 yaitu

play08:54

pertunjukan beruang madu

play08:57

pukul 11.00 sampai 12.30

play09:00

pertunjukan burung pemangsa pukul 14.00

play09:05

sampai 15 pertunjukan buaya

play09:09

selanjutnya pukul 15.30 sampai 16.30

play09:14

pertunjukan Panda waktu mulai pukul

play09:19

16.00 dan waktu selesai pukul 17

play09:22

pertunjukan atau atraksi hewan ular

play09:26

piton

play09:27

kemudian pukul 15.00 sampai 15.30 adalah

play09:31

pertunjukan singa dan pukul 15.30 sampai

play09:36

pukul 16 atraksi hewan anjing laut

play09:41

tentunya dalam satu waktu tertentu Dina

play09:45

hanya dapat menonton satu pertunjukan

play09:48

atraksi hewan Dina ingin dapat melihat

play09:52

sebanyak-banyaknya pertunjukan dalam

play09:54

satu hari tersebut dan ia tidak dapat

play09:57

memiliki preferensi dalam Melihat

play10:00

pertunjukan hewan atau artinya semuanya

play10:04

ia anggap sama menariknya Tentukan ada

play10:09

berapa banyak maksimal pertunjukan yang

play10:11

dapat ditonton oleh Dina aktivitas

play10:15

berikutnya

play10:16

judulnya adalah menukar uang

play10:20

deskripsinya sebagai berikut dalam

play10:23

kehidupan sehari-hari kita pasti sudah

play10:26

punya

play10:27

banyak terbiasa dalam perhitungan yang

play10:31

melibatkan uang misalnya ketika Anda

play10:34

membeli sebuah barang atau makanan

play10:36

ataupun ingin membayar untuk sebuah jasa

play10:40

tertentu seringkali menyiapkan sebuah

play10:43

sejumlah uang tertentu

play10:46

sesuai dengan harga barang atau jasa

play10:49

tersebut

play10:50

selanjutnya bagi penjual atau penyedia

play10:53

jasa Apabila mereka menerima uang

play10:56

pembayaran dengan jumlah total yang

play10:58

lebih besar dari harga yang ditetapkan

play11:01

Mereka pun juga harus menyiapkan uang

play11:04

kembalian sesuai dengan jumlah kelebihan

play11:07

pembayaran

play11:09

di Indonesia mata uang Rupiah memiliki

play11:12

beberapa pecahan uang mulai dari yang

play11:15

terkecil Rp100

play11:19

dan seterusnya sampai dengan 100.000

play11:24

seandainya kita memiliki sejumlah

play11:27

pecahan uang misalnya beberapa uang

play11:30

seribuan 2000-an

play11:33

rp5.000-an rp10.000-an dan 20 ribuan

play11:38

Jika kita ingin mendapatkan uang tepat

play11:41

sejumlah

play11:43

38.000 maka kita dapat memilih beberapa

play11:47

cara

play11:49

Cara yang pertama misalnya 3 lembar 10

play11:53

ribuan ditambah satu lembar 5 ribuan

play11:56

ditambah dua lembar ribuan ditambah 2

play12:02

koin 500 dengan total 8 buah lembaran

play12:06

uang koin yang kedua satu lembar 20

play12:11

ribuan ditambah satu lembar 10 ribuan

play12:13

ditambah 4 lembar 2000-an totalnya

play12:17

menjadi 6 lembaran uang

play12:21

yang selanjutnya bisa juga satu lembar

play12:24

20 ribuan ditambah satu lembar 10 ribuan

play12:27

ditambah satu lembar rp5.000-an ditambah

play12:31

satu lembar 2000-an ditambah satu lembar

play12:34

seribuan dengan total ada lima lembaran

play12:39

uang

play12:41

jelas bahwa jumlah total lembaran yang

play12:44

dibutuhkan tergantung dari pemilihan

play12:46

pecahan uang yang kita gunakan

play12:49

nah permasalahan yang mungkin kita

play12:52

tanyakan adalah bagaimana caranya

play12:55

Memilih pecahan-pecahan uang yang akan

play12:58

digunakan sedemikian rupa sehingga total

play13:02

lembaran yang diperlukan untuk

play13:03

menghasilkan suatu nilai uang tertentu

play13:06

menjadi sekecil mungkin pada contoh di

play13:11

atas dapat diperiksa bahwa untuk

play13:13

menghasilkan nilai uang sebesar

play13:16

38.000 dari pecahan-pecahan seribuan

play13:21

2000-an 5 ribuan

play13:24

10ribuan dan 20ribuan maka diperlukan

play13:28

minimal 5 buah lembar uang Yaitu sesuai

play13:33

dengan cara terakhir di atas

play13:36

dapatkah kalian mencari strategi yang

play13:39

umum untuk menyelesaikan permasalahan

play13:41

serupa Jika jumlah uang yang dihasilkan

play13:45

berbeda namun pecahan-pecahan uang yang

play13:48

sama

play13:49

kita bisa menganggap bahwa jumlah nilai

play13:52

yang diinginkan selalu merupakan

play13:54

kelipatan ribuan rupiah sehingga selalu

play13:58

didapatkan dengan menggabungkan

play14:00

pecahan-pesan di atas selanjutnya Ayo

play14:04

renungkan setelah selesai melakukan

play14:06

aktivitas di atas jawablah pertanyaan

play14:08

berikut pada buku refleksi yang pertama

play14:12

Apakah kalian dapat memberikan sebuah

play14:15

contoh lain dari permasalahan optimasi

play14:18

yang ada di kehidupan sehari-hari

play14:21

yang kedua untuk contoh permasalahan

play14:24

yang kalian pilih sebagai jawaban nomor

play14:26

1 Menurut kalian apakah algoritma 3D

play14:31

dapat diterapkan pada permasalahan

play14:33

tersebut yang ketiga pada permasalahan

play14:37

penukaran uang pada aktivitas soal

play14:40

Apakah algoritma 3D selalu dapat

play14:43

digunakan untuk mencari jawaban yang

play14:46

paling optimal berikutnya pada

play14:50

permasalahan penukaran uang di atas

play14:52

Apakah algoritma 3D selalu dapat

play14:55

digunakan untuk mencari jawaban yang

play14:58

paling optimal

play14:59

ambil sebuah contoh kasus dimana pecahan

play15:03

yang tersedia hanya 1000

play15:06

2000 dan 10.000 dan kita ingin menukar

play15:10

nilai 15.000 berapakah jawaban yang

play15:14

diberikan oleh algoritma TV pada kasus

play15:17

seperti ini apakah ini adalah jawaban

play15:21

yang optimal untuk kasus Pertanyaan

play15:24

nomor 3 Menurut kalian strategi Seperti

play15:28

apakah yang kira-kira lebih tepat untuk

play15:31

digunakan

play15:33

pertanyaan berikutnya pada Ayo Renungkan

play15:37

pelajaran paling berkesan apa yang

play15:39

kalian dapatkan dari latihan ini

play15:43

demikian tadi materi berpikir

play15:46

komputasional pada bagian algoritma BT

play15:50

Terima kasih semoga bermanfaat Selamat

play15:54

belajar dan tetap semangat

play16:03

[Musik]

Rate This
β˜…
β˜…
β˜…
β˜…
β˜…

5.0 / 5 (0 votes)

Related Tags
AlgorithmsOptimizationComputational ThinkingEducational ContentGreedy StrategyProblem SolvingInformaticsEducational VideoLearning StrategiesTeaching Methods