
Quiz3 review SP23
Authored by Fernando Hernandez
Other
University

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
18 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the worst case time complexity of searching an Element in a Single Linked list?
O(1)
O(n)
O(nlogn)
O(logn)
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the first node in a Linked List called?
Head node
Node
Tail node
Starter node
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A node can only hold one data type
True
False
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the following code doing?
Deleting a Linked List
Not a valid function
Printing data of a linked list
Searching for an element in a Linked list
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the following psuedocode doing?
Adding two Linked List together
Deleting a LL and adding a new one
Wont work
Searching through 2 LL's
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If we use tail in a LL or DLL what is the worst case time complexity for adding at the end?
O(1)
O(n)
O(m) where 1<=m<=n
O(logn)
7.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
A Max heap is:
Heap where all parent nodes are bigger than children
Heap where all parent nodes are smaller than children
A complete Tree
Represented by an Array
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?