Case Study
ProTKD Tae Kwon Do first opened their doors in 2001 at what now serves as their current head office in Thornhill, Ontario with the original business plan of offering Tae Kwon Do classes to children.
Business is booming as parents recognize that their children require regular exercise routines. ProTKD Tae Kwon Do was rebranded and ProTKD Martial Arts and Fitness last year. ProTKD now offers classes across the Greater Toronto Area, utilizing space in both their owned facilities and community centers. Classes are now offered for adults as well as children.
New families must first enroll with ProTKD as children cannot be added to a class unless the ProTKD is able to contact parents on an emergency basis. Once enrolled, parents are able to register for classes and purchase items at the ProTKD store.
Your team leader has written the following scenario to capture some of ProTKDs store requirements.
Use Case Name | Record store sale of t-shirts | ||
Triggering Event | Parent would like to purchase ProTKD branded t-shirts | ||
Brief Description | Allows the Store Manager to record a new sale of t-shirts. | ||
Actors | Store Manager | ||
Related Use Cases | |||
Preconditions | Store Manager has opened the Main Menu. | ||
Post Conditions | Sale is saved to the database and now can be added to the parents end of the month bill | ||
Flow of activities | Actor | System | |
1. | Requests to record a sale | Retrieves list of parents and prompts for selection. | |
2. | Selects a parent | Display of item types. Prompts for selection. Creates Sale assigning a unique identifier and sale date. Assigns current semester the sale | |
3. | Selects T-Shirts | Displays a list of t-shirts including price. Prompts for selection | |
4. | Selects required t-shirt | Displays T-Shirt. Prompts for quantity sold | |
5. | Enters quantity sold | Creates sale detail. Calculates taxes and total amount of the sale. Displays the t-shirts sold. | |
6. | Repeats the above 2 steps until all t-shirts selected | Calculates taxes and total amount of the sale. Displays the t-shirts sold. Displays the sale. Prompts for confirmation | |
7. | Confirms sale | Adds the sale transaction. | |
Exception Conditions | Store Manager chooses to cancel adding the sale |
Question 1
Create a class diagram that supports the scenario.
Question 2
Complete Object Level Sequence diagrams to support the above scenario.
Question 3
The above scenario assumes that t-shirts are one size fits all. What would happen if ProTKD decided to stock t-shirts in different sizes? Please describe in English how you change the current model to support the new requirements.
Question 4
As well as licensed merchandising, the ProTKD store sells snacks including granola bars and water. One of their suppliers has a recall on their granola bars because of bacterial contamination. ProTKD must contact parents who may have purchased the affected product. How ProTKD use your model to support this request? Please describe, in English, any changes to your model that should be made to support this request.
Part 2: Scheduling
You participated in a scheduling activity as part of week 9. Please use that activity as the case study for this part of the test.
Question 5 Class Diagram
Your task is to create a class diagram to support the activity and the scenario described below.
Use Case Name | Query Scheduled Classes for a Professor | ||
Triggering Event | Professor requests their schedule | ||
Brief Description | Allows a professor to request their scheduled with assigned classes and room numbers. The query must produce an online report displaying the professors assigned classes for a week. | ||
Actors | Professor | ||
Related Use Cases | |||
Preconditions | Professor has opened the Employee Menu | ||
Post Conditions | Online report is displayed to the professor. | ||
Flow of activities | Actor | System | |
1. | Requests Schedule | Uses login information to retrieve a schedule for the professor | |
Exception Conditions | Professor chooses to cancel retrieving their schedule | ||
Question 6 Sequence diagram
Please complete an object level sequence diagram to support the above scenario.
Reviews
There are no reviews yet.