A queue follows _________.

2017

A queue follows _________.

  1. A.

    FILO

  2. B.

    LILO

  3. C.

    FIFO

  4. D.

    LIFO

Attempted by 342 students.

Show answer & explanation

Correct answer: C

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

Explore the full course: Btsc Lab Assistant