Exam 8: Queues

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

Both classes, LinkedStack and LinkedQueue, use a singly linked Node class to implement nodes.

(True/False)
4.7/5
(34)

What is the solution to achieving good performance for both the add and pop methods in the array implementation of a queue?

(Multiple Choice)
4.9/5
(44)

Which type of computer activity would likely be assigned to the priority queue?

(Multiple Choice)
4.8/5
(36)

Which protocol is supported by queues?

(Multiple Choice)
4.8/5
(37)

Which of the following is NOT an important factor to consider by a manager of a supermarket trying to schedule checkout cashiers?

(Multiple Choice)
4.8/5
(32)

In the following code for the pop method for a linked queue implementation, what is the missing code? Def pop(self): OldItem = self.front.data Self.front = self.front.next If self.front is None: Self.rear = None < missing code > Return oldItem

(Multiple Choice)
4.8/5
(38)

The most common type of CPU scheduling technique is called last in, first-out.

(True/False)
4.9/5
(35)

What is one reason that it is difficult to devise formulas to answer simple questions about a supermarket checkout system?

(Multiple Choice)
4.7/5
(45)

What type of collection is a queue?

(Multiple Choice)
4.9/5
(37)

Which example best represents a queue?

(Multiple Choice)
4.9/5
(44)
Showing 41 - 50 of 50
close modal

Filters

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