Mathematics, Science

University

Image

Tree

83
plays

12 questions

Show Answers
See Preview
1. Multiple-choice
10 minutes
Image
Q. 

Post order traversal :

answer choices

a+b*c+d*e+f*g

abc*+de*f+g*+

++a*bc*+*defg

abc+*+defg*+*

2. Multiple-choice
5 minutes
Image
Q. 

In Order traversal

answer choices

40 20 50 10 30

40 50 20 30 10

10 20 30 40 50

50 40 20 30 10

3. Multiple-choice
1 minute
Q. 

Leaf adalah node pada binary tree dengan

answer choices

1 child

no child

no sibling

2 sibling

4. Multiple-choice
5 minutes
Q. 

Diketahui deret bilangan : 11, 7, 2, 5, 1, 10, 25, 17, 19, 9, 15. Leaf paling kanan dari BST yang dibentuk dari deret di atas adalah

answer choices

12

19

21

17

5. Multiple-choice
10 minutes
Q. 

Diketahui deret bilangan : 11, 7, 2, 5, 1, 10, 25, 17, 19, 9, 15. In order traversal pada BST yang dibentuk dari deret di atas adalah

answer choices

11, 7, 25, 2, 10, 17, 1, 5, 9, 15, 19

1, 5, 2, 9, 10, 7, 15, 19, 17, 25, 11

1, 2, 5, 7, 9, 10, 11, 15, 17, 19, 25

1, 5, 2, 9, 10, 7, 15, 17, 19, 25, 11

6. Multiple-choice
5 minutes
Q. 

Jumlah leaf node maksimum pada Binary Tree dengan tinggi 4 adalah

answer choices

8

16

12

10

7. Multiple-choice
2 minutes
Image
Q. 

Jenis traversal ?

answer choices

pre order

in order

post order

level order

8. Multiple-choice
5 minutes
Image
Q. 

Deret yang dihasilkan menggunakan pre-order traversal adalah :

answer choices

10, 11, 12, 13, 20, 47, 61, 62, 70, 81

70, 11, 10, 47, 20, 12, 13, 61, 62, 81

10, 13, 12, 20, 62, 61, 47, 11, 81, 70

70, 11, 10, 47, 20, 12, 13, 62, 61, 81

9. Multiple-choice
5 minutes
Image
Q. 

Jika dilakukan traversal secara post-order :

answer choices

H D J K E B M F G C A

H D B J E K A F M C G

A B D H E J K C F M G

H J K M D E F G B C A

10. Multiple-choice
5 minutes
Image
Q. 

Jika ingin mengunjungi titik 0 dari titik asal 6, maka rute terdekat yang dapat diambil adalah :

answer choices

0 2 3 4 6

6 4 3 1 0

0 1 3 4 6

6 5 3 1 0

11. Multiple-choice
10 minutes
Image
Q. 

Dengan algoritma Dijkstra, lintasan terpendek dari titik A ke titik E adalah :

answer choices

A C D E

A B D F

A B D E

A C E

12. Multiple-choice
10 minutes
Image
Q. 

Menggunakan Bellman-Ford, rute yg paling optimal dari titik 0 ke titik 4 adalah

answer choices

2

4

7

-2

Quizzes you may like

Quiz image
11 Qs

Garis-garis Sejajar Dipotong Sebuah Garis

20 plays
7th  
Quiz image
15 Qs

Hubungan Antar Garis

88 plays
4th  
Quiz image
18 Qs

Hubungan Antar Garis

4 plays
4th  
Quiz image
15 Qs

Latihan Soal Matematika

10 plays
4th  
Quiz image
10 Qs

Latihan Soal : Corak Kehidupan Manusia Masa Pra Aksara

798 plays
10th  
Quiz image
10 Qs

Latihan Integer

556 plays
1st - 
5th  
Quiz image
15 Qs

Nombor Bulat

1.3K plays
3rd  
Quiz image
10 Qs

Kadar Tindak Balas/ Rate of Reaction

377 plays
11th  
library
create
reports
classes