Berikut adalah sebuah Stack (S) yang berisi 5 elemen (dari atas ke bawah: 9, 4, 7, 8, 15), dan sebuah Queue kosong(Q). Pindahkan satu persatu elemen dari S ke Q, setelah itu pindahkan kembali satu persatu elemen tersebut dari Q ke S. Berikut ini adalah isi dari Ssetelah perpindahan tersebut (dari atas ke bawah)...

UAS- ALS 19

Quiz
•
Computers
•
University
•
Medium
Emely Lestari
Used 1+ times
FREE Resource
18 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
4, 7, 8, 9, 15
9, 4, 7, 15, 8
9, 4, 7, 8, 15
4, 9, 7, 8, 15
15, 8, 7, 4, 9
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
14, 9, 10, 36, 30, 31, 50
14, 9, 10, 30, 31, 36, 50
9, 10, 14, 30, 31, 36, 50
10, 9, 31, 30, 50, 36, 14
10, 9, 30, 31, 50, 14, 36
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Berapa banyak linked list yang dibutuhkan untuk merepresentasikan suatu graph dengan n node dan m edge dengan menggunakan list kedekatan?
n
m+n
n+1
m
m*n
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Adjacency Matrix harus memiliki jumlah baris dan kolom yang sama
true
false
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Struktur data yang digunakan untuk implementasi rekursif adalah..
array dan tree
queue
tree
array
stack
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Metode traversal manakah yang menghasilkan data yang terurut dari sebuah Binary Search Tree?
In Order
Post Order
Level Order
Pre Order
Down Order
Create a free account and access millions of resources
Similar Resources on Quizizz
15 questions
AS Computing: Data Structures

Quiz
•
10th Grade - University
15 questions
Stacks and Queues Quiz

Quiz
•
University
20 questions
Data Structures

Quiz
•
University - Professi...
14 questions
Data Structure

Quiz
•
University
17 questions
QUEUE

Quiz
•
University
15 questions
Assesmen Kognitif (XI)

Quiz
•
11th Grade - University
20 questions
DATA STRUCTURES

Quiz
•
University
20 questions
Data Structures

Quiz
•
University
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade