Which of the following statements are true ?
(A) In Deque arrangement, addition and removal of elements can happen at any end.
(B) DELETIONFRONT operation is to remove an element from the rear of the deque.
(C) INSERTREAR operation is to insert a new element at the rear of the deque.
(D) DELETIONREAR operation is to remove one element at a time from the rear of the deque.
Which of the following statements are true ?
(A) In Deque arrangement, addition and removal of elements can happen at any end.
(B) DELETIONFRONT operation is to remove an element from the rear of the deque.
(C) INSERTREAR operation is to insert a new element at the rear of the deque.
(D) DELETIONREAR operation is to remove one element at a time from the rear of the deque.
Solution
A deque (double-ended queue) allows insertion and deletion at both the front and the rear, so (A) is true. INSERTREAR adds a new element at the rear, so (C) is true. DELETIONREAR removes one element at a time from the rear, so (D) is true.
(B) is false: DELETIONFRONT removes an element from the front of the deque, not the rear.
Memory trick: the operation name tells the end it works on (FRONT or REAR), and INSERT or DELETION tells the action.
Related questions:
2026: 26 May Shift 1
2026: 18 May Shift 2
2026: 20 May Shift 1