Scenario Barking Mad Kennels The Company: Barking mad is a kennel company that, for a fee, provides temporary accommodation for dogs. The company has a total of 10 enclosures where the dogs are kept....

please see my documents. i need to complete it the codes for it, i use netbeans, deadline is end of april


Scenario Barking Mad Kennels The Company: Barking mad is a kennel company that, for a fee, provides temporary accommodation for dogs. The company has a total of 10 enclosures where the dogs are kept. Each enclosure has a price attached to it and the owners will be charged for every day their dog occupies an enclosure. The enclosures can only hold 1 dog each. Owners will typically book an enclosure for a certain number of days and the price they pay will be worked out. You cannot book in advance! They work on a first come; first serve basis. The Problem: Currently Barking Mad Kennels use a paper-based system to manage their bookings; however, this has proved to be problematic. Where the paper-based system relies heavily on the accuracy of staff, user errors are common. In some cases, customers have been over or undercharged and sometimes bookings are taken when the kennels are in fact full. The Requirements: They have asked you to build them an electronic system. The system should allow a staff member to enter the details of a dog, these details will include: Name, Owner name, age, gender, breed and general notes. Once the details have been entered the dog will be assigned to an empty enclosure. If there are no empty enclosures, the system should alert the user. The system will need to store the following information on the enclosures: Enclosure number, occupant (dog), number of days it’s booked for and price. Whilst entering the details for the dog, the user should also enter the number of days they wish to book the enclosure for. The system should then calculate the price the owner has to pay. Additionally, the staff should be able to pull up a dog’s information on screen by entering the enclosure number. They should also be able to remove a dog from the system by entering the enclosure number. Assessment Task Please read and analyse the scenario found on page 2 of this assignment document. In line with the requirements set out by the scenario you will need to do the following: 1. Firstly, it is important not to jump straight into the coding when developing an object-oriented application. Thus, you will be required to do some basic design BEFORE you code the application. Below I have provided what is known as a “domain model” which lists the classes I expect the program to have and how they relate to one another. Please note that this diagram does not include the main class (where the main method will be) – your program will need this class when you come to build it! You will need to re-create this in a word document and then extend it so that it also lists: a. The attributes that you initially think each class should have b. The methods that you initially think each class should have. There is no formal expectation on how you go about this, but one way is to draw a class diagram. You can find an example of a class diagram in appendix A of this document. Please note, as you are not formally practiced in design at this stage, the designs you create will not be formally marked. In other words, there is no major pressure on how accurate they need to be. That said, They MUST exist and must demonstrate that you’ve made a reasonable attempt. They should also follow the basic template as set out in the diagram above Failure to submit designs or submitting a wildly unrealistic attempt could result in an F grade. 2. Once you have had a go at the design phase, you can develop the application. Ensure that you keep referring back to the scenario to ensure that you haven’t missed any features. This application is a console application – you will not need to create a GUI! Please see the grading criteria (further down this document) for an idea of how the application will be assessed. I will also take this opportunity to clarify the following points (which are featured in the grading criteria, thus if you do not adhere to them, your grade will be impacted) a. This assessment is primarily testing your understanding of objects and aggregation. To ensure these concepts are adequately demonstrated, I have provided you with a structure for this program (see diagram above). Your application is expected to follow this structure. In other words, your application must have the company, enclosure and dog classes and they must relate to each other as indicated in the diagram provided (page 3 of this document). b. This assessment will also test your abilities with fundamental programming concepts, including loops and arrays. As this is what I am assessing, I must categorically state that standard arrays must be used! Some of you will have prior programming knowledge and others may do some internet research and be swooned in to using tools like “lists”, “ArrayLists” etc. These are not to be used for this assessment! I understand that some will find this frustrating, but arrays are a requirement of this assignment. The above points are also mentioned in the grading criteria, so please consider this a very fair warning – they will be enforced firmly. Deliverables Upon completion of this assignment, you will need to upload the following to ‘Solent Online Learning’: • A .ZIP file containing your code project • A word document containing your design Please upload the word document separately to the .zip file. Do not put the word document in the .zip file.
Apr 15, 2021
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here