Which of the following data retrieval policy is followed by Queue?

2016

Which of the following data retrieval policy is followed by Queue?

  1. A.

    First in, Last out

  2. B.

    Random

  3. C.

    First in, First out

  4. D.

    Last in, First out

Attempted by 211 students.

Show answer & explanation

Correct answer: C

A Queue is a linear data structure that operates on the First In, First Out (FIFO) principle. This means the element inserted first into the queue will be the first one to be removed, much like a real-world waiting line. Thus, option C is correct.

Explore the full course: Btsc Lab Assistant