Queue · Class 12 · CBSE · Science Computer Science

Which principle is followed by a queue?

Practice question from Queue (Class 12 · CBSE · Science Computer Science), with the correct answer and a step-by-step solution.

easy · MCQ · Q-9FDB4F

Which principle is followed by a queue?

  1. A.LIFO (Last In, First Out)
  2. B.FIFO (First In, First Out)Correct answer
  3. C.Random access only
  4. D.Priority-based access only

Solution

A queue follows FIFO: the element inserted first is removed first. Insertion generally takes place at the rear, and deletion takes place at the front.

More from Queue

All of Queue

Practise more Computer Science

Sign up free for adaptive practice on this chapter, with instant feedback and hints on every question.

Start practising free

Free to start · No credit card needed