Multiple choice

Which of the following is not true about a queue data structure?

  1. In a queue, data is inserted from the front end of the queue.

  2. In a queue after insertion and deletion operations, value of front end and rear end is incremented, respectively.

  3. Queue is called FIFO [First in first out].

  4. At a time, only one item can be inserted or deleted in a queue.

  5. Queue is a linear data structure.

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

This is a wrong answer. Since in a queue, data is inserted from the rear end of the queue and is deleted from the front end of the queue.