
CHAPTER 3 : STACKS
Authored by Azilah Rahim
Computers
University
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
Access all questions and much more by creating a free account
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
Already have an account?
Similar Resources on Wayground
25 questions
TRẮC NGHIỆM TIN 4 BÀI 2: GÕ PHÍM ĐÚNG CÁCH
Quiz
•
5th Grade - University
25 questions
ITEC 103 | SLM 1 QUIZ
Quiz
•
University
26 questions
Analysis Algorithms Introduction
Quiz
•
University
25 questions
Quiz TRM-1B #materi2-6
Quiz
•
University
25 questions
IT 104A Quiz - Module 3
Quiz
•
University
25 questions
Train Brain
Quiz
•
University
25 questions
FIEE-NAC-
Quiz
•
University
25 questions
Cellular wireless networks
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade