
Struktur Data: Stack & Queue
Quiz
•
Computers
•
University
•
Medium
Hani Nurrahmi
Used 92+ times
FREE Resource
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
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
20 questions
PC Safety and Maintenance
Quiz
•
University
20 questions
HCI - UCD
Quiz
•
University
20 questions
Y7 computational thinking
Quiz
•
6th Grade - University
20 questions
Python Recap
Quiz
•
7th Grade - University
20 questions
IT Essential UIUX Chapter 1 & 2
Quiz
•
University
20 questions
STM 2013 : FORMATIF T3-FORM & REPORT
Quiz
•
University
20 questions
Chapter 3: Strategic Initiatives for implementing CA
Quiz
•
University
18 questions
Juego sobre pseudocódigo en PseInt
Quiz
•
University
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
6 questions
FOREST Self-Discipline
Lesson
•
1st - 5th Grade
7 questions
Veteran's Day
Interactive video
•
3rd Grade
20 questions
Weekly Prefix check #2
Quiz
•
4th - 7th Grade
Discover more resources for Computers
7 questions
Different Types of Energy
Interactive video
•
4th Grade - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
25 questions
Waves-8th Grade Physical Science
Quiz
•
KG - University
41 questions
Unit 8 Key Terms
Quiz
•
11th Grade - University
10 questions
Product & Quotient Derivative Rules
Quiz
•
University
5 questions
How to Calculate Force - Newton's 2nd Law of Motion
Interactive video
•
10th Grade - University
10 questions
Dichotomous Key
Quiz
•
KG - University
