Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Computer Engineering Expert

Algorithm Development Discussion

Part 1: Priority Queue

There are many reasons to use a priority queue. For this discussion question, find an example of a priority queue.

Note: either use one from your work experience or research one.

Share & Explain the situation where your example is utilized.
Discuss why a priority queue benefits the users in this situation.

Part 2: Respond to two peer discussion posts

Peer 1 David

In the programming world priority queues are used when using the Dijkstra's Algorithm. But if we talk about real world applications a hospital is a great example. Think about the ER. People coming in are not taken in to see the doctor in the order they came in at. They are taken based on the severity of what brought them there. That means it is not a typical queue which is FIFO, each person has their own priority. If someone comes to the hospital for something minor like a migraine that won't go away and then someone comes in that can't breathe, the first person is given a lesser priority and is bumped down the priority queue so to speak. This helps the people that really need it and the people that don't, wait. Now this can be frustrating for the people that have to wait but the people that need it the most get it the fastest.

Peer 2 Toni

A Priority Queue is like a first come first serve until something comes more urgent then this is pushed ahead. for example in a emergency room they take the worst first. In this case if the worst was someone that fell and broke a arm then they would become more of a priority then a person that had a splinter. Although if someone with a heart attack came in they would come in before the broken arm person. because I have not done much programming I have never used this so giving a real life example could be all I can give.

Computer Engineering, Engineering

  • Category:- Computer Engineering
  • Reference No.:- M92242568
  • Price:- $40

Priced at Now at $40, Verified Solution

Have any Question?


Related Questions in Computer Engineering

How does understanding various microsoft office

How does understanding various Microsoft Office applications enhance productivity in education, the workplace, and at home.

Assessment details part 1 design documentation and peer

Assessment Details: Part 1: Design Documentation and Peer Review This stage requires you to select a problem to solve using one of the available Mindstorms Robots, design a possible solution to this problem and submit th ...

Question the chief technology officer cto has indicated

Question: The Chief Technology Officer (CTO) has indicated that your organization has been requested by the National Security Council (NSC) to comment on the upcoming National Cybersecurity Strategy. The NSC has asked fo ...

Question -under what circumstances is it ethical if ever to

Question :- Under what circumstances is it ethical, if ever, to use consumer information in marketing research? Explain why you consider it ethical or unethical.

Question a add a navigation form to your applicationa

Question: A) Add a Navigation form to your application. A navigation form makes it easy for users to switch between the various forms and reports in your database. Navigation forms are a great addition to any desktop dat ...

In the course of producing its output this firm causes

In the course of producing its output, this firm causes pollution. The government passes a law that requires the firm to stop polluting, and the firm discovers that it can prevent the pollution by hiring 0.2 workers for ...

Create a class named horse that contains data fields for

Create a class named Horse that contains data fields for the name, color, and birth year. Include get and set methods for these fields. Next, create a subclass named RaceHorse, which contains an additional field that hol ...

Question using an organization of your choicedevelop a

Question: Using an organization of your choice: Develop a Complete Disaster Recovery Plan to be submitted to the executive board of your company. Please note that this is a formal writing, all references (peer-reviewed) ...

1 write a critique review of the following paper2 your

1. Write a critique / review of the following paper. 2. Your critique should be as objective as possible: highlight what you consider to be its strongest and weakest aspects. Are themes discernible that would help one to ...

Question research the security and reliability of apache

Question : Research the security and reliability of Apache Web Server and Microsoft IIS and determine which you consider the best and why you consider it the best. The response must be typed, single spaced, must be in ti ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As