Singly Linked List Quiz
A 30-question quiz covering singly linked list fundamentals, node linking, traversal, insertion, deletion, and pointer behavior.
Question 1
What defines a singly linked list?
Question 2
What does the head of a list represent?
Question 3
What pointer value marks the end of a singly linked list?
Question 4
Why are singly linked lists slower at random access?
Question 5
Which node is the tail in a singly linked list?
Question 6
What happens when inserting at the head?
Question 7
Which operation requires traversal to the end when no tail is stored?
Question 8
Which must be updated when removing a node in the middle?
Question 9
Why does losing the head pointer break access to the entire list?
Question 10
What is required to insert after a certain node?
Question 11
What does this diagram represent?
HEAD
|
[4] -> [10] -> [22] -> nullQuestion 12
Which node is the tail?
[A] -> [B] -> [C] -> nullQuestion 13
What has occurred in this diagram?
[1] -> [2]
X
(broken link)
Question 14
What does this represent?
[x] -> null
^
(lost pointer)Question 15
Which pointer must be updated here?
[A] -> [B] -> [C]
^
delete BQuestion 16
What does this depict?
HEAD -> [9] -> [12] -> [18] -> null
|
(incorrect pointer)Question 17
Which traversal behavior applies to singly linked lists?
Question 18
Which edge case requires special handling?
Question 19
What is true about memory usage?
Question 20
Which operation is O(1) for singly linked lists?
Question 21
What does this pseudocode do?
curr = head
while curr != null:
print(curr.value)
curr = curr.nextQuestion 22
What is the result of this operation?
new.next = head
head = newQuestion 23
What happens during this deletion?
prev.next = prev.next.nextQuestion 24
What does this represent?
prev = null
curr = head
while curr:
next = curr.next
curr.next = prev
prev = curr
curr = next
head = prevQuestion 25
What best describes insertion at tail without tail pointer?
Question 26
Which list state is represented when head is null?
Question 27
Which action risks losing the entire list?
Question 28
Which is a defining property of singly linked lists?
Question 29
Which pointer is essential for traversal?
Question 30
Overall, what do singly linked lists emphasize?
