answersLogoWhite

0

A queue crawls through memory in the direction of its tail.

This answer assumes that you push elements at the head and that you pop elements at the tail. This means that the set of active elements will migrate in memory towards the tail. It is also possible that the queue be circular, in which case the elements would still follow the tail, but that tail might jump back towards the initial head from time to time.

User Avatar

Wiki User

15y ago

What else can I help you with?

Related Questions

Why an operation to check queue overflow is not implemented on linked queue?

In linked queue we're dynamically allocating the memory and there's no fixed memory limit in Linked Queue. That's why there's no operation for overflow. I guess It's the correct reason


Difference between circular queue and linear queue?

In circular queue the memory of the deleted process can be used by some other new process..


What is Process swaping?

A process in which all processes in main memory are transferred into another disk e.g secondary memory.Process queue is kicked out into disk or suspended from main memory.The OS then brings a process from suspended queue into main memory for execute.when all processes are transferred into suspended queue a free space in main memory can be used for another process.it may be possible instead of bringing a process from suspended queue a new process could come into main memory from.written by:Amir Ali (for computer Associate professor)


What are advantages and disadvantages of circular queue over ordinary queue?

Circular queues are very efficient and work well with low level codes. Ordinary queues are the standard type of queue but they do not maximize memory data well.


What is the difference between queues and circular queues?

A queue can use a dynamic array, or a linked list, but if using static memory, the queue becomes a circular queue because the underlaying data structure is a static circular array. This means the ends of the array are attached.


The documents queue up for printing in the buffer memory of the printer this is called?

Printer buffering, or printer queuing.


What is opcode fetch?

The process of transferring instruction codes from memory location to instruction queue register is called opcode fetch.


What is queuing machine?

The meaning of a queue machine is a finite state machine with the ability to store and retrieve data from an infinite-memory queue. It is a model of computation equivalent to a turing machine, and therefore it can process any formal language.


How ordinary queue is solved in circular queue?

An ordinary queue requires constant time access to the first and last elements, because all insertions occur at the back of the queue and all extractions at the front. Thus we require two pointers. However, with a circular queue, the next element after the last element is always the first element, thus we gain constant-time access to both the front and back of the queue through a single pointer to the back of the queue.


What are types of Queue?

Queue is a data structure which is based on FIFO that is first in first out. Following are the types of queue: Linear queue Circular queue Priority queue Double ended queue ( or deque )


What is the plural of queue?

Queues is the plural of queue.


Which queue most efficient queue using array?

circular queue