Diploma in Information Technology
Programming Fundamentals
CA3 Group Assignment
January 2023 Semester
Submission Date: 12 February 2024, 11.59 a.m.
Continuous Assessment 3 Group Assignment (40%)
The Java application constitutes 30% of your overall grade, while the class
presentation is another 10%. Total marks for this assessment is 100 marks.
Project Task:
To enhance the experience of zoo enthusiasts, you are required to develop a
command line application using any Java IDE. This application should simulate the
management of a virtual zoo, including handling animals, enclosures, and
zookeepers. The Java application constitutes 30% of your overall grade, while the
class presentation is another 10%. The total marks for this assessment are 100
marks.
Project Requirement
With what you have learned from the module, you are task to develop the Java
application with the following:
1. You are required to write FOUR (4) Java classes.
a. Zoo
b. Animal
c. Enclosure
d. ZooManagement (Main Class)
More information about these Java classes will be on the next section of this
document.
2. Implement Error Handling methods on relevant functions.
Your program should handle errors effectively, ensuring the program only
terminates when the user chooses to exit, rather than due to unhandled
exceptions or runtime errors.
Class Descriptions
For each of the FOUR (4) Java classes listed above, you are to refer to their UML
class diagrams below, as well as their field and method descriptors, to determine a
way to code them. For each class, you are also to:
Define appropriate constructor(s) for them.
Define all needed getter and setter functions for them.
Note: All fields and methods listed in the UML class diagrams are COMPULSORY.
You can add any number of fields and methods that you need to help you implement
the class.
Zoo
- name : String
- description : String
- enclosures : ArrayList
+ <