Exam 17: Linked Lists

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

Linked lists of items are commonly implemented by

(Multiple Choice)
4.8/5
(38)

The values stored in the value portion of a node of a linked list can be simple data types, structures, objects of classes, or any other data type.

(True/False)
4.8/5
(32)

To build a linked list, we can

(Multiple Choice)
4.9/5
(36)

In a doubly- linked list, each node contains a pointer to the next node in the list, as well as a pointer to

(Multiple Choice)
4.7/5
(39)

Variations of the linked list are

(Multiple Choice)
4.8/5
(35)

If a node is not the first node in a linked list, deleting it may require setting the successor pointer in its predecessor.

(True/False)
4.9/5
(35)

When you delete a node from a linked list, you must ensure that the links in the surrounding nodes are set to bypass the node being deleted.

(True/False)
4.9/5
(34)

A linked list class using dynamically allocated memory should free its memory when the list is destroyed. This can be done by

(Multiple Choice)
4.9/5
(33)

The of a linked list points to the first node in the list.

(Multiple Choice)
4.8/5
(38)

When using a node pointer to traverse a linked list, we know we have reached the end of a list when

(Multiple Choice)
4.8/5
(37)

The list container provided by the Standard Template Library is a template version of a

(Multiple Choice)
4.8/5
(31)

A _ is used to step through a linked list and search for data.

(Multiple Choice)
4.8/5
(33)

The successor pointer in the last node of a linked list should have its value set to

(Multiple Choice)
5.0/5
(41)

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

(True/False)
4.7/5
(31)

Each node in a list contains pointers to the nodes before and after it.

(Multiple Choice)
4.8/5
(31)

When you create a linked list, you must know in advance how many nodes the list will contain.

(True/False)
4.8/5
(36)

Moving through a linked list is referred to as the list.

(Multiple Choice)
4.8/5
(35)

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

(True/False)
4.8/5
(44)
Showing 21 - 38 of 38
close modal

Filters

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