Write down any four applications of the queues.
Application of Queue is given below
(i) Queue is used in time the sharing system in which the programs with the same priority form a queue while waiting to be executed.
(ii) Queue is used for completing the level order traversal of a binary tree and for performing breadth first search at a graph.
(iii) It is also used in simulation related problem.
(iv) When the jobs are submitted to the networked printer, they are arranged in order of arrival, ie. Jobs are smartly arranged in a queue.