Which of the following principle does Queue use?

2022

Which of the following principle does Queue use?

Answer: B. FIFO principleExplanation: A queue operates based on the First-In-First-Out (FIFO) principle, meaning the first element added to the queue is the first one to be removed.…

  1. A.

    LIFO principle

  2. B.

    FIFO principle

  3. C.

    Linear tree

  4. D.

    Ordered array

Attempted by 2062 students.

Show answer & explanation

Correct answer: B

Explanation: A queue operates based on the First-In-First-Out (FIFO) principle, meaning the first element added to the queue is the first one to be removed. This ensures that elements are processed in the order they arrive.

Explore the full course: Bpsc

Loading lesson…