Exam 17: Linked Lists

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

Appending a node means adding it to the end of a list, and ________ a node means putting a new node in the list, but not necessarily at the end.

Free
(Multiple Choice)
4.9/5
(88)
Correct Answer:
Verified

D

A ________ list contains pointers to the nodes before it and after it.

Free
(Multiple Choice)
4.9/5
(81)
Correct Answer:
Verified

D

A linked list is a series of connected ________.

Free
(Multiple Choice)
4.9/5
(83)
Correct Answer:
Verified

D

To create a linked list, you must first create a(n)________.

(Multiple Choice)
4.9/5
(83)

When working with a linked list, one of the basic operations you can perform is to destroy the list.

(True/False)
4.9/5
(76)

If the head pointer points to nullptr, this indicates ________.

(Multiple Choice)
4.8/5
(82)

A linked list is called "linked" because each node in the series has a pointer that points to the next node in the list.

(True/False)
4.8/5
(90)

The process of moving through a linked list is referred to as ________ the list.

(Multiple Choice)
4.8/5
(75)

Which of the following is a basic linked list operation?

(Multiple Choice)
4.8/5
(84)

A doubly-linked list keeps track of the next node in the list, as well as:

(Multiple Choice)
4.8/5
(74)

A new node must always be made the last node in the list.

(True/False)
4.9/5
(81)

Deleting an entire list requires traversing the list, deleting each node one by one.

(True/False)
4.8/5
(70)

Nodes in a linked list are stored in contiguous memory.

(True/False)
4.9/5
(78)

To insert a new node in ascending order into a list, the list must be:

(Multiple Choice)
4.8/5
(83)

While traversing a list, a node pointer knows when it has reached the end of a list when:

(Multiple Choice)
4.8/5
(76)

A new node cannot become the first node in the list.

(True/False)
4.9/5
(87)

Linked lists are less complex to code and manage than arrays.

(True/False)
4.7/5
(83)

The last node in a linked list points to ________.

(Multiple Choice)
4.8/5
(77)

The Standard Template Library (STL)provides a linked list container.

(True/False)
4.7/5
(83)

Variations of the linked list are:

(Multiple Choice)
4.9/5
(86)
Showing 1 - 20 of 40
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)