Menu

Queues Questions

MCQ
21.
Which data structure allows deleting data elements from front and inserting at rear?
forum Discussion
MCQ
22.
Let the following circular queue can accommodate maximum six elements with the following data
front = 2 rear = 4
queue = _______, L, M, N, ___, ___ 

What will happen after ADD O operation takes place?
forum Discussion
MCQ
23.
A queue is a,
forum Discussion
MCQ
24.
A common example of a queue is people waiting in line at a__________.
forum Discussion
MCQ
25.
n elements of a Queue are to be reversed using another queue. The number of
forum Discussion
MCQ
26.
Which of the following is a collection of items into which items can be inserted arbitrarity and from which only the smallest item can be removed?
forum Discussion
MCQ
27.
A priority queue is used to implement a stack S that stores characters PUSH(C)is implemented as INSERT(Q,C,K)where K is an appropriate integer key chosen by the implementation.POP is implemented as DELETEMIN(Q)(Q). For a sequence of operations, the keys chosen are in
forum Discussion
MCQ
28.
Number of "ADD" and "REMOVE" operations required to access n/2th elements of a queue of "n" elements so that the original queue remain the same after the access is (take help of another queue.)
forum Discussion
MCQ
29.
The initial configuration of a queue is a, b, c, d, ('a' is in the front end). To get the configuration d, c, b, a, one needs a minimum of
forum Discussion
MCQ
30.
Queue can be used to implement
forum Discussion