This set of Data Structure Multiple Choice Questions & Answers (MCQs) focuses on “Queue using Linked List”.

1. In linked list implementation of a queue, where does a new element be inserted?
B) At the centre position in the link list
C) At the tail of the link list
D) At any position in the linked list

Explanation: Since the queue is FIFO, the new element is inserted last.

2. In linked list implementation of queue, if only front pointer is maintained, which of the following operation take worst case linear time?
A) Insertion
B) Deletion
C) To empty a queue
D) Both Insertion and To empty a queue

Explanation: Since the front pointer is used for deletion, the other two instances have the hardest time.

3. 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?
A) Only front pointer
B) Only rear pointer
C) Both front and rear pointer
D) No pointer will be changed

Explanation: Since this is the beginning of the queue, all values have been modified.

4. 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?
A) Only front pointer
B) Only rear pointer
C) Both front and rear pointer
D) No pointer will be changed

Explanation: Since the queue is FIFO, the new element is inserted last.

5. In linked list implementation of a queue, from where is the item deleted?
B) At the centre position in the link list
C) At the tail of the link list
D) Node before the tail

Explanation: Since the queue is FIFO, new elements are removed from the top.

6. In case of insertion into a linked queue, a node borrowed from the __________ list is inserted in the queue.
A) AVAIL
B) FRONT
C) REAR
D) NULL

Explanation: The AVAIL list includes all of the nodes.

7. The essential condition which is checked before insertion in a linked queue is?
A) Underflow
B) Overflow
C) Front value
D) Rear value

Explanation: To see if there is any available space in the queue.

8. In linked list implementation of a queue, the important condition for a queue to be empty is?
A) FRONT is null
B) REAR is null
D) FRONT==REAR-1

Explanation: Since the deleted nodes are represented in the front.

9. Which of the following is true about linked list implementation of queue?
A) In push operation, if new nodes are inserted at the beginning of linked list, then in pop operation, nodes must be removed from end
B) In push operation, if new nodes are inserted at the beginning, then in pop operation, nodes must be removed from the beginning
C) In push operation, if new nodes are inserted at the end, then in pop operation, nodes must be removed from end
D) In push operation, if new nodes are inserted at the end, then in pop operation, nodes must be removed from beginning