
Struktur Data
Authored by Sepyan Kristanto
Computers
University
Used 5+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
36 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
15 mins • 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
15 mins • 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
15 mins • 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
15 mins • 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
15 mins • 1 pt
Elemen stack paling atas disebut ...
First
Top
Head
6.
MULTIPLE CHOICE QUESTION
15 mins • 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
7.
MULTIPLE CHOICE QUESTION
15 mins • 1 pt
Operasi dalam stack yang digunakan untuk menyisipkan atau menambahkan data baru adalah
push
pop
insert
top
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
35 questions
Ujian Informatika Kelas VIII
Quiz
•
8th Grade - University
31 questions
Informatique
Quiz
•
12th Grade - University
40 questions
PTS AIJ XI TKJ GENAP 2022/2023
Quiz
•
University
37 questions
Module 4
Quiz
•
University
36 questions
Ôn Tập HK1 Tin Học 11
Quiz
•
11th Grade - University
36 questions
Module 3-4 ICT QUIZ
Quiz
•
12th Grade - University
40 questions
Basic Algorithm in C (Data type, Expression, Branching, Looping)
Quiz
•
University
40 questions
Java-Collections
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
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th 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