What is the principle followed by a stack?
Stack and Its Applications Quiz

Quiz
•
Computers
•
University
•
Hard
Bhupi Saud
Used 4+ times
FREE Resource
32 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 mins • 1 pt
First-in-first-out (FIFO)
Last-in-first-out (LIFO)
First-in-last-out (FILO)
Random access
2.
MULTIPLE CHOICE QUESTION
10 mins • 1 pt
Which operation is used to insert an element into a stack?
Pop
Push
Enqueue
Dequeue
3.
MULTIPLE CHOICE QUESTION
10 mins • 1 pt
What does it mean when a stack is in an overflow state?
It can accept more elements.
It has reached its maximum capacity.
It is completely full.
It is completely empty.
4.
MULTIPLE CHOICE QUESTION
10 mins • 1 pt
Which of the following is NOT an application of stacks?
Expression evaluation
Undo operations in text editors
Page-visited history in web browsers
Task management
5.
MULTIPLE CHOICE QUESTION
10 mins • 1 pt
What is the time complexity of the push operation in a stack?
O(n)
O(n^2)
O(log n)
O(1)
6.
MULTIPLE CHOICE QUESTION
10 mins • 1 pt
In which scenario would a stack be used?
To evaluate arithmetic expressions
To implement a queue
To store data in a sorted manner
To maintain a list of items in order
7.
MULTIPLE CHOICE QUESTION
10 mins • 1 pt
What is the result of the postfix expression '6 3 2 4 + - *'?
74
-18
40
1
Create a free account and access millions of resources
Similar Resources on Quizizz
30 questions
Battle With DSA

Quiz
•
University
30 questions
Data Structure & Algorithm-Quiz-1

Quiz
•
University
27 questions
Comp 210 MT2 Review

Quiz
•
University
28 questions
Computer Science quiz

Quiz
•
11th Grade - University
30 questions
Computer Networking Lesson 1

Quiz
•
University
30 questions
XML Quiz

Quiz
•
University
30 questions
BUG-OFF

Quiz
•
University
30 questions
Data Structures and Algorithms Quiz

Quiz
•
University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade