Pesudocode

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
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()
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
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
Step 1: The details given in the above question is mentioned below as,

In the above question , a statement is mentioned 

steps

Step by step

Solved in 3 steps with 2 images

Blurred answer
Knowledge Booster
Fundamentals of Input and Output Performance
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
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education