1 How can you tell if a Linked List is empty?
A the head points to Null
B the head points to None
C the head points to a node whose data value is empty
D all the nodes data values are None
2 Which of these is not associated with nodes in a Linked List?
A an edge value
B a data value
C previous pointer
D next pointer
3 Python’s built in list data type is implemented using a ______________.
A simple array
B dynamic linked list
C dynamic array
D simple linked list
4 What are the attributes associated with the Singly-Linked List node class?
A next and previous
B data, next, and previous
C data and next
D next only
1. A the head points to Null
2. A an edge value
3. C dynamic array
4.C data and next
Comments
Leave a comment