Stacks/Queues

Quiz
•
Computers, Science
•
University
•
Medium

Dustyn Loyda
Used 160+ times
FREE Resource
9 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is FIFO?
Stack
Linked List
Queue
Inverse Queue
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the stack contain after the following actions?
Push(1);
Push(2);
Push(3);
Push(4);
Pop();
Pop();
Push(5);
1, 2, 3
1, 2, 3, 5
1, 2, 3, 4, 5
1, 2, 5
3.
FILL IN THE BLANK QUESTION
1 min • 1 pt
To add an element to a Queue, you use the ________ () method.
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Convert the infix exression
(A + B) * (C + D)
to Postfix.
A B C * + D +
A B + C D + *
A B * C D * +
A B + C + D +
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which method is important when it comes to popping from a Stack?
IsFull()
canPop()
isEmpty()
peek()
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Eevee
Squirtle
Pikachu
Psyduck
Bulbasaur
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
One difference between stack and queue?
Stacks require dynamic memory, but Queues do not
Stacks use two ends of the structure, Queues use only one
Queues require dynamic memory, but Stacks do not
Queues use two ends of the structure, Stacks use only on
8.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is LIFO?
Stack
Linked List
Queue
Inverse Queue
9.
OPEN ENDED QUESTION
3 mins • 1 pt
What's your favorite Pokemon?
Evaluate responses using AI:
OFF
Similar Resources on Wayground
6 questions
Pre Test Modul 1 & 2

Quiz
•
University
10 questions
DataStructure Quiz -1

Quiz
•
University
12 questions
Data Structures

Quiz
•
University
10 questions
DSA Quiz 2

Quiz
•
University
12 questions
Quiz 2 - Stack

Quiz
•
University
10 questions
Antrean dan Tumpukan (BK) XA

Quiz
•
10th Grade - University
10 questions
Topic 4: CPU Scheduling Quiz

Quiz
•
University
10 questions
data structures

Quiz
•
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 Computers
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
15 questions
Properties of Equality

Quiz
•
8th Grade - University
38 questions
WH - Unit 3 Exam Review*

Quiz
•
10th Grade - University
21 questions
Advise vs. Advice

Quiz
•
6th Grade - University
12 questions
Reading a ruler!

Quiz
•
9th Grade - University