Question

Create an ER model for the scenario. Make sure that you read the description carefully. Your...

Create an ER model for the scenario. Make sure that you read the description carefully. Your diagram should reflect all entities, attributes, and relationships in the description. You should make sure each entity has a primary key (a unique identifier). Use the relationship types we used in class (one-to-one, one-to-many, or many-to-many). Don't forget, attributes can describe both entities and relationships.

Scenario 2: Tracking Trips for the SchUber Taxi Service

A new Philadephia startup called SchUber is a matching service between freelance taxi drivers and passengers. The database to support the service tracks trips, passengers, and ratings that drivers and passengers can give each other.

The basic transaction for SchUber is the trip. A trip is described by the date and time the trip occurs and the fare. A trip involves one driver and at least one passenger. A driver has a first name, a last name, a social security number, and an email address. Drivers’ information is collected before they start offering any ride (hence it is possible for new drivers to have no trip yet). A passenger has a first name, a last name, and an email address. Note that only passengers who paid the fare are recorded. If there are multiple passengers on a trip, they can split the fare, and each of their paid amounts should be recorded in the database.

The database keeps track of addresses. An address is described by the street address, city, state, and zip code. A trip is associated with exactly two addresses, an origin address and destination address. An address can be included in the database even if it is not associated with any trip.

Passengers have the option to associate one address with their account (their home address) – this is useful for billing and for making a request for a home pick-up. Some addresses may not be associated with any passenger, and some addresses are associated with multiple passengers.

The rating system is one of the key features of SchUber. Both drivers and passengers can have ratings, although some of them may not have any ratings, especially if they just started with the service. When a driver or a passenger submits a rating regarding a trip, they give a numeric score (1 to 5), a time of rating, and the type of rating (i.e., for driver or for passenger) is also recorded. Therefore, each rating is associated with a driver, a passenger, and a trip. A trip may have no rating at all, or could have multiple ratings (for both the driver and the passenger, or if there were multiple passengers on the trip). A driver or a passenger may have no rating at all, or could have many ratings over time.

0 0
Add a comment Improve this question Transcribed image text
Know the answer?
Add Answer to:
Create an ER model for the scenario. Make sure that you read the description carefully. Your...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Create ER model to a taxi company

    The company is composed of many offices: Each office has:o A name, a city and a telephone number.o Each office has a Manager, several taxi owners, drivers and one administrative staff. The Manager is responsible for the day-to-day running of the office:1. Check the number of Jobs2. Check the number of complete jobs3. Check the number of failed jobs and the reason.Each manager has a name, ID, Office number, address, age(Less than 64) and telephone number (can have more than...

  • Create ER model A private taxi company called FastCabs was established in Glasgow in 1992. Since...

    Create ER model A private taxi company called FastCabs was established in Glasgow in 1992. Since then, the company has grown steadily and now has offices in most of the main cities of Scotland. However, the company is now so large that more and more administrative staff are being employed to cope with the ever-increasing amount of paperwork. Furthermore, the communication and sharing of information within the company is poor. The Director of the company, Paddy MacKay feels that too...

  • Q1.a) Based on the business rules, you are expected to construct an Entity-Relationship (ER) diagram. The...

    Q1.a) Based on the business rules, you are expected to construct an Entity-Relationship (ER) diagram. The ER diagram should include entities, attributes (if there are less than three specified in the business statements, please add some extra attributes), identifiers and corresponding data types, the relationships among entities with cardinality and associative entities. .b) Extend Q1.a) to apply generalization/specialization technique to construct an Enhanced-ER (EER) diagram. The EER diagram should specify the complete (total) and disjoint (mutuallyexclusive) constraints on the generalization/specialization....

  • analyze the students’ understanding in analyzing the given scenario and practical skills to build Class diagrams...

    analyze the students’ understanding in analyzing the given scenario and practical skills to build Class diagrams studied in chapters 8, 10 and 12 of IT242. The management of the groceries ordering system would desire to have a database system to keep track of orders, customers, drivers and stores. Read the following paragraph to answer the given questions. The system maintains four users' information. For each user, the system keeps a unique ID, name, login, password, address, contact number, category (Grocery...

  • Higher education wants to develop a transport information system. You as a database designer is asked...

    Higher education wants to develop a transport information system. You as a database designer is asked to develop a data model for the following scenario. Transport system provides facilities to students and staff commuting from their destinations across U.A.E regions using buses, cars minibusses depending on the number of passengers to a destination (places are- Karama, Rolla, or Rashidiya for example) . All the services run during the university hours with dropping university at 8 Am 12 noon, 7 PM,...

  • House of Rock is a rental business that rents musical instruments to bands. Create an ER...

    House of Rock is a rental business that rents musical instruments to bands. Create an ER diagram using erdplus.com for the House of Rock Operations Database, based on the following requirements. Use the Export Image command under the Diagram pull-down to generate a .png file. Upload the .png file to submit this assignment in Blackboard. The House of Rock Operations Database will keep track of instruments, bands, repair technicians, and shows. For each instrument, House of Rock will keep track...

  • Question 4. ER model (5 points). You are asked to design the ER diagram for a database to manage ...

    Question 4. ER model (5 points). You are asked to design the ER diagram for a database to manage data for athletes athletic game. Requirements are as follows: Each participating team has a name and a manager. Each athlete has a unique athlete ID, and is also described by first name and last name, gender and age. A team has many athletes but an athlete only belongs to one team. Each sport has a unique code and some sport name....

  • c) Write an ER Diagram for the following Library database. Identify all the Entities, Relationships and Attributes. Underline the primary keys and mark the different constraints. You can add an I att...

    c) Write an ER Diagram for the following Library database. Identify all the Entities, Relationships and Attributes. Underline the primary keys and mark the different constraints. You can add an I attribute as a primary key for an entity to make t unique if necessary. Library has a number of branches in the city, each branch having a name, address and librarian. Books have title, authors and publisher. A book can have multiple authors but a single publisher. Note that same...

  • 1) Create Conceptual Schema Diagram 2) Create a fully attributed Loagical Data Model Diagram 3) Create...

    1) Create Conceptual Schema Diagram 2) Create a fully attributed Loagical Data Model Diagram 3) Create the SQL script that will generate the data model Develop an EER model for the following situation using the traditional EER notation, the Visio notation, or the subtypes inside supertypes notation, as specified by your instructor: Wally Los Gatos and his partner Henry Chordate have formed a new limited partnership, Fin and Finicky Security Consultants. Fin and Finicky consults with corporations to determine their...

  • Create an ER from the following requirement. Use Chen notation with cardinality and participation notation. If...

    Create an ER from the following requirement. Use Chen notation with cardinality and participation notation. If you make an assumption that is not in the requirements, please note this on the ER. We are going to do a database for the film critic of a newspaper. The critic reviews movies and would like to keep track of the movie’s title, category (Humor, Drama, Action), and the date the movie was released. A title may have more than one category. We...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT