
Data Structures Quiz
Quiz
•
English
•
Professional Development
•
Practice Problem
•
Medium
Chitharanjan K
Used 2+ times
FREE Resource
Enhance your content in a minute
40 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the time complexity of the push operation in a stack implemented using an array?
O(1)
O(n
O(log n)
O(n^2)
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
A stack is a data structure that follows the principle of:
LIFO (Last In First Out)
FIFO (First In First Out)
Priority based
Random access
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following operations is performed at the front of the queue?
Enqueue
Dequeue
Peek
All of the above
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following operations is not supported by a deque?
Insertion at the front
Insertion at the rear
Deletion from the front
Random access of elements
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
In a circular queue of size 5, if the front is at index 2 and the rear is at index 4, how many elements are there in the queue?
2
3
4
5
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Consider a queue with elements A, B, C, D (A is at the front). After two dequeue operations and one
enqueue operation of E, what will be the queue?
C, D, E
E, C, D
D,E
E,D
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
The primary advantage of postfix expressions over infix expressions is:
Easier to evaluate
Less memory usage
Easier to parse
All of the above
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
40 questions
Dictado
Quiz
•
Professional Development
40 questions
STRUCTURE TOEFL
Quiz
•
University - Professi...
37 questions
English File Elementary Test - Units 5,6.7 and 8
Quiz
•
Professional Development
42 questions
English test A1 and A2
Quiz
•
Professional Development
35 questions
BUSINESS
Quiz
•
6th Grade - Professio...
35 questions
Canadian Citizenship Test #2
Quiz
•
Professional Development
40 questions
American English File 1 File 4
Quiz
•
University - Professi...
36 questions
Grammar quiz A1
Quiz
•
Professional Development
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 English
10 questions
How to Email your Teacher
Quiz
•
Professional Development
6 questions
3RD GRADE DECLARATION OF INDEPENDENCE EXIT TICKET
Quiz
•
Professional Development
19 questions
Black History Month Trivia
Quiz
•
6th Grade - Professio...
22 questions
Multiplying Exponents with the Same Base
Quiz
•
9th Grade - Professio...
40 questions
Flags of the World
Quiz
•
KG - Professional Dev...
