Monday 26 September 2011

applications of Queues



applications of Queues:


1. Real life applications:
a. Waiting in line at a movie theatre.
b. Waiting on hold over a telephone line for technical support
2. Applications related to Computer Science:
a. Job Scheduling for CPU allocation.
b. Operating systems often maintain a queue of processes that are ready to execute or that are waiting for a particular event to occur.
c. Computer systems must often provide a “holding area” for messages between two processes, two programs, or even two systems. This holding area is usually called a “buffer” and is often implemented as a queue.



Queues

No comments:

Post a Comment