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

2025

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

  1. A.

    Push

  2. B.

    Pop

  3. C.

    Enqueue and Dequeue

  4. D.

    All of the above

Attempted by 170 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: Niacl Ao It Specialist