Queues serve major role in ______________

2025

Queues serve major role in ______________

  1. A.

    Simulation of recursion

  2. B.

    Simulation of arbitrary linked list

  3. C.

    Simulation of limited resource allocation

  4. D.

    Simulation of heap sort

Attempted by 407 students.

Show answer & explanation

Correct answer: C

Answer: c

Explanation: Simulation of recursion uses stack data structure. Simulation of arbitrary linked lists uses linked lists. Simulation of resource allocation uses queue as first entered data needs to be given first priority during resource allocation. Simulation of heap sort uses heap data structure.

Explore the full course: Cognizant Preparation