
Stack and Queue Concepts
Authored by Shabariram P
Engineering
University
Used 8+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is true about a stack?
FIFO
LIFO
Random access
Both FIFO and LIFO
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The time complexity of push and pop operations in a stack implemented using a linked list is:
O(1)
O(n)
O(log n)
O(n²)
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following applications uses a stack?
Undo functionality in text editors
CPU scheduling
BFS traversal
Priority queue
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What happens when a stack overflows?
Memory leaks
Stack exceeds its capacity
Stack underflow
Program terminates gracefully
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which data structure is used for expression evaluation and syntax parsing?
Queue
Stack
Linked list
Graph
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Postfix expression evaluation using a stack has a time complexity of:
O(n²)
O(n)
O(log n)
O(n log n)
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following stack operations? `push(10), push(20), pop(), push(30), pop()`
10
20
30
10 and 30
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
26 questions
Linear Measurement Quiz
Quiz
•
University
22 questions
MCA Quiz 1
Quiz
•
University
25 questions
Technical Quiz
Quiz
•
University
30 questions
Exploring Generic Programming Concepts
Quiz
•
University
20 questions
Understanding Life Cycle Assessment
Quiz
•
University
25 questions
AI Concepts Quiz
Quiz
•
University
25 questions
Quiz on Computation Relations and Models
Quiz
•
University
26 questions
Viva_batch1_MC
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
Discover more resources for Engineering
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
23 questions
Subject Verb Agreement
Quiz
•
9th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
5 questions
Poetry Interpretation
Interactive video
•
4th Grade - University
19 questions
Black History Month Trivia
Quiz
•
6th Grade - Professio...
15 questions
Review1
Quiz
•
University
15 questions
Pre1
Quiz
•
University