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

B

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

Free
(True/False)
4.9/5
(82)
Correct Answer:
Verified

True

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

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

False

A linked list is a series of connected _______.

(Multiple Choice)
4.9/5
(72)

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

(Multiple Choice)
4.9/5
(81)

ADT stands for:

(Multiple Choice)
4.8/5
(86)

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

(True/False)
4.8/5
(88)

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

(Multiple Choice)
4.8/5
(87)

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

(Multiple Choice)
4.8/5
(71)

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

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

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

(True/False)
4.8/5
(95)

Nodes in a linked list are stored in contiguous memory.

(True/False)
4.8/5
(83)

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

(True/False)
4.9/5
(81)

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

To append a node to a list means to ___________.

(Multiple Choice)
4.9/5
(73)

Variations of the linked list are:

(Multiple Choice)
4.9/5
(82)

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

(Multiple Choice)
4.9/5
(84)

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

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

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

Filters

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