English

How does FIFO describe queue?

Advertisements

Question

How does FIFO describe queue?

Short/Brief Note
Advertisements

Solution

FIFO means First In First Out. FIFO defines queues, because in queue, elements are inserted at rear and deleted at front. So the element inserted first in queue is deleted first, and the element inserted at last removed last, i.e FIFO order.

shaalaa.com
  Is there an error in this question or solution?
Chapter 4: Queue - Exercise [Page 65]

APPEARS IN

NCERT Computer Science [English] Class 12
Chapter 4 Queue
Exercise | Q 3. | Page 65
Advertisements
Share
Notifications



      Forgot password?
Use app×