Question:

Match List I with List II
LIST ILIST II
C. Deletion operationIV. Dequeue
A. Insertion in a queue atI. FRONT
B. Deletion in a queue atIII. REAR
D. Insertion operationII. Enqueue

Show Hint

In a queue, elements are inserted from the rear (enqueue) and removed from the front (dequeue), which is characteristic of FIFO (First In, First Out) data structure.
Updated On: Apr 24, 2025
  • A-II, B-I, C-III, D-IV
  • A-II, B-I, C-IV, D-III
  • A-III, B-IV, C-I, D-II
  • A-III, B-I, C-IV, D-II
Hide Solution
collegedunia
Verified By Collegedunia

The Correct Option is B

Solution and Explanation

- \texttt{Insertion in a queue at FRONT} corresponds to \texttt{Enqueue} (A-II). This refers to adding an element at the front of the queue. - \texttt{Deletion in a queue at FRONT} corresponds to \texttt{Dequeue} (B-I), which removes an element from the front of the queue. - \texttt{Deletion operation} at the rear is associated with \texttt{Rear} (C-IV), as deletion can happen from the rear side in certain types of queue implementations, such as deque. - \texttt{Insertion operation} is associated with \texttt{Rear} (D-III), as this insertion typically occurs at the rear end of the queue in a standard queue structure. Therefore, the correct matching is A-II, B-I, C-IV, D-III.
Was this answer helpful?
0
0

Questions Asked in CUET exam

View More Questions