Multiple Choice
In a priority queue, what does the add method do when handling a new item and the new item is greater than or equal to the item at the rear?
A) it adds the item to the front
B) it puts the item in a wrapper
C) it adds the item to the rear
D) it increases the size of the queue
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q8: An example of a computer simulation that
Q9: In computer science, process scheduling can be
Q10: In the array implementation of a queue,
Q11: In the supermarket simulation, which of the
Q12: Which of the following is NOT true
Q14: When items are removed from a priority
Q15: Which of the following is true about
Q16: The add operation for a queue adds
Q17: Which of the following is NOT true
Q18: Simulation programs can use a range of