
Data Structures and Algorithms Quiz
Authored by M. Sudharsan M. Sudharsan
Others
University

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following data structures can be used to implement a queue?
Stack
Linked List
Array
All of the above
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the time complexity to search an element in a balanced binary search tree?
O(n)
O(log n)
O(n log n)
O(1)
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In which of the following data structures is the insertion of data elements done at one end, called the rear, and deletion is done from the other end, called the front?
Stack
Queue
Linked List
Array
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which traversal technique of binary trees ensures the nodes are processed in ascending order for a Binary Search Tree (BST)?
Preorder
Inorder
Postorder
Level-order
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which data structure is used in recursion?
Queue
Stack
Tree
Graph
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The time complexity for inserting an element in an array at the beginning is:
O(1)
O(log n)
O(n)
O(n^2)
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In a max-heap, the value of the root node is:
Less than its child nodes
Greater than or equal to its child nodes
Equal to its child nodes
None 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
20 questions
Теоретическая фонетика Модуль 2
Quiz
•
University
16 questions
Pre-colonial Activity
Quiz
•
University
15 questions
MarCom Quiz 2 (Final)
Quiz
•
University
16 questions
The Lallakay Governance System of the Tingguians of Abra
Quiz
•
University
20 questions
Evaluación Tercer Parcial
Quiz
•
University
15 questions
Enfermedades Respiratorias
Quiz
•
University
15 questions
Quiz Ekologi
Quiz
•
University
15 questions
Carpintería en Madera, Aluminio y PVC
Quiz
•
University
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 Others
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
23 questions
Subject Verb Agreement
Quiz
•
9th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
5 questions
Poetry Interpretation
Interactive video
•
4th Grade - University
19 questions
Black History Month Trivia
Quiz
•
6th Grade - Professio...
15 questions
Review1
Quiz
•
University
15 questions
Pre1
Quiz
•
University