
Struktur Data-Sorting
Authored by Mulia Sulistiyono
Computers
University
Used 100+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
13 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Dibawah ini adalah Algoritma Sorting Kecuali:
Bubble Sort
Quick Sort
Insertion Sort
Selection Sort
Hashing Sort
2.
MULTIPLE SELECT QUESTION
20 sec • 1 pt
Teknik pengurutan data yang membandingkan setiap elemen data dengan seluruh elemen di dekatnya dan melakukan penukaran jika memenuhi kriteria tertentu disebut
Selection Sort
Insertion Sort
Bubble Sort
3.
MULTIPLE SELECT QUESTION
20 sec • 1 pt
Metode pengurutan yang menyeleksi satu per satu data yang ada dan membandingkan satu data dengan satu data yang lain dalam array 1 dimensi.
Insertion Sort
Selection Sort
Bubble Sort
4.
MULTIPLE SELECT QUESTION
20 sec • 1 pt
Metode pengurutan data dengan cara menyisipkan data yang belum urut ke dalam bagian data yang telah terurut secara relatif, penyisipan dilakukan ke bagian sisi kiri.
Insertion Sort
Selection Sort
Bubble Sort
5.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
1 for i←1 to length[A]
2 do for j←length[A] downto i+1
3 do if A[j] < A[j-1]
4 then exchange A[j] ↔ A[j-1]
Penjelasan Pseudocode diatas digunakan untuk metode?
Insertion Sort
Bubble Sort
Selection Sort
6.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
1. For i = 1 to n {
2. Key = A[i]
3. j = i – 1
5. //if j>=0 dan elemen indeks j>key
6. While (j >= 0) and (A[j] > key) {
7. A[j+1] = A[j]
8. j = j -1
9. A[j+1] = key
Penjelasan Pseudocode diatas digunakan untuk metode?
Insertion Sort
Selection Sort
Bubble Sort
7.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
1 for i← 1 to length[A]-1
2 min = i;
3 do for j ← i+1 to length[A]
4 do if A[j] < A[min]
5 min = j;
6 exchange A[min] ↔ A[i]
Penjelasan Pseudocode diatas digunakan untuk metode?
Insertion Sort
Selection Sort
Bubble Sort
Access all questions and much more by creating a free account
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
Already have an account?