Skip to content
Dibakar Sutra Dhar edited this page Nov 18, 2019 · 1 revision

Welcome to the pet-hotel-system wiki!

SCHOOL OF INFORMATION TECHNOLOGY BACHELOR OF INFORMATION TECHNOLOGY TCS3064 OBJECT ORIENTED PROGRAMMING ASSIGNMENT (1 – 5 students in a group)

This assignment can be attempted individually or in a group of 2 to 3 students and it is worth 40% of the overall marks available for this module. The assignment is divided up into THREE (3) stages for submission. Learning outcomes for module assessed by this assignment are:

• Analyze a variety of problem solutions in terms of the design concepts and programming constructs. • Apply the principles of the object-oriented approach to programming such as inheritance and polymorphism. • Produce appropriate software documentation and reflect the effectiveness of work completed.

Introduction You are required to design and implement (in Java) a program to manage the details of a Pet Hotel System (PHS). The PetLover Pet Hotel is a resort-style vacation for dogs and cats which combines homelike amenities with recreational activity. The facility features a clean, secure and fun-filled environment includes boarding, grooming, obedience, training, and doggie day care. Trained and caring professionals provide customer service and animal expertise to ensure the comfort, safety and happiness - 24-hours a day, 365 days a year at a reasonable price. The objective of the system is to manage the followings:

    • • information on registration
    • • information on package
    • • information on booking
    • • information on payment
    • • report on registration
    • • report on package
    • • report on booking
    • • report on payment
    • • Administrator has the rights to access the PHS.
    • • The system should be able to reduce the manual administration in managing the PHS information.
    • • The system should be able to track and manage the information about pet, owner, packages, availability of room according to pet types and payment.
    • • The system should provide a necessary reporting.

You may model your design based on the scenario given above. The quality of your product will be based on how much detail you model the design as well as the level of completeness of your design and the actual product.

Your tasks: a) Design and implement class(es) (in Java) enough functionality to allow the operation of the following test program (which you also design, implement, test and document). b) The client program, which should have only the main method that calls methods of other classes, should do the following: • Construct a list of sample data with made-up details in to the program. • Insert and modify data accordingly to show functionality of the system. • Show the reports.

Program requirements: You should implement inheritance, composition, arrays or arrayList to store the necessary information. However, there is no need to implement any database.
You are advised to conduct some research and understand the concepts and implementation of composition as well as the necessary UML diagram such as Use Case diagram and Class diagram.

Other details: • You would also need to submit a report detailing the development of the program. It should contain the use case diagram and class diagram with all required classes, source code for all the classes and properly labeled sample screenshots of your program execution. • All java source files must contain the following information: your name, student id, course, and date. Include this information within comments (in the header) in the source code. • Your program should be compiled and executed using Java SE8.
• Each of your classes should be commented appropriately and the code checked for correct indentation and readability. You must follow the Java naming convention for your class, method and attribute names. • The following stages should be read carefully:

Stage 1 - Design (15 marks) Due date: Week 8 Deliverable: Report & CD

Your design should include the system’s interface and functionality. a) Object oriented analysis and design. Use case diagram describes scenarios for standard domain functions that the system must accomplish. In this section, you should present the use case diagram. b) You are required to construct a UML Class diagram. Class diagram describes the attributes and operations of a class and also the constraints imposed on the system. You should rationally describe the design process with good justification provided to support your design approach. You would get very low marks if you simply dump the entire system design (diagrams) with no justification provided.

Stage 2 - Development (20 marks) Due date: Week 12 Deliverable: Report and CD

The deliverables of this stage would be a COMPLETED and TESTED Java application. You are to ensure that you implement all the classes and their functionalities documented in your design (Stage 1).

Stage 3: Demonstration (5 marks) Due date: week 13 Deliverable: NA

All team members are required to attend a demonstration session which will be scheduled. The demonstration session enables the lecturer to access the originality of your work and test on your understating of the assignment.

Team Formation

Teams will consist of 1, 2 or 3 students. Team membership is finalized on week 4. Students who do not participate in or attend classes will be assigned to a group by the lecturer. Note: the impact of this is that students who do not attend class are likely to find themselves in a team with others who do not attend class as well. Exact numbers in each team will be determined by the size of the lecture group. The lecturer’s decision on team membership is final.

Main stages of the process

Tasks What to do Duration (dates) Due dates 1 Form a team. Read Team Formation carefully. Week 1 to week 4 Time: in class

2 Attend assignment briefing. Week 5 Time: in class

3 Work properly with group member to discuss and document the design rationale. Read Stage 1.

Week 6 to week 8


26 Oct 2018

Time: 5pm Mode of submission: Submit to TurnItIn 4 Work effectively with group members to develop a complete the application. Read Stage 2. Week 9 to week 12 Time: in class Mode of submission: Softcopy & hardcopy 5 Demonstration of the completed. Read Stage 3. Week 13 Time: in class (presentation slot)

Clone this wiki locally