Which of the following operations can be performed on a queue ?

2025

Which of the following operations can be performed on a queue ?

Answer: C. Enqueue and DequeueQueue operations include enqueue (adding an element) and dequeue (removing an element). Unlike stacks, queues follow the FIFO principle.

  1. A.

    Push

  2. B.

    Pop

  3. C.

    Enqueue and Dequeue

  4. D.

    All of the above

Attempted by 847 students.

Show answer & explanation

Correct answer: C

Queue operations include enqueue (adding an element) and dequeue (removing an element). Unlike stacks, queues follow the FIFO principle.

Explore the full course: Tpsc Assistant Technical Officer

Loading lesson…