
DAY-3 DSA BOOTCAMP

Quiz
•
Computers
•
University
•
Hard
ATHARVA GALNE
Used 3+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Enqueue
Dequeue
Push
Pop
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What happens when you try to pop an element from an empty Stack?
It returns null
It returns the top element
It causes an underflow
It causes an overflow
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is the time complexity of a push operation in a Stack?
1
n
n logn
n^2
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following applications may use a Stack?
Recursion
Parsing
Browser history
All of the above
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Removes the last from Q
Keeps the Q same as it was before the call
Makes Q empty
Reverses the Q
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following operations on a queue data structure has a time complexity of O(1)?
A] Enqueue
B] Dequeue
C] Peek.
D] Clear.
Only A
A and B only
All of the Above
Only B
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is true about linked list implementation of queue?
A] In push operation, if new nodes are inserted at the beginning of linked list, then in pop operation, nodes must be removed from end.
B] In push operation, if new nodes are inserted at the end, then in pop operation, nodes must be removed from the beginning.
A only
B only
Both of the above
A and B
None of the above
Create a free account and access millions of resources
Similar Resources on Quizizz
15 questions
Stack

Quiz
•
University
10 questions
CPU Scheduling 1

Quiz
•
University
15 questions
DATA STRUCTURES QUIZ

Quiz
•
University
5 questions
UNIT-2 QUEUE PROBLEM

Quiz
•
University
10 questions
DAA Lesson 2 quiz

Quiz
•
University
10 questions
Quiz 1 - AK2 Section

Quiz
•
University
10 questions
CPU Scheduling Introduction Quiz

Quiz
•
University
15 questions
Qûîz

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