Exam 18: Linked Lists

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

The last node in a linked list points to

Free
(Multiple Choice)
4.8/5
(32)
Correct Answer:
Verified

A

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

Free
(Multiple Choice)
4.7/5
(39)
Correct Answer:
Verified

D

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.8/5
(46)
Correct Answer:
Verified

D

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

(True/False)
4.8/5
(35)

Select all that apply. Variations of the linked list are

(Multiple Choice)
4.9/5
(45)

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
(23)

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

(True/False)
4.9/5
(37)

Nodes in a linked list are stored in contiguous memory.

(True/False)
5.0/5
(35)

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

(Multiple Choice)
4.8/5
(39)

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

(Multiple Choice)
4.9/5
(32)

The advantage a linked list has over a vector is that

(Multiple Choice)
4.8/5
(37)

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

(True/False)
4.7/5
(32)

To create a linked list you must first create a(n)

(Multiple Choice)
4.9/5
(36)

A linked list class must take care of removing the dynamically allocated nodes and this is done by

(Multiple Choice)
4.7/5
(38)

To delete an entire list, normally you must traverse the list, deleting each node, one by one.

(True/False)
4.8/5
(31)

Select all that apply. Which of the following is a basic list operation?

(Multiple Choice)
4.9/5
(40)

To append a node to a list means to

(Multiple Choice)
4.7/5
(32)

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

(True/False)
5.0/5
(35)

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

(True/False)
4.7/5
(40)

Which type of list does not contain a null pointer at the end of the list?

(Multiple Choice)
4.9/5
(30)
Showing 1 - 20 of 41
close modal

Filters

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