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_structure_quiz1

Quiz
•
University
20 questions
Lecture EIGHT.

Quiz
•
University
20 questions
data structures1

Quiz
•
University
20 questions
UTS Algoritma dan Struktur Data

Quiz
•
University
20 questions
IPC

Quiz
•
University
20 questions
SMARTICUS

Quiz
•
University
20 questions
Assignment II Stack,Queue, Searching, Hashing

Quiz
•
University
20 questions
Data structure

Quiz
•
University
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade