Difference between revisions of "Queues"

From TRCCompSci - AQA Computer Science
Jump to: navigation, search
(Types of Queue)
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==
 
==Types of Queue==
 +
===Linear===
 
===Priority===
 
===Priority===
 
===Circular===
 
===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 09:52, 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

Linear

Priority

Circular

Add to Queue

Take from Queue

Test for empty

Test for full