Exam 17: Linked Lists

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

When you delete a node from a list, you must ensure that the links in the list are not permanently broken.

(True/False)
4.9/5
(34)

To build a list initially, you can use a(n)________ routine.

(Multiple Choice)
4.9/5
(38)

In a circular-linked list, the last node points to the ________.

(Multiple Choice)
4.8/5
(41)

A linked list can consist of structs, objects, or other abstract data types.

(True/False)
4.8/5
(40)

A list that contains pointers to the previous node, the next node, and a node in the third dimension is known as a triple-linked list.

(True/False)
4.8/5
(34)

If there are no nodes in a linked list, you cannot append a node to the list.

(True/False)
4.8/5
(39)

A linked list class must take care of removing the dynamically allocated nodes. This is done by ________.

(Multiple Choice)
4.9/5
(37)

A linked list can grow and shrink as a program runs.

(True/False)
4.8/5
(39)

This type of list does not contain a null pointer at the end of the list.

(Multiple Choice)
4.8/5
(35)

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

(Multiple Choice)
4.8/5
(39)

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

(True/False)
4.8/5
(36)

An insertion or deletion routine requires that you create this many pointers for use during the traversal process.

(Multiple Choice)
4.8/5
(29)

If new data needs to be added to a linked list, the program simply ________ and inserts it into the series.

(Multiple Choice)
4.8/5
(35)

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

(Multiple Choice)
4.9/5
(34)

To append a node to a list means to ________.

(Multiple Choice)
4.9/5
(40)

ADT stands for:

(Multiple Choice)
4.7/5
(41)

A ________ is used to travel through a linked list and search for data.

(Multiple Choice)
4.8/5
(37)

How many steps are involved in the process of deleting a node?

(Multiple Choice)
4.7/5
(40)

Deleting an entire list simply requires the use of the delete operator.

(True/False)
4.8/5
(43)

The advantage a linked list has over a vector is:

(Multiple Choice)
4.7/5
(29)
Showing 21 - 40 of 40
close modal

Filters

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