Results 1 to 5 of 5
Thread: Queue Implementation
- 07-28-2011, 06:25 PM #1
Member
- Join Date
- Jul 2011
- Posts
- 2
- Rep Power
- 0
Queue Implementation
I'm studying for an exam in Data Structures and Algorithms and while looking through past exam papers this question came up.
"Describe a situation within a computer system in which a Queue data structure
forms a natural component of any implementation."
Any chance of getting a hand with this? Be greatly appreciated
- 07-28-2011, 07:26 PM #2
Need more info. Do you not know the answer, or do you not understand the question? (I'm not sure I understand the question...)
Get in the habit of using standard Java naming conventions!
- 07-28-2011, 07:31 PM #3
- Join Date
- Sep 2008
- Location
- Voorschoten, the Netherlands
- Posts
- 11,394
- Blog Entries
- 7
- Rep Power
- 17
- 07-28-2011, 07:52 PM #4
Member
- Join Date
- Jul 2011
- Posts
- 11
- Rep Power
- 0
As Josah mentioned, the printer queue is a very good example. In general, the queue is a natural fit for any any application or process that has a FIFO (First In First Out) nature. With respect to the computer it self, applications can include CPU scheduling, thread processing according to a FIFO priority, and of course the print queue. With respect to software applications, a phone answering system or customer inquiry response system might be implemented using a queue data structure.
Hope this helps,
Rose
- 08-01-2011, 06:12 PM #5
Member
- Join Date
- Jul 2011
- Posts
- 2
- Rep Power
- 0
Similar Threads
-
Servlet, Glassfish JMS java.lang.IllegalArgumentException: MQ:Queue:Invalid Queue Nam
By akasozi in forum Java ServletReplies: 0Last Post: 05-27-2011, 08:46 AM -
Queue implementation
By thc in forum New To JavaReplies: 3Last Post: 03-29-2011, 04:14 PM -
Queue
By DCY in forum New To JavaReplies: 6Last Post: 05-04-2010, 08:07 PM -
Queue implementation - Enqueue problem
By jefrazie in forum New To JavaReplies: 5Last Post: 11-05-2009, 01:10 AM -
Using a queue
By Krmeus in forum New To JavaReplies: 0Last Post: 12-10-2007, 03:38 PM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks