
Struktur Data: Stack & Queue
Quiz
•
Computers
•
University
•
Practice Problem
•
Medium
Hani Nurrahmi
Used 93+ times
FREE Resource
Enhance your content in a minute
23 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Apa prinsip kerja Stack?
First In First Out
Last In Last Out
Last In First Out
First In Last Out
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Jika dilakukan operasi stack secara berurutan sebagai berikut:
push(S, 19)
push(S, 14)
push(S, 54)
Apa output yang dihasilkan jika kita print info stack mulai dari Top?
54, 19, 14
54, 14, 19
19, 14, 54
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Perhatikan 4 data karakter berikut ini:
L E A P
Tuliskan urutan operasi push yang harus dilakukan pada stack agar output yang dihasilkan saat print info stack mulai dari top adalah A P E L
push (S, "P")
push (S, "L")
push (S, "A")
push (S, "E")
push (S, "L")
push (S, "E")
push (S, "P")
push (S, "A")
push (S, "A")
push (S, "P")
push (S, "E")
push (S, "L")
push (S, "L")
push (S, "E")
push (S, "A")
push (S, "P")
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Jika dilakukan operasi stack secara berurutan sebagai berikut:
push(S, 19)
push(S, 14)
push(S, 54)
pop(S)
push(S, 76)
pop(S)
push(S, 100)
Apa output yang dihasilkan jika kita print info stack mulai dari Top?
19, 14, 100
19, 14, 54, 76, 100
100, 14, 19
100, 76, 54, 14, 19
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Di bawah ini yang merupakan pernyataan salah mengenai stack adalah
Struktur data yang menyimpan dengan cara seperti tumpukan
Menggunakan top of stack sebagai informasi untuk operasi push maupun pop
Merupakan penyimpanan dengan prosedur LIFO (Last in First Out)
Menyimpan alamat dari elemen lain berdasarkan posisinya
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Operasi dalam stack yang digunakan untuk menyisipkan atau menambahkan data baru adalah
push
pop
insert
top
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Operasi yang digunakan untuk mengambil atau menghapus data pada struktur data stack adalah
push
pop
top
delete
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?
Similar Resources on Wayground
20 questions
ISD and Network
Quiz
•
University
20 questions
Latihan Informatika Kelas 9
Quiz
•
9th Grade - University
20 questions
INFO MNGT MIDTERM EXAM P4
Quiz
•
University
22 questions
1.1.3 Input, output and storage
Quiz
•
11th Grade - University
20 questions
PWA Progress Web Aplication
Quiz
•
University
20 questions
SIA2
Quiz
•
University
20 questions
Alles über YouTube
Quiz
•
5th Grade - University
20 questions
DBMS Quiz
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
