Exam 17: Linked Lists

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

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

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

B

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

Free
(True/False)
4.8/5
(39)
Correct Answer:
Verified

True

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

Free
(True/False)
4.7/5
(30)
Correct Answer:
Verified

False

A linked list is a series of connected _______.

(Multiple Choice)
4.9/5
(31)

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

(Multiple Choice)
4.9/5
(36)

ADT stands for:

(Multiple Choice)
4.8/5
(34)

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

(True/False)
4.8/5
(38)

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

(Multiple Choice)
4.8/5
(38)

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

(Multiple Choice)
4.8/5
(36)

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

(True/False)
4.8/5
(36)

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

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

(True/False)
4.8/5
(43)

Nodes in a linked list are stored in contiguous memory.

(True/False)
4.8/5
(38)

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

(True/False)
4.8/5
(36)

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

(Multiple Choice)
4.8/5
(39)

To append a node to a list means to ___________.

(Multiple Choice)
4.9/5
(29)

Variations of the linked list are:

(Multiple Choice)
4.9/5
(37)

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

(Multiple Choice)
4.9/5
(39)

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

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

(Multiple Choice)
4.8/5
(50)
Showing 1 - 20 of 40
close modal

Filters

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