Difference between revisions of "Queues"

From TRCCompSci - AQA Computer Science
Jump to: navigation, search
Line 1: Line 1:
 
A queue is a linear list with a first-in first-out structure.There are three different types of queue circular queues, linear queues and priority queues.
 
A queue is a linear list with a first-in first-out structure.There are three different types of queue circular queues, linear queues and priority queues.
 
+
==Types of Queue==
 +
===Priority===
 +
===Circular===
 
==Add to Queue==
 
==Add to Queue==
 
==Take from Queue==
 
==Take from Queue==
 
==Test for empty==
 
==Test for empty==
 
==Test for full==
 
==Test for full==

Revision as of 08:51, 16 May 2017

A queue is a linear list with a first-in first-out structure.There are three different types of queue circular queues, linear queues and priority queues.

Types of Queue

Priority

Circular

Add to Queue

Take from Queue

Test for empty

Test for full