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
(45)
Correct Answer:
Verified

D

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

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

D

A linked list is a series of connected ________.

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

D

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

(Multiple Choice)
4.9/5
(41)

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

(True/False)
4.9/5
(35)

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

(Multiple Choice)
4.8/5
(41)

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.7/5
(41)

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

(Multiple Choice)
4.8/5
(38)

Which of the following is a basic linked list operation?

(Multiple Choice)
4.8/5
(45)

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

(Multiple Choice)
4.8/5
(37)

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

(True/False)
4.8/5
(36)

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

(True/False)
4.8/5
(41)

Nodes in a linked list are stored in contiguous memory.

(True/False)
4.8/5
(33)

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

(Multiple Choice)
4.8/5
(32)

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

(Multiple Choice)
4.8/5
(39)

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

(True/False)
4.9/5
(36)

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

(True/False)
4.7/5
(42)

The last node in a linked list points to ________.

(Multiple Choice)
4.9/5
(30)

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

(True/False)
4.7/5
(44)

Variations of the linked list are:

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

Filters

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