5. HL Extension — Abstract Data Structures
Stacks — Quiz
Test your understanding of stacks with 5 practice questions.
Practice Questions
Question 1
What is a stack in computer science?
Question 2
Which operation adds an item to the top of a stack?
Question 3
Which operation removes the item at the top of a stack?
Question 4
What does it mean if a stack is empty?
Question 5
Which real-world example best matches the behavior of a stack?
