Exam 14: An Introduction to Data Structures

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

In a queue represented by an array, how do we tell if the queue is empty or full?

(Essay)
4.9/5
(30)

A doubly linked list provides two links between nodes, one forward and one backward.

(True/False)
4.8/5
(30)

A queue uses:

(Multiple Choice)
4.8/5
(39)

In a queue represented by a linked list, we insert, or enqueue, at the beginning of the list.

(True/False)
5.0/5
(36)

When implementing a queue as an array, you can think of it as a circular array.

(True/False)
4.7/5
(34)

When coding a method of a recursively defined linked list, not testing for all base case scenarios could result in a(n) __________ at runtime.

(Short Answer)
4.9/5
(38)

In a queue represented by a linked list, we delete, or dequeue, at the end of the list.

(True/False)
4.8/5
(34)

Ivanna has a restaurant that prides itself in fresh produce. She always wants to serve the freshest produce she has. She should use a LIFO approach for her produce inventory.

(True/False)
4.8/5
(42)

Unless we run out of memory, we can always insert in a linked list.

(True/False)
4.8/5
(36)
Showing 61 - 69 of 69
close modal

Filters

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