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.
FIFO queue
Deque
Decreasing order priority queue
Increasing order priority queue
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
Only front pointer
Only rear pointer
Both front and rear pointer
None of the front and rear pointer
Rate this question:
3 deletion and 4 additions
4 deletion and 3 additions
4 deletion and 5 additions
None
Full: (REAR+1) mod n = = FRONT, empty: (FRONT+1) mod n == REAR
Full: REAR == FRONT, empty: (REAR+1) mod n = = FRONT
Full: (FRONT+1) mod n = = REAR, empty: FRONT= =REAR=-1
Full: (REAR+1) mod n = = FRONT, empty: REAR = = FRONT= -1
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:
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
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.