Project - ITDR2104 (10 Marks) General Instructions: • This project work consists of four parts. This is not a group work. Every student must work on this project individually. • This project has to be completed as we make progress in this course. • Each part of the project can be completed within 3 weeks from the completion of relevant part in class. • Two or more students submitting a similar report will get ZERO marks. • Submit this report on 23/12/2021 4pm through Blackboard only. No email submission will be acknowledged/accepted/marked. Part-1: 5 marks Create a Java Project (with a class and a test class) to represent some real-world entity such as a technology item (TV, Fan etc), an animal, a person, a vehicle, etc. In our class, we have already seen example classes such as Circle, Student, Rectangle, TV etc. The class will: a) Create a total of 5 member variables for the class by selecting the appropriate data types for each field. For example, a class to represent a lamp might include color, price, height, numBulbs, batteryOperated. Each of these 5 variables needs a data type. b) Include at least three different constructor methods, including the default constructor (no argument constructor), so totally three constructors. c) Create a method called show Values() to display the values of an object in a formatted manner. The Java test class (with a main method) will: a) Instantiate at least three objects (using each of the constructors at least once) with your program. b) Store the data from the individual objects into an array. c) Utilize the show Values) method to display the content of an object created. Note: 1) Draw the UML diagram for the class and then implement the class. Draw object diagrams wherever possible to show the state of the objects created 2) Generate output samples demonstrating all of your member functions showing their functionality (i.e. inputting values, outputting values (displaying them), performing calculations, etc.). Include the below in your project report: 1. The UML diagram of the class. 2. The class and test class 3. Screenshots of output generated from the application.

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question
Project - ITDR2104 (10 Marks)
General Instructions:
This project work consists of four parts. This is not a group work. Every student must
work on this project individually.
This project has to be completed as we make progress in this course.
Each part of the project can be completed within 3 weeks from the completion of relevant
part in class.
Two or more students submitting a similar report will get ZERO marks.
• Submit this report on 23/12/2021 4nm through Blackboard only. No email submission
will be acknowledged/accepted/marked.
Part-1:5 marks
Create a Java Project (with a class and a test class) to represent some real-world entity such as a
technology item (TV, Fan etc), an animal, a person, a vehicle, etc. In our class, we have already
seen example classes such as Circle, Student, Rectangle, TV etc.
The class will:
a) Create a total of 5 member variables for the class by selecting the appropriate data types
for each field. For example, a class to represent a lamp might include color, price, height,
numBulbs, batteryOperated. Each of these 5 variables needs a data type.
b) Include at least three different constructor methods, including the default constructor
(no argument constructor), so totally three constructors.
c) Create a
manner.
method called show Values( ) to display the values of an object in a formatted
The Java test class (with a main method) will:
a) Instantiate at least three objects (using each of the constructors at least once) with your
program.
b) Store the data from the individual objects into an array.
c) Utilize the showValues() method to display the content of an object created.
Note:
1) Draw the UML diagram for the class and then implement the class. Draw object diagrams
wherever possible to show the state of the objects created
2) Generate output samples demonstrating all of your member functions showing their
functionality (i.e. inputting values, outputting values (displaying them), performing
calculations, etc.).
Include the below in your project report:
1. The UML diagram of the class.
2. The class and test class
3. Screenshots of output generated from the application.
ITDR2104 Programming
Fall 2021
Part-2: 5 marks
Consider the Class that you designed in Part-1 of this project and do the following:
1. Encapsulate the class.
2. Implement the Comparable and Cloneable interface for your class.
3. The Test class should create 10 instances (objects) of your class.
4. Store these instances in Array and ArrayList.
5. Show the demo of sorting these objects stored in Array and ArrayList.
Include the below in your project report:
The code of implementing Comparable and Cloneable Interfaces.
Screenshot of relevant (Comparable and Cloneable) outputs.
Transcribed Image Text:Project - ITDR2104 (10 Marks) General Instructions: This project work consists of four parts. This is not a group work. Every student must work on this project individually. This project has to be completed as we make progress in this course. Each part of the project can be completed within 3 weeks from the completion of relevant part in class. Two or more students submitting a similar report will get ZERO marks. • Submit this report on 23/12/2021 4nm through Blackboard only. No email submission will be acknowledged/accepted/marked. Part-1:5 marks Create a Java Project (with a class and a test class) to represent some real-world entity such as a technology item (TV, Fan etc), an animal, a person, a vehicle, etc. In our class, we have already seen example classes such as Circle, Student, Rectangle, TV etc. The class will: a) Create a total of 5 member variables for the class by selecting the appropriate data types for each field. For example, a class to represent a lamp might include color, price, height, numBulbs, batteryOperated. Each of these 5 variables needs a data type. b) Include at least three different constructor methods, including the default constructor (no argument constructor), so totally three constructors. c) Create a manner. method called show Values( ) to display the values of an object in a formatted The Java test class (with a main method) will: a) Instantiate at least three objects (using each of the constructors at least once) with your program. b) Store the data from the individual objects into an array. c) Utilize the showValues() method to display the content of an object created. Note: 1) Draw the UML diagram for the class and then implement the class. Draw object diagrams wherever possible to show the state of the objects created 2) Generate output samples demonstrating all of your member functions showing their functionality (i.e. inputting values, outputting values (displaying them), performing calculations, etc.). Include the below in your project report: 1. The UML diagram of the class. 2. The class and test class 3. Screenshots of output generated from the application. ITDR2104 Programming Fall 2021 Part-2: 5 marks Consider the Class that you designed in Part-1 of this project and do the following: 1. Encapsulate the class. 2. Implement the Comparable and Cloneable interface for your class. 3. The Test class should create 10 instances (objects) of your class. 4. Store these instances in Array and ArrayList. 5. Show the demo of sorting these objects stored in Array and ArrayList. Include the below in your project report: The code of implementing Comparable and Cloneable Interfaces. Screenshot of relevant (Comparable and Cloneable) outputs.
Expert Solution
steps

Step by step

Solved in 3 steps with 2 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY