Skip to main content

DSU Micro project of IMPLEMENTETION OF QUEUE

 

IMPLEMENTETION OF QUEUE

Queue is a linear data structure in which items  inserted at one end called ‘Rear’ and deleted from the other end called ‘Front’. Queue are based on the FIFO (first-in-first-out) principle that means the data item is insert first in the queue is also the first one to be removed from the queue


There are two operations on queue: 
Insert/enqueue &Delete/dequeue.
The insert operation adds an element
 at the rear end of the queue
while the delete operations removes
 an element from the front end of
the queue





       Queue implementation involves choosing thedata storage mechanism
                                                                                   for storing queue elements and                                                                                              implementing methods for performing
                                                                                    the two queue operations, insert and                                               Like stacks, we can
                                                                              implement queues by using arrays or linked lists


Comments

Popular posts from this blog

DSU micro project of “CYBER MANEGMENT SYSTEM”

“CYBER MANEGMENT SYSTEM”                   This C Cyber Management System small project makes use of a variety of C technologies such as sockets. CLICK HERE TO OPEN PDF                                                                                    multithreading, and more. It might be quite beneficial for novices in the programming sector who are learning C languages. To store records, file management has been employed as a database. Understanding this project can aid you in developing management software or micro-projects such as personnel records, bank management, library management, and so on. The project is split into two parts: one for the client and another for the server.  

CGR Micro project of “DRAW A MOVING CAR USING C & C++”

“DRAW A MOVING CAR USING C & C++”             In computer graphics, use graphics.h which provide direct functions to draw different coordinate shapes (like circle, rectangle etc). By using these functions we can draw different objects like car, hut, trees, etc. In this program, we will draw a moving car using line and circles. CLICK HERE TO OPEN PDF