Computer Science for IGCSE & O level - Algorithm Design And Problem Solving (Section 4 - No. 13)

What is the purpose of a queue in data structures?
To store data in a last-in, first-out (LIFO) manner.
To store data in a first-in, first-out (FIFO) manner.
To store data in a random order.
To store data in a tree-like structure.

Explanation

A queue operates on a FIFO (first-in, first-out) basis.

Comments (0)

Advertisement