answersLogoWhite

0


Best Answer

The queue is a linear data structure where operations of insertion and deletion are performed at separate ends also known as front and rear. Queue is a FIFO structure that is first in first out. A circular queue is similar to the normal queue with the difference that queue is circular queue ; that is pointer rear can point to beginning of the queue when it reaches at the end of the queue. Advantage of this type of queue is that empty location let due to deletion of elements using front pointer can again be filled using rear pointer. A priority queue is a queue in which each element is inserted or deleted on the basis of their priority. A higher priority element is added first before any lower priority element. If in case priority of two element is same then they are added to the queue on FCFS basis (first come first serve). Mainly there are two kinds of priority queue: 1) Static priority queue 2) Dynamic priority queue A double ended queue (or deque ) is a queue where insertion and deletion can be performed at both end that is front pointer can be used for insertion (apart from its usual operation i.e. deletion) and rear pointer can be used for deletion (apart from its usual operation i.e. insertion)

User Avatar

Wiki User

9y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Explai the nature of the various types queues in data structures?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Is String a linear data structure?

yes it is, other linear data structures are lists,queues,stacks,arrays


What are the advantages of building ISR queues?

ISR queues


What is the plural of queue?

Queues is the plural of queue.


What is the plural form of queue?

The plural form of "queue" is "queues."


What is the difference between a mailboxes and message queue?

Mailbox is similar to a queue, which allows only atomic operations. They can be bounded/unbounded. Get/put task is used to suspend abounded mailbox. That?s why mailbox is used more for communication between threads. Queues are large structures. Inserting data in queues is very difficult


What is property of queues?

When you are registering your property and its in the queue for registration process, this is called property of queues..


Where linked list using?

linked list are used for creation of stack,queues to use memory in optimum manner linked list are used as they are dynamic in nature


Did Chinese men like queues?

yes, Chinese men liked queues as they were a sign of dignity and respect.


What are lines of waiters called?

queues


When was Légende du Scorpion à Quatre Queues created?

Légende du Scorpion à Quatre Queues was created in 2001.


Implementation of queue?

Queues are commonly implemented for abstract routines and data access structures. In languages using object-orientation, they may be featured as classes. Some methods for implementation include circular buffers and linked tests.


Examples of primitive and non primitive scheduling?

The latter isn't primitive. Most likely it means 'non trivial', 'adaptive' or 'sophisticated'.