COIT11237 IT Assignment
Part A —
(50 marks) (50 marks)
Draw an Entity-Relationship Diagram (ERD) for the data storage requirements described in the case study below.
The case study will contain conflicting, ambiguous, vague, and missing information. Seek clarification and/or make reasonable assumptions to complete the requirements: your assumptions and clarifications need to support all details of the ERD that are not already provided by the case study. Document any assumptions you make and clarifications you obtain in an appendix named ‘Assumptions and Clarifications’. There are two options:
- Seek clarification about the case study by searching the forums. If your question has not already been discussed, please post your question.
- Make reasonable assumptions about missing or ambiguous information in the case study. However, marks may be lost for unreasonable assumptions. For example, it is unreasonable to assume that people only ever drive around with one passenger in their car.
- Your ERDs should be neat, clear and easy to read.
- Please follow the modelling standard used in the text book and lecture slides.
The Case Study
We are creating a web service/app that is a rideshare service to chauffeur kids to events such as school or extra-curricular activities. You will need to record information about the cars, the drivers, the kids and the trips that they make. When one person decides to drive somebody else’s kids, they both need to give permission, and these permissions need to be recorded. Please specify the data storage requirements.
Car trips need to be recorded. Trips allow people to attend events at the trip stops.
The system records the information used to determine which trips are optional “taxi trips”. That is, record who needs to attend which stops.
Jamie would be happy if somebody else could take Ben. However, Karen feels compelled to drop Thomas off each morning.
If an optional trip overlaps with another trip, and there is room in the car, then the system will offer the (optional) taxi trip to the other driver. Do not record the offers made, just the acceptance of the offers. You do not need to figure out which trips are optional. You only need to record the information that will be needed to determine which trips are optional taxi trips.
Two stops overlap another if their locations are close and both parties are at their stop within 10 minutes of each other. Record enough information so that we can determine which stops overlap.
assumption about what ‘close’ means.
Permission is sought from the (original) driver when their trip is offered to another driver. Do not record the offers made, just the acceptance of permission.
Once we have permission from both the original and new drivers, the system will assign the trip to the new driver.
kids, the system will record that Karen’s trip is a substitute for Jamie’s trip.
How You Are Marked for the Entity-Relationship Diagram (ERD)
You need to ensure you pay attention to the following aspects when developing your ERD:
- Correct entities are identified
- Correct unique identifiers
- Appropriate attributes for each entity
- Appropriate notation
- Correct relationships and cardinalities (min/ max cardinalities)
- Assumptions/ clarifications support all details provided in the ERD
(6 marks) (6 marks) (8 marks) (10 marks) (10 marks) (10 marks)
Part B — Data Model Transformation (50 marks)
Implement the ER model you developed in Part A as a relational database design.
1. Transform your ER model into a relational database design. (25 marks)
Note: Document the tables in your design using the Relation Notation shown below. Customer(CID, Name, Street, Suburb, State, PostCode, DiscountPercent, Email)
SalesOrder(SOID, CID, Number, FullPrice, Discount, FinalPrice, TotalPaid, Status) foreign key (CID) references Customer(CID)
Provide a brief explanation about cascades for each foreign key.
How You Are Marked for the relational database design