Q1:

2025: 27 May Shift 2

Queue

Medium

Computer Science

A normal linear queue if implemented using an array / list of size MAX_SIZE, gets full when:

Answer options
Option 1
Correct Answer
Explanation for 2025: 27 May Shift 2 CSE question 1

Q2:

2025: 22 May Shift 1

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( )

Answer options
Option 1
Correct Answer
Explanation for 2025: 22 May Shift 1 CSE question 2

Q3:

2025: 22 May Shift 1

Queue

Easy

Computer Science

Which of the following are the operations performed on the DEQUE?

(A). INSERTFRONT

(B). INSERTREAR

(C). DELETIONFRONT

(D). DELETIONREAR

Answer options
Option 3
Correct Answer
Explanation for 2025: 22 May Shift 1 CSE question 3

Q4:

2025: 22 May Shift 1

Queue

Easy

Computer Science

Which of the following statement is correct for queue?

Answer options
Option 2
Correct Answer
Explanation for 2025: 22 May Shift 1 CSE question 4

Q5:

2025: 21 May Shift 1

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( )

Answer options
Option 1
Correct Answer
Explanation for 2025: 21 May Shift 1 CSE question 5

Q6:

2025: 21 May Shift 1

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-

Answer options
Option 3
Correct Answer
Explanation for 2025: 21 May Shift 1 CSE question 6

Q7:

2025: 21 May Shift 1

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.

Answer options
Option 3
Correct Answer
Explanation for 2025: 21 May Shift 1 CSE question 7

Q8:

2025: 20 May Shift 1

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.

Answer options
Option 3
Correct Answer
Explanation for 2025: 20 May Shift 1 CSE question 8

Q9:

2025: 20 May Shift 1

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.

Answer options
Option 2
Correct Answer
Explanation for 2025: 20 May Shift 1 CSE question 9

Q10:

2025: 16 May Shift 1

Queue

Easy

Computer Science

What is a DEQUEUE operation on queue?

Answer options

Q12:

2025: 16 May Shift 1

Queue

Easy

Computer Science

In a dequeue, if insertion and deletion of elements is done from the opposite end, it will behave as ____________.

Answer options

Q13:

2025: 15 May Shift 2

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.

Answer options

Q14:

2025: 15 May Shift 2

Queue

Easy

Computer Science

Identify the correct example of a queue in our everyday life:

Answer options

Q15:

2025: 15 May Shift 2

Queue

Easy

Computer Science

In a Queue, insertion and deletion operations are called as _____________ respectively.

Answer options

Q16:

2025: 14 May Shift 1

Queue

Easy

Computer Science

What will this function do?

def getRear(myDeque):

if not (isEmpty()):

return myDeque[len(myDeque)-1]

else:

print("Deque Empty")

Answer options

Q17:

2025: 14 May Shift 1

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()

Answer options

Q18:

2025: 14 May Shift 1

Queue

Easy

Computer Science

In a deque, if any insertion and deletion of elements is done from the same end, it will behave as____________ .

Answer options

Q19:

2025: 13 May Shift 2

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

Answer options

Q20:

2025: 13 May Shift 2

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.

Answer options