Your supervisor has given you a specification document which details Pet BAG's software needs and includes...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Your supervisor has given you a specification document which details Pet BAG's software needs and includes a UML Class diagram. Using these documents, you will create both a Java class and a summary report. Your summary report will include pseudocode and a flowchart for one method (pet check in or pet check out), and an explanation of how your work meets object-oriented principles. Pet.java Class File 1. Before you begin, it is important to understand what your client needs the software to do, and what work has already been done by your team. Review the Pet BAG Specification Document, located in the Supporting Materials section, which includes a UML Class diagram. Pay close attention to the class hierarchy, attributes, and behaviors. 2. To begin, open the Virtual Lab by clicking on the link in the Virtual Lab Access module. Then open your integrated development environment (IDE) and create the Pet class based on the specifications in the UML Class diagram. The Pet class must include the following: All attributes with appropriate data structures. Note that the types are not specified in this UML class diagram. You will need to think about what the most appropriate data type is for each attribute. At least one constructor method. You may use a default constructor. To score "exemplary" on this criterion, your constructor must initialize values for the petType, petName, petAge, and daysStay attributes. Accessors and mutators for all attributes Note: You are only being asked to create one class. Though the UML diagram shows the Pet class as part of a larger application, for this project, you are not required to connect it to other classes or to try and run it as a program. Instead, you are practicing the skill of creating a class from a UML Class diagram. Global Rain Summary Report 1. When you are done implementing the Pet class, refer back to the Pet BAG Specification Document and select either the pet check in or check out method. These methods are detailed in the Functionality section of the specification document. 2. Open the summary report template, located in the What to Submit section. In the template, write pseudocode that lays out a plan for the method you chose. Ensure that you organize each step in a logical manner and that your method meets the specifications in the document for either the check in or check out process. Your pseudocode must not exceed one page. Note: Remember, you will not be creating the actual code for the method, and you do not have to write pseudocode for both methods. 3. Based on the pseudocode you wrote, create a flowchart using a tool of your choice for the method you selected. Your flowchart will help your team communicate how you are planning to develop the software for your client. Your flowchart must be confined to one page. In your flowchart, be sure to do the following: Include start and end points. Include appropriate decision branching. Align the flowchart to the check in or check out process. Note: You may draw your flowchart by hand and take a clear picture of it, or you may use a flowcharting tool. Refer to the Supporting Materials section to help you insert your flowchart into your summary report. 4. Based on your software design and development experience, your supervisor has asked you to articulate your programming approach. This will help ensure clarity, consistency, and efficiency among all developers working on this app. Specifically, you have been asked to briefly explain how you applied object-oriented programming principles and concepts (such as encapsulation, inheritance, and so on) in your software development work thus far. Your explanation should be one paragraph, or four to six sentences. UML Class Diagram Work on the Pet BAG application has already begun. Use this UML Class diagram, prepared by your supervisor, to understand the relationships between the Pet, Dog, and Cat classes. -dogSpaceNumber -dogWeight -grooming Dog -petType -petName Pet + Dog + getGrooming() + setGrooming + getDogWeight() + setDogWeight() +getDogSpaceNumber() + setDogSpaceNumber) -petAge -dogSpaces -catSpaces -daysStay - amountDue + Pet() + getPetType() + setPetType() + getPetName() + setPetName() + getPetAge() + setPetAge() + getDogSpaces() +setDogSpaces() + getCatSpaces() + setCatSpaces0 + getDaysStay() + setDaysStay) +getAmountDue() + setAmountDue Cat -catSpaceNumber + Cat +getCatSpaceNumber) + setCatSpaceNumber() Pet BAG Functionality Pet BAG is seeking an application that has the following initial functionality: Ability to check in pets Ability to check out pets Each of these functional areas is described in more detail below. Pet Check In The method for the pet check in process should meet the following criteria: Determine if the pet is a dog or a cat and check for boarding space. There are 30 spaces for dogs and 12 for cats. Pet BAG will need to be able to adjust these counts as the shop grows. If there is space for a new pet, collect the appropriate information. For returning pets, update the information as needed. Gather information on the length of the stay. Determine if the pet owner would like the pet to be groomed. Only dogs can be groomed and only if they stay two or more days. Assign the pet to a space. Pet Check Out The method for the pet check out process should meet the following criteria: Identify the pet and its boarding space. . Determine if the pet had a grooming fee. Only dogs can be groomed and only if they stay two or more days. Use the following table to calculate the total fees. Mark the boarding space as vacant. Type of Pet Daily Boarding Fee Grooming Fee Dog (greater than or equal to 30 lbs.) $34.00 $29.95 Dog (20-30 lbs.) $29.00 $24.95 Dog (fewer than 20 lbs.) $24.00 $19.95 Cat $18.00 N/A Your supervisor has given you a specification document which details Pet BAG's software needs and includes a UML Class diagram. Using these documents, you will create both a Java class and a summary report. Your summary report will include pseudocode and a flowchart for one method (pet check in or pet check out), and an explanation of how your work meets object-oriented principles. Pet.java Class File 1. Before you begin, it is important to understand what your client needs the software to do, and what work has already been done by your team. Review the Pet BAG Specification Document, located in the Supporting Materials section, which includes a UML Class diagram. Pay close attention to the class hierarchy, attributes, and behaviors. 2. To begin, open the Virtual Lab by clicking on the link in the Virtual Lab Access module. Then open your integrated development environment (IDE) and create the Pet class based on the specifications in the UML Class diagram. The Pet class must include the following: All attributes with appropriate data structures. Note that the types are not specified in this UML class diagram. You will need to think about what the most appropriate data type is for each attribute. At least one constructor method. You may use a default constructor. To score "exemplary" on this criterion, your constructor must initialize values for the petType, petName, petAge, and daysStay attributes. Accessors and mutators for all attributes Note: You are only being asked to create one class. Though the UML diagram shows the Pet class as part of a larger application, for this project, you are not required to connect it to other classes or to try and run it as a program. Instead, you are practicing the skill of creating a class from a UML Class diagram. Global Rain Summary Report 1. When you are done implementing the Pet class, refer back to the Pet BAG Specification Document and select either the pet check in or check out method. These methods are detailed in the Functionality section of the specification document. 2. Open the summary report template, located in the What to Submit section. In the template, write pseudocode that lays out a plan for the method you chose. Ensure that you organize each step in a logical manner and that your method meets the specifications in the document for either the check in or check out process. Your pseudocode must not exceed one page. Note: Remember, you will not be creating the actual code for the method, and you do not have to write pseudocode for both methods. 3. Based on the pseudocode you wrote, create a flowchart using a tool of your choice for the method you selected. Your flowchart will help your team communicate how you are planning to develop the software for your client. Your flowchart must be confined to one page. In your flowchart, be sure to do the following: Include start and end points. Include appropriate decision branching. Align the flowchart to the check in or check out process. Note: You may draw your flowchart by hand and take a clear picture of it, or you may use a flowcharting tool. Refer to the Supporting Materials section to help you insert your flowchart into your summary report. 4. Based on your software design and development experience, your supervisor has asked you to articulate your programming approach. This will help ensure clarity, consistency, and efficiency among all developers working on this app. Specifically, you have been asked to briefly explain how you applied object-oriented programming principles and concepts (such as encapsulation, inheritance, and so on) in your software development work thus far. Your explanation should be one paragraph, or four to six sentences. UML Class Diagram Work on the Pet BAG application has already begun. Use this UML Class diagram, prepared by your supervisor, to understand the relationships between the Pet, Dog, and Cat classes. -dogSpaceNumber -dogWeight -grooming Dog -petType -petName Pet + Dog + getGrooming() + setGrooming + getDogWeight() + setDogWeight() +getDogSpaceNumber() + setDogSpaceNumber) -petAge -dogSpaces -catSpaces -daysStay - amountDue + Pet() + getPetType() + setPetType() + getPetName() + setPetName() + getPetAge() + setPetAge() + getDogSpaces() +setDogSpaces() + getCatSpaces() + setCatSpaces0 + getDaysStay() + setDaysStay) +getAmountDue() + setAmountDue Cat -catSpaceNumber + Cat +getCatSpaceNumber) + setCatSpaceNumber() Pet BAG Functionality Pet BAG is seeking an application that has the following initial functionality: Ability to check in pets Ability to check out pets Each of these functional areas is described in more detail below. Pet Check In The method for the pet check in process should meet the following criteria: Determine if the pet is a dog or a cat and check for boarding space. There are 30 spaces for dogs and 12 for cats. Pet BAG will need to be able to adjust these counts as the shop grows. If there is space for a new pet, collect the appropriate information. For returning pets, update the information as needed. Gather information on the length of the stay. Determine if the pet owner would like the pet to be groomed. Only dogs can be groomed and only if they stay two or more days. Assign the pet to a space. Pet Check Out The method for the pet check out process should meet the following criteria: Identify the pet and its boarding space. . Determine if the pet had a grooming fee. Only dogs can be groomed and only if they stay two or more days. Use the following table to calculate the total fees. Mark the boarding space as vacant. Type of Pet Daily Boarding Fee Grooming Fee Dog (greater than or equal to 30 lbs.) $34.00 $29.95 Dog (20-30 lbs.) $29.00 $24.95 Dog (fewer than 20 lbs.) $24.00 $19.95 Cat $18.00 N/A
Expert Answer:
Related Book For
Managerial Accounting
ISBN: 9780073526706
12th Edition
Authors: Ray H. Garrison, Eric W. Noreen, Peter C. Brewer
Posted Date:
Students also viewed these databases questions
-
How does multiple-factor authentication improve security?
-
Please check my code for errors agaisnt the assignment which is long. The parts Dog and rescueAnimals files cannot be changed nor the original given code in the Driver file only can modify where it...
-
Determine each of the following as being either true or false. If an angle has a cosine of 0.2, then the secant of the angle is 5.
-
The financial statements of Zaki Industries for the year ended December 31, 2012, follow. a. Use the preceding financial statements to complete the following table. Assume the industry averages given...
-
In Fig. 4-48, the switch in the legacy end domain on the right is a VLAN-aware switch. Would it be possible to use a legacy switch there? If so, how would that work? If not, why not? Figure 4-48...
-
When a transducer is used in conjunction with another device to measure vibration, it is called a a. vibration sensor b. vibration pickup c. vibration actuator
-
Using the following information, prepare a trial balance for the Bilello Electric Repair Company as of June 30, 2013, grouping together the asset, liability, equity, revenue, and expense accounts....
-
Can we expect to see some long-term beneficial consequences from COVID-19 and its associated hysteria (mandatory business closure, social distancing, etc.)? Think about the Broken Window Fallacy and...
-
K f(x + h) - f(x) The expression following function. h f(x)=-6x+9x+6 The difference quotient is (Simplify your answer.) for h 0 is called the difference quotient. Find and simplify the difference...
-
Alliances are becoming an increasingly popular way for entrepreneurial firms to accelerate growth. However, firms should approach the possibility of forming an alliance strategically and carefully. A...
-
Motorized skateboards have been around since the early 1970s, but until Boosted Boards launched in 2012, almost no one noticed. Started by Stanford University engineering students Sanjay Dastoor,...
-
What is the residual dividend theory?
-
Fill in the blanks to make the following statements correct. a. Beginning with output equal to potential, suppose there is a sudden increase in demand for Canadian exports. This is a(n) __________...
-
A material is required for the windings of an electric heater for a sauna. The heating coils must be capable of temperatures up to \(800^{\circ} \mathrm{C}\). Think out what attributes a material...
-
What are the two classifications of operating expenses on a multi-step income statement? A, Cost of Goods Sold and Selling expenses B, Selling expenses and General and Administrative expenses C,...
-
If a process has a six-sigma capability, what is the process capability index? a. 1 b. 2 c. 6 d. 12
-
Starkey Companys sales, current assets, and current liabilities (all in thousands of dollars) have been reported as follows over the last five years (Year 5 is the most recent year): Required: 1....
-
Distinguish between (a) a variable cost, (b) a fixed cost, and (c) a mixed cost.
-
Below are listed various costs that are found in organizations. 1. The costs of turn signal switches used at a General Motors plant. These are one of the parts installed in the steering columns...
-
(a) Complete a steady-state simulation of the vinyl-chloride process in Figure 2.6. First, create a simulation flowsheet. Assume that: Cooling water is heated from 30 to \(50^{\circ} \mathrm{C}\)...
-
For the monochlorobenzene separation process in Figure 7.14, the results of an ASPEN PLUS simulation are provided in the multimedia modules under ASPEN \( ightarrow\) Principles of Flowsheet...
-
Complete a simulation of the entire process for the hydrodealkylation of toluene in Figure 6.14. Initially, let the purge/recycle ratio be 0.25 ; then, vary this ratio and determine its effect on the...
Study smarter with the SolutionInn App