
Data Structures and Algorithms Quiz
Authored by KARE OSS
Mathematics
University
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the time complexity of accessing an element in an array?
O(n)
O(log n)
O(1)
O(n^2)
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which data structure uses LIFO (Last In, First Out) principle?
Queue
Stack
Array
Linked List
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the worst-case time complexity of bubble sort?
O(n)
O(n log n)
O(n^2)
O(n^3)
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is not a type of tree?
Binary Tree
AVL Tree
Hash Tree
B-Tree
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In a linked list, what is the time complexity to insert a node at the beginning?
O(n)
O(log n)
O(1)
O(n^2)
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which algorithm is used for finding the shortest path in a weighted graph?
Depth-First Search
Dijkstra's Algorithm
Bubble Sort
Prim's Algorithm
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the main disadvantage of a linked list over an array?
No dynamic sizing
Slower access time
More memory usage
No flexibility in data types
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
10 questions
Let's Play Together
Quiz
•
University - Professi...
13 questions
Juego integrador de Matemática!
Quiz
•
University
10 questions
Uji Pemahaman Komposisi Fungsi
Quiz
•
University
15 questions
Conceitos Relacionados a MMC
Quiz
•
6th Grade - University
10 questions
IE 16 Analysis of Variance Quiz
Quiz
•
University
10 questions
ลำดับและอนุกรม (อนุกรม)-ONET
Quiz
•
10th Grade - University
12 questions
Baris dan Deret
Quiz
•
University
10 questions
Planificación de la producción
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
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th 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
Discover more resources for Mathematics
20 questions
Ch. 7 Quadrilateral Quiz Review
Quiz
•
KG - University
7 questions
Introduction to Fractions
Interactive video
•
1st Grade - University
18 questions
Exam Review
Quiz
•
University
16 questions
Parallel, Perpendicular, and Intersecting Lines
Quiz
•
KG - Professional Dev...
25 questions
Math College Placement Practice #2
Quiz
•
11th Grade - University
10 questions
One Step Equations Multiply and Divide
Quiz
•
University