
CHAPTER 3 : STACKS

Quiz
•
Computers
•
University
•
Medium
Azilah Rahim
Used 3+ times
FREE Resource
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does LIFO stand for in the context of stack operations?
Last In First Out
Last In Final Out
Last Item First Out
Last Input First Output
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What error occurs when attempting to push an item into a full stack implemented with an array?
Underflow
Overflow
Null Pointer Exception
Out of Memory
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a real-life example of a stack?
Queue at a bus stop
Pile of dishes in a cupboard
Line of cars in traffic
People sitting in a circle
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which operation adds an item to the top of the stack?
Pop
Push
Peek
Shift
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What problem can occur when attempting to pop an item from an empty stack?
Overflow
Underflow
Overload
Underload
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which stack operation returns the top item without removing it from the stack?
Push
Pop
Peek
Shift
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In a stack, which position is considered for adding (pushing) and removing (popping) items?
Bottom
Middle
Anywhere
Top
Create a free account and access millions of resources
Similar Resources on Wayground
25 questions
Code Sprint

Quiz
•
University
25 questions
Quiz Data Structures unit II

Quiz
•
University
31 questions
ITSC-2214 Quiz 2

Quiz
•
University
25 questions
Prak Pengembangan Aplikasi Bergerak

Quiz
•
University
30 questions
DS_WeeklyTest-4

Quiz
•
University
32 questions
Automata Theory Final Exam

Quiz
•
University
30 questions
Quiz Informatika 7

Quiz
•
7th Grade - University
25 questions
CHAPTER 4- QUEUES

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

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

Interactive video
•
4th Grade - University
10 questions
The Constitution, the Articles, and Federalism Crash Course US History

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

Interactive video
•
4th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
16 questions
Water Modeling Activity

Lesson
•
11th Grade - University
10 questions
ACT English prep

Quiz
•
9th Grade - University