
AH Linked List Quiz
Authored by Martin McCormack
Computers
12th Grade
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
14 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a linked list?
A static structure with fixed size
A set of items called nodes organized in a list much like an array
A data structure that can only shrink at run time
A sequence of elements where each element points to the previous one
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are the two types of linked lists mentioned in the document?
Singly linked and triply linked
Singly linked and doubly linked
Doubly linked and circular linked
Static linked and dynamic linked
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How many fields does a doubly linked list node contain?
One
Two
Three
Four
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the main advantage of a linked list over an array?
Data has to be moved when re-arranging the list
It has a fixed size
It is a dynamic structure which can grow and shrink at run time
You can identify a node using its index
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you add a node to the start of a linked list?
Change the pointer in the last node to point to the new node
Point the Head to the new node and the link in the new node will point to A
Update the pointer in B to point to the new node
Insert the new node between two existing nodes without changing the Head
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What must be done to delete a node C from a singly linked list?
Update the pointer in A to point to D
Remove the node C physically from the list
Update the pointer in B to point to D
Change the Head to point to node D
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the specific object in the collections module of Python that can be used for linked lists called?
list
queue
deque
stack
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?