My Report (&Account)

Queue Implementation Test – 2


Correct Answer: 2 points | Wrong: -1 point
Grades: A* (100% score) | A (80%-99%) | B (60%-80%) | C (40%-60%) | D (0%-40%)

1. In linked list implementation of a queue, where does a new element be inserted?

2. In linked list implementation of a queue, front and rear pointers are tracked. Which of these pointers will change during an insertion into EMPTY queue?

3. The essential condition which is checked before insertion in a linked queue is?

4. The essential condition which is checked before deletion in a linked queue is?

5. In linked list implementation of a queue, from where is the item deleted?

6. Which of the following is true about linked list implementation of queue?

7. In case of insertion into a linked queue, a node borrowed from the __________ list is inserted in the queue.

8. In linked list implementation of a queue, the important condition for a queue to be empty is?

9. In linked list implementation of queue, if only front pointer is maintained, which of the following operation take worst case linear time?

10. In linked list implementation of a queue, front and rear pointers are tracked. Which of these pointers will change during an insertion into a NONEMPTY queue?


 

Start practicing “1000 MCQs on Data Structure”, and once you are ready, you can take tests on all topics by attempting our “Data Structure Test Series”.

advertisement
advertisement
Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & discussions at Telegram SanfoundryClasses.