Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

X Gym Case Study The X Gym is an international gym and has a branch in Jordan. The gym aims at improving the current services.

image text in transcribed
image text in transcribed
X Gym Case Study The X Gym is an international gym and has a branch in Jordan. The gym aims at improving the current services. First, the gym wanted to order a set of vending machines in order to help the clients getting their healthy meals, drinks and clothes any time during their availability at the gym. The X gym contacted the vending machine vendors and purchased ones with customised capabilities. The X gym system maintain all information about allocated vending machines that have the following information 1D, location and capacity. At the first meeting between the X gym and vendors, the X gym marketing manager required the vendors marketing team to provide vending machines that can provide hot drinks, cold soft drinks, hot sandwiches and cold meals such as salads. Regarding clothes, the vending machine can provide t-shirt for all sizes (S, M, L). Also, it can provide hats and towels. The client can query about item prices and then order items. The vending machine should provide a receipt to the client that shows ordered items, total and change if any. Payment can be done by cash or through credit card. In order to buy an item, the client should smile to the camera first 9 . Then if the customer knows about the price, s/he push order button and enter the item no and quantity. If client does not know about the price, the client should push query button and then enter item number. The system should then display price on the screen. Once the client has finished ordering items, the client should press ready to pay button. The screen shows the total and asks the customer whether 5/ he wishes to pay or to cancel. If cancelled, the system resets everything to default mode and waits for a new client visit to the machine. If customer proceeds to payment, the system asks the client s/he wishes paying by card or cash. If cash, the systems receives complete money, returns changes if any, outputs the ordered items and prints a receipt. If cash is not completed, the system waits receiving full money or client can cancel the payment and system switches to default mode. If credit card is selected for payment, the client enters card details and password. If card is valid, then system prints the receipt and outputs the ordered items. If card not valid, the system redisplays the payment options screen (pay by cash or card). Second, regarding the people. The gym has members, employees that are trainers, managers or others. In X gym system, managers should register all vending machine information and uses the system to generate monthly reports regarding trainers and customers. Members are registered through the registration system where they should provide the receptionist their full details: first name, last name, national ID number, age and address. The receptionist will ask the member to scan her/his fingerprint for entry verification purposes considering that the receptionist would ask the member to scan it three times in order to save the finger print in the gym members database. Finally, members should pay by cash or credit card at the reception based on their type of subscription ( 3 months, 6 months or year). The receptionist should verify the validity of credit card. If credit card is valid, payment is done and process ends here. Otherwise, the member has two options either to pay by cash or cancel registration. The freelancer trainers can use the gym trainers' portal by signing in using their gym account ID and password. The trainer can do many things in portal such as viewing current training classes, update profile details and run a class. In order to allow a freelancer trainer running a class, 5/ he should be certified taking into account that the latest certificate should be within the last 3 months. If trainer is certified, the portal will allow her/him to search within the current schedule. Each schedule is designed for the current month with respect to days and time slots (8:00 am - 8:00 pm). For example, a slot in February is referenced by Feb Tuesday 9:00 am. The trainer can see that the booked slots are shaded (not clickable) where empty slots are white in colour and clickable. As along as the trainer clicks on shaded slots, the system will not respond until an empty slot is clicked. Once empty available slot is clicked, the trainer fills class name and description details. It is trainer's option to requires some tools in the training studio. Then, the trainer submits the class. Accordingly, the class database is updated and the slot is booked for that trainer. In the light of the above case study, analyse and design the following: Q1- Design examples of modules that meet SRP. Q2- a- Does membership subscription module meet SRP? If yes, why? If no, redesign it to meet SRP? b- How would you design the member subscription interface that meets ISP? Q3- Design modules that use composite relationship? Q4 - Give two design examples of modules that meet LSP? Q5-Give a design example of a delegation relationship? Q6- Assume that manager wishes to have two kind of reports. One for customer and the another for trainers. How would you design a DFD that meets both LSP and OCP? Q7- Give a design example of aggregation relationship

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Inductive Databases And Constraint Based Data Mining

Authors: Saso Dzeroski ,Bart Goethals ,Pance Panov

2010th Edition

ISBN: 1489982175, 978-1489982179

More Books

Students also viewed these Databases questions