Describe any two uses of priority queues-00002

Online Quiz This subjective question is related to the book/course vu acc311 Fundamentals of Auditing. It can also be found in vu acc311 Mid Term Solved Past Paper No. 1.

Question 1: Describe any two uses of priority queues?
Answer:
Priority queue being used at many places especially in the operating systems. In operating systems, we have queue of different processes. If some process comes with higher priority, it will be processed first. Here we have seen a variation of queue. We will use the priority queue in the simulation. The events will be inserted in the queue and the event going to occur first in future, will be popped.
(page 101)

Choose an organization

Theme Customizer

Gaussian Texture



Gradient Background