
Data Structures and Algorithms Quiz

Quiz
•
Fun
•
4th - 12th Grade
•
Hard
Kar Bag-ayan
Used 1+ times
FREE Resource
44 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the Big Oh notation for an algorithm with a constant run time?
O(n)
O(log n)
O(1)
O(n log n)
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In a singly linked list, what is the run time complexity for insertion at the head or tail?
O(n)
O(log n)
O(1)
O(n^2)
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following operations on a binary search tree (BST) has a run time complexity of O(log n) when the tree is balanced?
Insertion
Searching
Deletion
All of the above
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the primary difference between a singly linked list and a doubly linked list?
Singly linked lists have nodes with references to both next and previous nodes
Doubly linked lists have nodes with references to both next and previous nodes
Singly linked lists are more complex to implement
Doubly linked lists do not support traversal
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the MinHeapify algorithm in a heap?
To delete the minimum value
To maintain the min-heap property after insertion
To search for a value
To traverse the heap
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which data structure is typically used to implement a priority queue?
Linked list
Binary search tree
Heap
Array
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the run time complexity of the bubble sort algorithm?
O(n log n)
O(n^2)
O(log n)
O(n)
Create a free account and access millions of resources
Similar Resources on Wayground
40 questions
Disney Trivia

Quiz
•
KG - University
42 questions
Random

Quiz
•
6th Grade
39 questions
ELA - U2L10: Cougars

Quiz
•
5th Grade
40 questions
BASIS DATA

Quiz
•
11th Grade
45 questions
Reading Comprehension

Quiz
•
5th Grade
40 questions
Disney Movies Trivia #9

Quiz
•
9th - 12th Grade
40 questions
rAnDoM tRiViA

Quiz
•
9th - 12th Grade
43 questions
Fast Foods

Quiz
•
5th Grade
Popular Resources on Wayground
10 questions
SR&R 2025-2026 Practice Quiz

Quiz
•
6th - 8th Grade
30 questions
Review of Grade Level Rules WJH

Quiz
•
6th - 8th Grade
6 questions
PRIDE in the Hallways and Bathrooms

Lesson
•
12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
15 questions
Subtracting Integers

Quiz
•
7th Grade
Discover more resources for Fun
15 questions
Let's Take a Poll...

Quiz
•
9th Grade - University
15 questions
Fast food

Quiz
•
7th Grade
15 questions
fun?

Quiz
•
8th Grade
10 questions
Fact Check Ice Breaker: Two truths and a lie

Quiz
•
5th - 12th Grade
20 questions
Guess The Cartoon!

Quiz
•
7th Grade
5 questions
Responsibility in the Classroom

Quiz
•
6th Grade
16 questions
Do You Know WHMS?

Quiz
•
6th Grade
12 questions
Disney Trivia

Lesson
•
5th - 12th Grade