MITS4002
OBJECT-ORIENTED SOFTWARE
DEVELOPMENTAssignment 1
Activity 09
Weightage: 5%
Due date: Friday Lesson 10 5PM
Late penalty applies on late submission, 10% per day would be deducted
0 mark for LATE Submission more than one week
0 mark for DUPLICATED Submission or Shared Work
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 study source was downloaded by 100000852006834 from CourseHero.com on 05-30-2023 05:22:11 GMT -05:00
https://www.coursehero.com/file/61785019/MITS4002-Activity-09-docx/
MITS4002 Actvity 09
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 objectoriented environment; Demonstrate use of user defined data structures and array
manipulation
Rubrics for MITS4002 Activity 09
Criteria (used as a guide only) Level of Performance
0 1 2 3
Design/Analysis
Coding; Indentation; Comments
Output screenshots; Correct answer;
Output formatting
1 single WORD document as requested
Evidence of testing and debugging
Total: 15/marks (scale to 5)
1
This study source was downloaded by 100000852006834 from CourseHero.com on 05-30-2023 05:22:11 GMT -05:00
https://www.coursehero.com/file/61785019/MITS4002-Activity-09-docx/
MITS4002 Actvity 09
Project: Converting pounds to kilograms calculator
Problem Description:
Write a JPanel (Conversion.java) and its testing class (testConversion.java) with
appropriate layout to create a user interface as shown in the figure below. Your program
should let the user enter a value in pound and should display the anwer in kilograms in a
text area when the “Convert!” button is clicked. Note, your answers should be expressed
in three decimal places, and use append() method to append the answers to the text area
so that any previous answers won’t go away.
Useful formula: 1 pound=0.453592 kilograms
Analysis/Design: State what you need to implement, border layout type and other
components required … etc.
Coding: (Paste your code here, including the implementation of the button
ActionListener)
Screenshots of your output and testing:
2
This study source was downloaded by 100000852006834 from CourseHero.com on 05-30-2023 05:22:11 GMT -05:00
https://www.coursehero.com/file/61785019/MITS4002-Activity-09-docx/
MITS4002 Actvity 09
Submit the following items:
1. Submit this Word document to Moodle (you must submit the program regardless
whether it complete or incomplete, correct or incorrect)
2. Fill in self-evaluation:
1. Is the UI created correctly?
2. Are the values computed correctly?
3. Is the text area displayed correctly?
3
This study source was downloaded by 100000852006834 from CourseHero.com on 05-30-2023 05:22:11 GMT -05:00
https://www.coursehero.com/file/61785019/MITS4002-Activity-09-docx/
Powered by TCPDF (www.tcpdf.org)