Exam 5: Linked Lists

arrow
  • Select Tags
search iconSearch Question
  • Select Tags

In an ordered list, the header node at the beginning of the list typically contains a value smaller than the smallest value in the data set.

(True/False)
4.9/5
(44)

Building a linked list backwards places the new item to be added at the end of the linked list.

(True/False)
4.8/5
(39)

In general, there are three types of linked lists-sorted, unsorted and mixed.

(True/False)
4.8/5
(37)

In a doubly linked list, every node contains the address of the next node except for the ____ node.

(Multiple Choice)
4.7/5
(39)

To delete a given item from an ordered linked list, there is no need to search the list to see whether the item to be deleted is in the list.

(True/False)
4.9/5
(40)

The link component of each node is a pointer.

(True/False)
4.8/5
(42)

The algorithms to implement the operations search, insert, and remove are the same for sorted and unsorted lists.

(True/False)
4.9/5
(41)

The order of the nodes in a linked list is determined by the data value stored in each node.

(True/False)
4.8/5
(34)

In the STL container list, the function push_front adds an element at the beginning of the list.

(True/False)
4.9/5
(42)

In the STL container list, the function pop_front ____.

(Multiple Choice)
4.7/5
(35)

____ lists have elements that are in no particular order.

(Multiple Choice)
4.9/5
(28)

Header and trailer nodes are considered part of a linked list.

(True/False)
4.8/5
(35)

Searching through a linked list or inserting an item in a linked list requires a ____ of the list.

(Multiple Choice)
4.9/5
(39)

____ lists have elements that are arranged according to some criteria.

(Multiple Choice)
4.9/5
(37)

A doubly linked list can be traversed in ____ direction.

(Multiple Choice)
4.9/5
(39)

The header node is placed at the ____ of a list.

(Multiple Choice)
4.8/5
(41)

The address of the first node in a linked list is stored in a separate location, called the head.

(True/False)
4.9/5
(36)

____ is a basic operation of the linked list ADT.

(Multiple Choice)
4.9/5
(37)

A linked list is a random access data structure such as an array.

(True/False)
4.8/5
(32)

In a linked list, we always want head to point to the ____ node.

(Multiple Choice)
4.9/5
(44)
Showing 21 - 40 of 44
close modal

Filters

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