Pemahaman Algoritma Pengurutan
Quiz
•
Others
•
10th Grade
•
Practice Problem
•
Hard
Midi Erpansi
Used 3+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa itu algoritma bubble sort?
Bubble sort adalah algoritma yang hanya mengurutkan elemen terbesar.
Bubble sort adalah algoritma pengurutan yang membandingkan dan menukar elemen bersebelahan.
Bubble sort menggunakan metode pengacakan untuk mengurutkan data.
Bubble sort adalah algoritma yang tidak membandingkan elemen satu sama lain.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Bagaimana cara kerja algoritma selection sort?
Selection sort mengurutkan elemen berdasarkan urutan abjad.
Selection sort menggunakan metode penggabungan untuk mengurutkan elemen.
Selection sort adalah algoritma pengurutan yang memilih elemen terkecil dari bagian tidak terurut dan menukarnya dengan elemen pertama dari bagian tersebut.
Selection sort membagi array menjadi dua bagian dan mengurutkan keduanya secara terpisah.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa kelebihan dari algoritma insertion sort?
Kelebihan dari algoritma insertion sort adalah kesederhanaan implementasi, efisiensi pada data yang hampir terurut, stabilitas, dan overhead yang rendah.
Memerlukan ruang tambahan yang besar
Tidak efisien untuk data terurut
Kompleksitas tinggi dalam implementasi
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Berapa kompleksitas waktu terbaik dari bubble sort?
O(log n)
O(n log n)
O(n)
O(n^2)
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa yang terjadi jika array sudah terurut pada bubble sort?
Pertukaran akan terjadi pada setiap iterasi.
Array akan diacak kembali setelah proses selesai.
Algoritma akan melakukan lebih banyak iterasi dari yang diperlukan.
Tidak ada pertukaran yang terjadi dan algoritma dapat berhenti lebih awal.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Dalam algoritma selection sort, elemen mana yang dipilih pertama kali?
Elemen terkecil dari array yang belum terurut.
Elemen acak dari array yang belum terurut.
Elemen terbesar dari array yang belum terurut.
Elemen pertama dari array yang belum terurut.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa yang membedakan insertion sort dari bubble sort?
Insertion sort sorts the entire list in one pass, while bubble sort requires multiple passes.
Insertion sort inserts elements into a sorted portion, while bubble sort swaps adjacent elements.
Insertion sort compares all elements before inserting, while bubble sort only compares the first two.
Insertion sort is faster than bubble sort for all data sizes, regardless of the initial order.
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
15 questions
seni budaya kel.5
Quiz
•
9th - 12th Grade
15 questions
test 1 dasar dasar log
Quiz
•
10th Grade
12 questions
Berpikir Komputasional
Quiz
•
10th Grade
10 questions
Informatika Quiz
Quiz
•
10th Grade
10 questions
Berfikir Komputasional
Quiz
•
10th Grade
10 questions
P5 14 September 2024
Quiz
•
9th - 12th Grade
10 questions
PRETEST
Quiz
•
10th Grade
10 questions
Soal Teks Prosedur untuk Siswa Kelas 10
Quiz
•
10th Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
Discover more resources for Others
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
10 questions
Exploring the Origins of Veterans Day
Interactive video
•
6th - 10th Grade
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade
10 questions
Understanding Protein Synthesis
Interactive video
•
7th - 10th Grade
10 questions
Exploring Newton's Laws of Motion
Interactive video
•
6th - 10th Grade
10 questions
Exploring the Origins of Veterans Day
Interactive video
•
6th - 10th Grade
