Q1:
2025: 27 May Shift 2
Computer Science
Queue
Medium
Computer Science
A normal linear queue if implemented using an array / list of size MAX_SIZE, gets full when:
2025: 27 May Shift 2
Computer Science
Queue
Medium
Computer Science
A normal linear queue if implemented using an array / list of size MAX_SIZE, gets full when:
2025: 22 May Shift 1
Computer Science
Queue
Medium
Computer Science
Show the status of queue after the following operations:
enqueue(34)
enqueue(54)
dequeue( )
enqueue(12)
enqueue(9)
enqueue(61)
dequeue( )
2025: 22 May Shift 1
Computer Science
Queue
Easy
Computer Science
Which of the following are the operations performed on the DEQUE?
(A). INSERTFRONT
(B). INSERTREAR
(C). DELETIONFRONT
(D). DELETIONREAR
2025: 22 May Shift 1
Computer Science
Queue
Easy
Computer Science
Which of the following statement is correct for queue?
2025: 21 May Shift 1
Computer Science
Queue
Easy
Computer Science
Give the status of a simple queue after following operations-
enqueue(z)
enqueue(x)
enqueue(c)
dequeue( )
enqueue(v)
dequeue( )
dequeue( )
2025: 21 May Shift 1
Computer Science
Queue
Easy
Computer Science
When the insertion and deletion of the elements are done only from the opposite ends of a dequeue, it is same as-
2025: 21 May Shift 1
Computer Science
Queue
Medium
Computer Science
Sequence for processing print jobs using queue mechanism:
(A) Check the queue status for availability.
(B) Receive a print job command.
(C) Print the job when it reaches the front of the queue.
(D) Enqueue the print job to the printer's job queue.
2025: 20 May Shift 1
Computer Science
Queue
Medium
Computer Science
Sequence the complete process of enqueue operation in a queue:
(A) Add the element to the rear of the queue.
(B) Check if the queue is full.
(C) Increment the rear pointer.
(D) Return success message.
2025: 20 May Shift 1
Computer Science
Queue
Easy
Computer Science
Identify the statements that hold TRUE in the case of a queue:
(A) Ordered linear list of elements works on FIFO principle.
(B) The elements that has been shortest in the queue will be removed first.
(C) Insertion is from REAR end and deletion is from FRONT end.
(D) The element entering first in the queue will be the first one to come out.
2025: 16 May Shift 1
Computer Science
Queue
Easy
Computer Science
What is a DEQUEUE operation on queue?
2025: 16 May Shift 1
Computer Science
Queue
Easy
Computer Science
Queue uses a _____approach.
2025: 16 May Shift 1
Computer Science
Queue
Easy
Computer Science
In a dequeue, if insertion and deletion of elements is done from the opposite end, it will behave as ____________.
2025: 15 May Shift 2
Computer Science
Queue
Easy
Computer Science
Elements 'C', 'O', 'M', 'P' are present in the queue and they are deleted one at a time. _______ is the sequence of element received.
2025: 15 May Shift 2
Computer Science
Queue
Easy
Computer Science
Identify the correct example of a queue in our everyday life:
2025: 15 May Shift 2
Computer Science
Queue
Easy
Computer Science
In a Queue, insertion and deletion operations are called as _____________ respectively.
2025: 14 May Shift 1
Computer Science
Queue
Easy
Computer Science
What will this function do?
def getRear(myDeque):
if not (isEmpty()):
return myDeque[len(myDeque)-1]
else:
print("Deque Empty")
2025: 14 May Shift 1
Computer Science
Queue
Medium
Computer Science
What will be the status of the FRONT and REAR of queue after performing the following operations?
enqueue(27)
enqueue(24)
enqueue(47)
dequeue()
enqueue(37)
dequeue()
enqueue(12)
dequeue()
dequeue()
2025: 14 May Shift 1
Computer Science
Queue
Easy
Computer Science
In a deque, if any insertion and deletion of elements is done from the same end, it will behave as____________ .
2025: 13 May Shift 2
Computer Science
Queue
Medium
Computer Science
To perform enqueue and dequeue efficiently on a queue, which of the following operations are required?
A) isEmpty
B) peek
C) isfull
D) update
2025: 13 May Shift 2
Computer Science
Queue
Easy
Computer Science
Given a scenario:
Suppose there is a web-server hosting a website to declare results. This server can handle a maximum of 100 concurrent requests to view results. So, as to serve thousands of user requests, a ________ would be the most appropriate data structure to use.