One of the things discussed in this chapter is the sorting of data. Imagine that a large medical center hires you to write a program that displays a list of potential organ recipients. The hospital's transplant team will consult this list if they have an organ available for transplant. The hospital administrators have instructed you to sort potential recipients by last name and display them in alphabetical order. If more than 10 patients are waiting for a particular organ, the first 10 patients will be displayed; a doctor can either select one or move on to view the next 10 patients. You are concerned that this program will unfairly select patients whose last names begin near the front of the alphabet. It's critical that the hospital has a program written quickly, as the hospital currently has no method of going through potential organ recipients. Based on this, answer the following questions in detail: Would you write and install the program?  If yes, would you change anything about the program? (be specific if you would change it) If no, why not? (be specific)

EBK JAVA PROGRAMMING
9th Edition
ISBN:9781337671385
Author:FARRELL
Publisher:FARRELL
Chapter8: Arrays
Section: Chapter Questions
Problem 9PE
icon
Related questions
Question

 One of the things discussed in this chapter is the sorting of data. Imagine that a large medical center hires you to write a program that displays a list of potential organ recipients. The hospital's transplant team will consult this list if they have an organ available for transplant. The hospital administrators have instructed you to sort potential recipients by last name and display them in alphabetical order. If more than 10 patients are waiting for a particular organ, the first 10 patients will be displayed; a doctor can either select one or move on to view the next 10 patients. You are concerned that this program will unfairly select patients whose last names begin near the front of the alphabet. It's critical that the hospital has a program written quickly, as the hospital currently has no method of going through potential organ recipients. Based on this, answer the following questions in detail:

Would you write and install the program? 

If yes, would you change anything about the program? (be specific if you would change it)

If no, why not? (be specific) 

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Problems on Dynamic Programming
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT