What is a Stack?

Quiz Data Structures unit II

Quiz
•
Computers
•
University
•
Easy
Placement Stjosephs
Used 1+ times
FREE Resource
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
FIFO structure
LIFO structure
Random access structure
Circular structure
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is not a valid stack operation?
Push
Pop
Peek
AddLast
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the 'Pop' operation in a stack do?
Inserts an element
Deletes the top element
Clears the stack
Shows the bottom element
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the time complexity of a stack's push and pop operations?
O(n)
O(log n)
O(1)
O(n log n)
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which data structure is used in function call and recursion?
Queue
Stack
Linked List
Tree
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following uses stack internally?
Queue
Tree
Expression evaluation
All of the above
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In infix expression, where is the operator placed?
After operands
Before operands
Between operands
With brackets
Create a free account and access millions of resources
Similar Resources on Quizizz
20 questions
DATA STRUCTURES

Quiz
•
University
25 questions
Neo Coding Round 1 Set 2

Quiz
•
University
25 questions
Round 2

Quiz
•
University
26 questions
221 quiz questions exam 2 prep

Quiz
•
University
25 questions
Stack and Queue

Quiz
•
University
20 questions
Data Structures

Quiz
•
University - Professi...
23 questions
Data Structures and Algorithms Quiz - BATCH 1

Quiz
•
University
20 questions
UTS Algoritma dan Struktur Data

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