Priority queue organizes items in a line where the first item is at the beginning of the line and the last item is at the back of the line.

Skill/Topic: Queue
A) True
B) False
Explanation: A simple queue organizes items in a line where the first item is at the beginning of the line and the last item is at the back of the line. Each item is processed in the order in which it appears in the queue. The first item in line is processed first, followed by the second item and then the third until the last item on the line is processed.

Showing Answers 1 - 1 of 1 Answers

samiksc

  • Jan 19th, 2006
 

False: Priority queue organizes items based on their entry time AND priority. If a high priority item enters this queue it will be placed at the end of items having same priority, but before those which have lower priority.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions