Exam 19: Stacks and Queues

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

Select all that apply. Data structures that can dynamically store elements and can grow and shrink in size are

(Multiple Choice)
4.8/5
(38)

Computer systems use stacks. For example, when a function is called, they create local variables on a stack which are removed from the stack when the function terminates.

(True/False)
4.9/5
(40)

The pop function in the stack template of the STL does not retrieve the value from the top of the stack; it merely removes it.

(True/False)
4.8/5
(35)

Queues that are implemented as arrays are called __________ queues.

(Multiple Choice)
4.8/5
(36)

When the program knows the exact contents of a list and can access any element on demand, the data structure is known as a stacked deque.

(True/False)
4.7/5
(45)

The first item placed onto a stack is always the last item removed from the stack.

(True/False)
4.9/5
(33)

Select all that apply. The queue data structure is commonly applied in connection with

(Multiple Choice)
4.8/5
(40)
Showing 41 - 47 of 47
close modal

Filters

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