Hello, dear friend, you can consult us at any time if you have any questions, add WeChat: THEend8_
CEGE0096: Point-in-Polygon Test 1st Assignment
This assignment should be done individually. The submission should be made as a single zipped file including a BlueJ project and submitted in Canvas.
Students should be aware that I may do some kind of plagiarism check.
Note: code must be in BlueJ, code written and submitted in any other Java environment may not be able to be marked.
This assignment is marked as a submission of a single zip file. It should be submitted to Canvas by its due date (see above). You need to submit:
There are no resubmission options for this assignment.
This assignment is marked after semester ends in the exam period, resubmissions will NOT be possible.
You can ask for help in the tutorials, PALS, and hints, but the assignment should be your own work.
Assignment Briefing:
This is similar to MT1 with the following main changes.
Important NOTE: You do need to allow for input of non-numeric in numeric inputs. My test cases will include things like entering ‘fred’ in the ‘cost of property’ field. So, you need to use exceptions.
There are 6 mandatory test you must run and document (these are in a separate document). I expect you to run and document additional tests that you have written yourself.
Here in Australia the housing market is divided into mainly two kinds of purchasers.
The system you need to build helps both kinds of customers with different reports by providing the following services:
The Bank Id, Loan Type, current Interest Rate, loan establishment fee, and the maximum percentage of purchase price to be borrowed are read from the file ‘BankIr1.txt’:
Below is a copy of the file BankIr1.txt
WESTPAC,HOME,3.69,395,80
WESTPAC,INV,3.69,395,95 COMB,HOME,3.69,600,95 COMB,INV,3.72,600,95 ANZ,HOME,3.28,500,95 ANZ,HOME2,3.22,600,80 ANZ,HOME3,3.20,900,85 NAB,HOME,3.53,790,90 NAB,INV,3.63,190,95 INTEL,INV,4.86,0,95 BEYOND,HOME2,3.69,0,95 |
Note advanced students should read this into several arrays or even just one array with a data class, but it’s also possible to just open the file when you need it and look for the one line you need thus you don’t need to use arrays to complete the assignment for a good mark.
You can assume that these files BankIr1.txt and BankIr2.txt do not contain errors, in that all fields are in range and the correct type.
Stamp Duty is based on the value of the property and varies as shown on the following table. The value is rounded to the nearest dollar (using normal mathematical rounding). It is discounted for first home buyers who are buying a house up to $750,000 in value
Low value | High Value | First Home Buyer | Investor | |
$0 | $200,000 | $20 | $20 | |
$200,001 | $300,000 | $500 | $2,600 | |
$300,001 | $500,000 | $1,000 | $4,900 | |
$500,001 | $750,000 | $2,400 | $12,100 | |
$750,001 | $1,000,000 | $23,500 | $23,500 | |
NOTE1: The above rates and information is based on reality but is not reality, it’s simplified for the assignment. Banks have all kinds of varying terms and conditions to make it hard to compare one bank with another. the above table is not a reflection of reality; it’s a first-year assignment example.
The program must have