|MITS4002 OBJECT-ORIENTED SOFTWARE DEVELOPMENT Activity 03 Weightage: 15% Due date: Sunday Lesson 04 11:59 PM|
|Late penalty applies on late submission, 10% per day would be deducted 0 mark for LATE Submission more than one week You will be marked based on your submitted zipped file on Moodle. You are most welcome to check your file with your lab tutor before your submission. No excuse will be accepted due to file corruption, absence from lecture or lab classes where details of lab requirements may be given. Please make sure that you attend Lecture EVERY WEEK as low attendance may result in academic penalty or failure of this unit.|
|Student ID: Student full name:|
This assessment item relates to the unit learning outcomes as in the unit descriptors. This checks your understanding about object-oriented software development.
This assessment covers the following LOs.
LO1 Demonstrate understanding of classes, constructors, objects, data types and instantiation; Convert data types using wrapper methods and objects
LO2 Independently analyse customer requirements and design object-oriented programs using scope, inheritance, and other design techniques; Create classes and objects that access variables and modifier keywords. Develop methods using parameters and return values
LO3 Demonstrate adaptability in building control and loop structures in an object- oriented environment; Demonstrate use of user defined data structures and array manipulation
Project: Comparing Loans
Write a program that lets the user enter the loan amount and loan period in number of years and displays the monthly and total payments for each interest rate starting from 5% to 8%, with an increment of 1/8. Here is a sample run:
Loan Amount: 10000 Number of Years: 5
|Interest||Rate||Monthly Payment||Total Payment|
Use the formulas below to compute monthly payment and total payment.
𝑚𝑜𝑛𝑡ℎ𝑙𝑦𝑃𝑎𝑦𝑚𝑒𝑛𝑡 = (𝑙𝑜𝑎𝑛𝐴𝑚𝑜𝑢𝑛𝑡 ∗ 𝑚𝑜𝑛𝑡ℎ𝑙𝑦𝐼𝑛𝑡𝑒𝑟𝑒𝑠𝑡𝑅𝑎𝑡𝑒)/1 – (1 / (1 + 𝑚𝑜𝑛𝑡ℎ𝑙𝑦𝐼𝑛𝑡𝑒𝑟𝑒𝑠𝑡𝑅𝑎𝑡𝑒)12∗𝑛𝑢𝑚𝑏𝑒𝑟𝑂𝑓𝑌𝑒𝑎𝑟𝑠)
𝑡𝑜𝑡𝑎𝑙𝑃𝑎𝑦𝑚𝑒𝑛𝑡 = 𝑚𝑜𝑛𝑡ℎ𝑙𝑦𝑃𝑎𝑦𝑚𝑒𝑛𝑡 ∗ 12 ∗ 𝑛𝑢𝑚𝑏𝑒𝑟𝑂𝑓𝑌𝑒𝑎𝑟𝑠
Design: (Describe the major steps for solving the problem.)
Coding: (Copy and Paste Source Code here. Format your code using Courier 10pts)
Output screenshot: (Paste your output screenshot here)
Testing: (Describe how you test this program)
Submit the following items:
Submit this Word document with solution via LMS (you must submit the program regardless of whether it complete or incomplete, correct or incorrect)
- Can you get the first four rows manually? This will help you understand how to compute the numbers mathematically.
- Can you write a program to produce the first four rows? This will help you see the pattern.
- Can you generalize it in a loop to produce all the rows?
- Finally, format the output correctly.
Rubrics for MITS4002 Activity 03
|Design/Analysis||Meets the expectation||Approaches the expectation||Partially meets the expectation||Do not meet the expectation|
|Coding; Indentation; Comments||Meets the expectation||Approaches the expectation||Partially meets the expectation||Do not meet the expectation|
|Output screenshots; Correct answer; Currency/Percentage formatting||Meets the expectation||Approaches the expectation||Partially meets the expectation||Do not meet the expectation|
|Single WORD document as requested||Meets the expectation||Approaches the expectation||Partially meets the expectation||Do not meet the expectation|
|Evidence of testing and debugging||Meets the expectation||Approaches the expectation||Partially meets the expectation||Do not meet the expectation|
Get expert help for MITS4002 OBJECT-ORIENTED SOFTWARE and many more. 24X7 help, plag free solution. Order online now!