Database System Concepts
Database System Concepts
7th Edition
ISBN: 9780078022159
Author: Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher: McGraw-Hill Education
Bartleby Related Questions Icon

Related questions

bartleby

Concept explainers

Question

Need help with Pet check in Pesudocode and Flow chart please!

-dogSpaceNumber
- dogWeight
- grooming
+ Dog()
+ getGrooming()
+ setGrooming()
Dog
+ getDogWeight()
+ setDogWeight()
-petType
-petName
-petAge
dogSpaces
catSpaces
-daysStay
amountDue
+ Pet()
+ getPetType()
+ setPetType()
+ getPetName()
+ setPetName()
+ getPetAge()
+ setPetAge()
+ getDogSpaces()
+ setDogSpaces()
+ getCatSpaces()
+ setCatSpaces()
+ getDaysStay()
+ getDogSpaceNumber(
+ setDogSpaceNumber()
+ setDaysStay()
+ getAmountDue()
+ setAmountDue()
Pet
Cat
- catSpaceNumber
+ Cat()
+ getCatSpaceNumber()
+ setCatSpaceNumber()
expand button
Transcribed Image Text:-dogSpaceNumber - dogWeight - grooming + Dog() + getGrooming() + setGrooming() Dog + getDogWeight() + setDogWeight() -petType -petName -petAge dogSpaces catSpaces -daysStay amountDue + Pet() + getPetType() + setPetType() + getPetName() + setPetName() + getPetAge() + setPetAge() + getDogSpaces() + setDogSpaces() + getCatSpaces() + setCatSpaces() + getDaysStay() + getDogSpaceNumber( + setDogSpaceNumber() + setDaysStay() + getAmountDue() + setAmountDue() Pet Cat - catSpaceNumber + Cat() + getCatSpaceNumber() + setCatSpaceNumber()
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
Dog (greater than or equal to 30 lbs.)
Dog (20-30 lbs.)
Dog (fewer than 20 lbs.)
Cat
Daily Boarding Fee
$34.00
$29.00
$24.00
$18.00
Grooming Fee
$29.95
$24.95
$19.95
N/A
expand button
Transcribed Image Text: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 Dog (greater than or equal to 30 lbs.) Dog (20-30 lbs.) Dog (fewer than 20 lbs.) Cat Daily Boarding Fee $34.00 $29.00 $24.00 $18.00 Grooming Fee $29.95 $24.95 $19.95 N/A
Expert Solution
Check Mark
Step 1: The details given in the above question is mentioned below as,

In the above question , a statement is mentioned 

Knowledge Booster
Background pattern image
Computer Science
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Recommended textbooks for you
Text book image
Database System Concepts
Computer Science
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:McGraw-Hill Education
Text book image
Starting Out with Python (4th Edition)
Computer Science
ISBN:9780134444321
Author:Tony Gaddis
Publisher:PEARSON
Text book image
Digital Fundamentals (11th Edition)
Computer Science
ISBN:9780132737968
Author:Thomas L. Floyd
Publisher:PEARSON
Text book image
C How to Program (8th Edition)
Computer Science
ISBN:9780133976892
Author:Paul J. Deitel, Harvey Deitel
Publisher:PEARSON
Text book image
Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781337627900
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning
Text book image
Programmable Logic Controllers
Computer Science
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education