MIS 260 Java
Exam
Due: Nov 28 (Wed)
Score: 75 points
Question No. 1 (30 points)
Many financial institutions make decision about extending credit and financing majors purchases based on a customer’s income to debt ratio. This ratio is the percentage of a customer’s income that is spent paying off other debts such as mortgages, automobile loans, credit card, etc. Typically, all debts are added together and then that total is divided by the monthly income. Customers with a lower income to debt ratio are more likely qualify for a loan.
As an intern at the Employee’s Credit Union, you have been asked to create an interactive income to debt ratio calculation program that can run as a stand-alone application. Below figure displays the sample results.
(Hint)
monthlyIncome = Double.parseDouble(strMonthlyIncome);
Formula: ratio = (mortgage + auto Loan + other debts) / monthly income
Question No. 2 (30 points)
Calculation of changes at the end of day can be a tedious work for many small businesses. Your second program converts number of coins into dollars and cents. Below figure displays the sample results.
Formula: dollars = (total change / 100), cents = (total change % 100)
Question No. 3
(15 points)
** Obviously, this is the most difficult question. That
is why points for this program is ONLY 15.**
ToysRUs is a non-profit organization that assists zoos in keeping up with the endangered species list and helps with animal registries all over the United States. They would like a Java program to alphabetize all the animal species housed at zoos throughout the country, Many of the zoos have different computer platforms, so they would like a Java application that can run on any of the systems. ToysRus has given you list of 16 endangered species to use as sample data. Create a Java program to allow the user to enter the list, sort it, and then display it in columns on the screen. Your program result should look like below.