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)
One of the things discussed in this chapter is the sorting of data. Imagine that a large medical center hires you to write a
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)
Trending now
This is a popular solution!
Step by step
Solved in 2 steps