Struktur Data Stack & Queue

Quiz
•
Information Technology (IT)
•
9th Grade
•
Medium
Riki 123
Used 4+ times
FREE Resource
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Konsep dasar stack: Apa prinsip kerja stack?
FIFO (First In First Out)
FILO (First In Last Out)
LIFO (Last In First Out)
LILO (Last In Last Out)
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Operasi apa yang digunakan untuk menambahkan elemen ke stack?
Push
Pop
Insert
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa yang akan terjadi jika kita mencoba melakukan operasi pop pada stack yang kosong?
Elemen terakhir akan dihapus.
Elemen pertama akan dihapus.
Terjadi error atau underflow.
Tidak ada yang terjadi.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa fungsi dari operasi peek dalam stack?
Melihat elemen teratas tanpa menghapusnya.
Menambahkan elemen ke stack.
Menghitung jumlah elemen dalam stack.
Menghapus elemen dari stack.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa yang dimaksud dengan "overflow" pada stack?
Ketika stack tidak terdefinisi.
Ketika stack kosong dan kita mencoba melakukan pop.
Ketika elemen terlalu besar untuk stack.
Ketika elemen baru ditambahkan ke stack yang sudah penuh.
6.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Manakah dari berikut ini yang merupakan operasi stack?
Push
Pop
Enqueue
Peek
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa hasil dari operasi berikut pada stack kosong?
push(5)
push(3)
pop()
push(8)
push(2)
pop()
peek()
8
9
10
11
12
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Quiz KISI KISI PTS PEMROGRAMAN TEKS GRAFIS MULT

Quiz
•
11th Grade
25 questions
Latihan soal PTS kelas XI

Quiz
•
11th Grade
20 questions
Kuis Berpikir Komputasional

Quiz
•
10th Grade
28 questions
ปลายภาคชุดที่1

Quiz
•
University
20 questions
Ulangan Harian

Quiz
•
11th Grade
30 questions
PAS GENAP TIK KELAS X TAHUN 2024

Quiz
•
10th Grade
20 questions
Quiz Komputasional-Struktur Data kelas 9

Quiz
•
9th Grade - University
30 questions
UH INFORMATIKA

Quiz
•
10th Grade - University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Information Technology (IT)
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
12 questions
Graphing Inequalities on a Number Line

Quiz
•
9th Grade
20 questions
Cell Organelles

Quiz
•
9th Grade
28 questions
Ser vs estar

Quiz
•
9th - 12th Grade
15 questions
Two Step Equations

Quiz
•
9th Grade
17 questions
Continents and Oceans

Lesson
•
5th - 9th Grade