DS QUIZ 4 CSE D assesses knowledge on circular queues, priority queues, and queue configurations. It tests the understanding of queue operations, conditions for full or empty queues, and priority queue representations, essential for computer science students.
3 deletion and 4 additions
4 deletion and 3 additions
4 deletion and 5 additions
None
FIFO queue
Deque
Decreasing order priority queue
Increasing order priority queue
Rate this question:
Rear=(Rear%1)+MAX_SIZE
Rear=Rear%(MAX_SIZE+1)
Rear=(Rear+1)%MAX_SIZE
Rear=Rear+(1%MAX_SIZE)
Rate this question:
Ordinary Array for Each Priority and Linked List
Linked List and Ordinary Array for Each Priority
Circular Array for Each Priority and Linked List
Linked List and Circular Array for Each Priority
Rate this question:
Front=Rear= -1
Front=(Rear+1)%MAX_SIZE
Rear=Front+1
Rear=(Front+1)%MAX_SIZE
Only front pointer
Only rear pointer
Both front and rear pointer
None of the front and rear pointer
Rate this question:
Leaves the queue Q unchanged
Reverse the order of elements in the queue Q
Deletes the element at the front of the queue Q and inserts it at the rear keeping the other elements in the same order
Empties the queue Q
Rate this question:
FRONT = 8 and REAR = 0
FRONT = 8 and REAR = 1
FRONT = 7 and REAR = 0
FRONT = 7 and REAR = 9
Rate this question:
LEFT = 1 and RIGHT = 5
LEFT = 2 and RIGHT = 6
LEFT = 0 and RIGHT = 6
None
Quiz Review Timeline (Updated): Mar 17, 2023 +
Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.
Wait!
Here's an interesting quiz for you.