SlideShare a Scribd company logo
2
Most read
3
Most read
5
Most read
PRESENTATION ON QUEUE
PRESENTED BY:YOGESH SUWAL
SUBESH SHRESTHA
DUDHARAJ LAMA
ROJAN PARIYAR
1
3/7/2017
CONTENTS
• INTRODUCTION
• TYPES
• OPERATIONS
• REFERENCE
2
3/7/2017
INTRODUCTION ON QUEUE
• Queue is a Linear Data Structure that works on First-in-First-Out
(FIFO) principle.
• It has two pointers, ‘Front’ that points to the beginning of the
queue and ‘Rear’ that points to the end of the queue.
• The ‘Front’ and ‘Rear’ pointers are manipulated constantly to
always point to the beginning and end of queue.
• It can be implemented using Arrays and Linked Lists (Recursive
and Non-recursive) methods both.
3
3/7/2017
QUEUE 4
3/7/2017
TYPES OF QUEUE
• 1.Simple or linear queue:
Linked lists are among the simplest and most common data
structures.
They can be used to implement several other common abstract
data types, including lists(the abstract data type), stacks, queues,
associative arrays, and S-expressions, though it is not uncommon
to implement the other data structures directly without using a
list as the basis of implementation.
5
3/7/2017
SIMPLE QUEUE 6
3/7/2017
TYPES OF QUEUE CONT.
• 2.Circular queue:
Circular queue is a linear data structure. It follows FIFO principle.
In circular queue,the last node is connected back to the first node to
make a circle. Circular linked list follow the First In First Out
principle. Elements are added at the rear end and the elements are
deleted at front end of the queue.
7
3/7/2017
CIRCULAR QUEUE 8
3/7/2017
TYPES OF QUEUE CONT.
• 3.Priority queue:
Priority queue is an abstract data type such as queues,stacks and
dictionaries.
While removing an element from a priority queue, the data item
with the highest priority is removed first.
In a priority queue, insertion is performed in the order of arrival
and deletion is performed based on the priority.
9
3/7/2017
PRIORITY QUEUE 10
3/7/2017
TYPES OF QUEUE CONT.
• 4.Dequeue:
A double-ended queue (dequeue) is an abstract data type that
generalizes a queue, for which elements can be added to or
removed from either the front (head) or back (tail).
It is also often called a head-tail linked list, though properly this
refers to a specific data structure implementation.
11
3/7/2017
ENQUEUE AND DEQUEUE OPERATION 12
3/7/2017
OPERATIONS OF QUEUE
• enqueue() − add (store) an item to the queue.
• dequeue() − remove (access) an item from the queue.
• Few more functions are required to make the above-mentioned
queue operation efficient. These are −
• peek() − Gets the element at the front of the queue without
removing it.
• isfull() − Checks if the queue is full.
• isempty() − Checks if the queue is empty.
13
3/7/2017
REFERENCE
• http://www.tutorialride.com/data-structures/priority-queue-in-
data-structure.html
• https://www.tutorialspoint.com/data_structures_algorithms/dsa_
queue.html
• http://www.ultimatitsolution.in/p/what-is-queue-explain-types-
of-queue.html
14
3/7/2017
THANK YOU 15
3/7/2017

More Related Content

PPTX
Queue ppt
PPSX
Data Structure (Queue)
PDF
Data structure ppt
PPTX
Array in c programming
PPTX
Queue in Data Structure
PPTX
Event In JavaScript
PPTX
PPTX
Linked list
Queue ppt
Data Structure (Queue)
Data structure ppt
Array in c programming
Queue in Data Structure
Event In JavaScript
Linked list

What's hot (20)

PPT
Queue data structure
PPTX
Doubly Linked List
PPTX
PPTX
Merge sort algorithm power point presentation
PPTX
queue & its applications
PPTX
Priority queue in DSA
PPTX
Priority Queue in Data Structure
PPTX
Data structure & its types
PPT
Queue Data Structure
PPTX
Linked List
PPT
Linked lists
PPTX
Selection sorting
PPTX
linked list in data structure
PPT
Data Structure and Algorithms Linked List
PPTX
Data structure - Graph
PPTX
Binary Tree Traversal
PPTX
Data Structure - Elementary Data Organization
PPTX
Deque and its applications
PDF
Array data structure
Queue data structure
Doubly Linked List
Merge sort algorithm power point presentation
queue & its applications
Priority queue in DSA
Priority Queue in Data Structure
Data structure & its types
Queue Data Structure
Linked List
Linked lists
Selection sorting
linked list in data structure
Data Structure and Algorithms Linked List
Data structure - Graph
Binary Tree Traversal
Data Structure - Elementary Data Organization
Deque and its applications
Array data structure
Ad

Viewers also liked (20)

PPT
Queue Data Structure
PDF
PPT
Notes DATA STRUCTURE - queue
PDF
Queue as data_structure
PPT
Queue in Data Structure
PPTX
Queue Data Structure (w/ php egs)
PPTX
Ppt presentation of queues
PPTX
Data Structure -List Stack Queue
PPTX
Queues in C++
PDF
Queues
PDF
Queues
PDF
Data structure and algorithm.(dsa)
PPT
358 33 powerpoint-slides_9-stacks-queues_chapter-9
PPTX
Stack and queue
PPTX
5. Queue - Data Structures using C++ by Varsha Patil
PPTX
Data structures and algorithms
PPTX
Data structure and its types
PDF
Guide parent eleves
PDF
Depliant jvip v3
PDF
сравнение моек для колес вулкан и Drester
Queue Data Structure
Notes DATA STRUCTURE - queue
Queue as data_structure
Queue in Data Structure
Queue Data Structure (w/ php egs)
Ppt presentation of queues
Data Structure -List Stack Queue
Queues in C++
Queues
Queues
Data structure and algorithm.(dsa)
358 33 powerpoint-slides_9-stacks-queues_chapter-9
Stack and queue
5. Queue - Data Structures using C++ by Varsha Patil
Data structures and algorithms
Data structure and its types
Guide parent eleves
Depliant jvip v3
сравнение моек для колес вулкан и Drester
Ad

Similar to Presentation on queue (20)

PPTX
Data structure
PPTX
Standard template library
PPTX
data science
PPTX
Lists, Stacks, and Queues: Abstract Data Types
PPTX
Data Structure & Algorithm.pptx
PPTX
DS Module 1.pptx
PDF
BCA DATA STRUCTURES INTRODUCTION AND OVERVIEW SOWMYA JYOTHI
PPTX
stack.pptx
PPTX
Queues
PPT
358 33 powerpoint-slides_4-introduction-data-structures_chapter-4
PPTX
Assignment 2
PPTX
Stack and Queue......................pptx
PPTX
ntroduction of Algorithms, Analysing Algorithms. Arrays: Sparse Matrices - Re...
PPT
Data Structure - Complete Basic Overview.ppt
PPTX
Data Structure , Classification of Data structure
PPT
Data structure lecture 1
PPTX
DataStructurePpt.pptx
PPTX
Data_base.pptx
PDF
Data Structure Ppt for our engineering college industrial training.
PPTX
Stack and queue power point presentation data structure and algorithms Stack-...
Data structure
Standard template library
data science
Lists, Stacks, and Queues: Abstract Data Types
Data Structure & Algorithm.pptx
DS Module 1.pptx
BCA DATA STRUCTURES INTRODUCTION AND OVERVIEW SOWMYA JYOTHI
stack.pptx
Queues
358 33 powerpoint-slides_4-introduction-data-structures_chapter-4
Assignment 2
Stack and Queue......................pptx
ntroduction of Algorithms, Analysing Algorithms. Arrays: Sparse Matrices - Re...
Data Structure - Complete Basic Overview.ppt
Data Structure , Classification of Data structure
Data structure lecture 1
DataStructurePpt.pptx
Data_base.pptx
Data Structure Ppt for our engineering college industrial training.
Stack and queue power point presentation data structure and algorithms Stack-...

Recently uploaded (20)

PPTX
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
PDF
Upgrade and Innovation Strategies for SAP ERP Customers
PPTX
history of c programming in notes for students .pptx
PDF
Nekopoi APK 2025 free lastest update
PDF
Navsoft: AI-Powered Business Solutions & Custom Software Development
PDF
Cost to Outsource Software Development in 2025
PPTX
Transform Your Business with a Software ERP System
PPTX
Introduction to Artificial Intelligence
PDF
How to Choose the Right IT Partner for Your Business in Malaysia
PDF
iTop VPN Free 5.6.0.5262 Crack latest version 2025
PPTX
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
PDF
Digital Systems & Binary Numbers (comprehensive )
PDF
Designing Intelligence for the Shop Floor.pdf
PPTX
Computer Software and OS of computer science of grade 11.pptx
PPTX
Operating system designcfffgfgggggggvggggggggg
PDF
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
PDF
medical staffing services at VALiNTRY
PPTX
Why Generative AI is the Future of Content, Code & Creativity?
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 41
PPTX
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
Upgrade and Innovation Strategies for SAP ERP Customers
history of c programming in notes for students .pptx
Nekopoi APK 2025 free lastest update
Navsoft: AI-Powered Business Solutions & Custom Software Development
Cost to Outsource Software Development in 2025
Transform Your Business with a Software ERP System
Introduction to Artificial Intelligence
How to Choose the Right IT Partner for Your Business in Malaysia
iTop VPN Free 5.6.0.5262 Crack latest version 2025
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
Digital Systems & Binary Numbers (comprehensive )
Designing Intelligence for the Shop Floor.pdf
Computer Software and OS of computer science of grade 11.pptx
Operating system designcfffgfgggggggvggggggggg
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
medical staffing services at VALiNTRY
Why Generative AI is the Future of Content, Code & Creativity?
Internet Downloader Manager (IDM) Crack 6.42 Build 41
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx

Presentation on queue

  • 1. PRESENTATION ON QUEUE PRESENTED BY:YOGESH SUWAL SUBESH SHRESTHA DUDHARAJ LAMA ROJAN PARIYAR 1 3/7/2017
  • 2. CONTENTS • INTRODUCTION • TYPES • OPERATIONS • REFERENCE 2 3/7/2017
  • 3. INTRODUCTION ON QUEUE • Queue is a Linear Data Structure that works on First-in-First-Out (FIFO) principle. • It has two pointers, ‘Front’ that points to the beginning of the queue and ‘Rear’ that points to the end of the queue. • The ‘Front’ and ‘Rear’ pointers are manipulated constantly to always point to the beginning and end of queue. • It can be implemented using Arrays and Linked Lists (Recursive and Non-recursive) methods both. 3 3/7/2017
  • 5. TYPES OF QUEUE • 1.Simple or linear queue: Linked lists are among the simplest and most common data structures. They can be used to implement several other common abstract data types, including lists(the abstract data type), stacks, queues, associative arrays, and S-expressions, though it is not uncommon to implement the other data structures directly without using a list as the basis of implementation. 5 3/7/2017
  • 7. TYPES OF QUEUE CONT. • 2.Circular queue: Circular queue is a linear data structure. It follows FIFO principle. In circular queue,the last node is connected back to the first node to make a circle. Circular linked list follow the First In First Out principle. Elements are added at the rear end and the elements are deleted at front end of the queue. 7 3/7/2017
  • 9. TYPES OF QUEUE CONT. • 3.Priority queue: Priority queue is an abstract data type such as queues,stacks and dictionaries. While removing an element from a priority queue, the data item with the highest priority is removed first. In a priority queue, insertion is performed in the order of arrival and deletion is performed based on the priority. 9 3/7/2017
  • 11. TYPES OF QUEUE CONT. • 4.Dequeue: A double-ended queue (dequeue) is an abstract data type that generalizes a queue, for which elements can be added to or removed from either the front (head) or back (tail). It is also often called a head-tail linked list, though properly this refers to a specific data structure implementation. 11 3/7/2017
  • 12. ENQUEUE AND DEQUEUE OPERATION 12 3/7/2017
  • 13. OPERATIONS OF QUEUE • enqueue() − add (store) an item to the queue. • dequeue() − remove (access) an item from the queue. • Few more functions are required to make the above-mentioned queue operation efficient. These are − • peek() − Gets the element at the front of the queue without removing it. • isfull() − Checks if the queue is full. • isempty() − Checks if the queue is empty. 13 3/7/2017