Draw an entity-relationship diagram for this database

Assignment Help Database Management System
Reference no: EM131066321

Database Modelling-

Question 1-

Consider that a journalist wants to create a simple database for covering the 2010 Tour de France cycling race. The race consists of a number of stages identified by a starting and destination city. Each stage is completed on a single date, and goes over a specific number of kilometres.

Riders (first name, last name, and date of birth, which together are unique) are employed by a team which is identified by a name and is managed by the team boss. The team boss is not a rider and is identified by his/her name. Each team is led by a team leader who himself/herself is also a rider. A team needs to have at least one rider to enroll in the race. Each rider must belong to one and only one team in the race. No two teams are allowed to have the same boss. Riders participate in a number of stages (not necessarily all, as they could give up after a number of days) and it is possible that a rider is absent from all stages. It is also possible that there are not any riders participating in a stage.

For each stage that a rider participates in, his total time spent from start to finish is recorded. Stages are either Mountain, Flat, or Team Time Trial stages. There are no other kinds of stages. For mountain stages the database keeps track of the grade (= difficulty level), the number of mountains in it, and the best climber (a rider). For a flat stage we record the number of intermediate sprints. For a team time trial we record which team won the stage.

For the information of the Best Climber of Mountain Stage and the Winning Team of TeamTimeTrial Stage, please model them as attributes instead of relationships.

(a) Draw an Entity-Relationship diagram for this database using UML notation. Be sure to include all the entities mentioned above, together with attributes (including primary key attributes), relationships and multiplicity constraints. Note that generalization/specification will be involved in the ER diagram.

(b) Construct a relational schema for the ER-diagram. Make sure that you correctly translate Specialization and Many-to-Many relationships.

Please follow carefully the following guidelines when you finish this question:

  • Please ONLY include the following entities in the ER diagram: Team, Rider, Stage, Boss, Mountain, Flat and TeamTimeTrial. The last three entities correspond to the three stage types. It is possible that there are more than one relationship between two entities in the diagram;
  • Please only use the attributes given in the instruction. Please do not makeup any other attributes yourself or use other names for the attributes;
  • Please only use the drawing tools (e.g., Microsoft Word or Visio) that are available for drawing up the ER diagram. It is not allowed to use those tools for automatic generation of the ER diagram;
  • Always highlight the primary keys for the entities created in the ER diagram and the relations transformed from the ER diagram;
  • Please do not use any artificial primary key (such as stage#). All the natural primary keys are provided in the instruction

Question 2-

Consider the following relation schema for table R:

R(ENo;DNo; PNo; EName; DName; PName; Edob; Dmanager; PCity; PCountry; hours; rate)

Attributes starting with "E" refer to Employees, those starting with "D" refer to Departments, and those with "P" to Projects. Employees, Departments, and Projects are identified by unique numbers. Each department has only one manager, but an employee can be managers for different departments. A department manager is represented by his/her name. The number of hours and hourly rate of pay for an employee to carry out a project are determined by himself/herself and the project. There may be multiple projects that are conducted in a department and multiple departments can be involved in a single project as well. Any employee can be affiliated with a few different departments and work in multiple projects at the same time. A project may involve multiple employees. Names for employees, managers, departments and projects are not generally unique. A project will only be conducted in a single city. Multiple cities from the same country may appear in the table, however, cities are uniquely named within and across all countries.

Answer the following questions:

(a) Identify the Functional Dependencies in R. Be sure to only include functional dependencies that satisfy the following 4 rules: 1) Only include non-trivial FDs; 2) Minimize the determinant (LHS), that is, only include full FDs; 3) Maximize the RHS; and 4) Only include FDs that cannot be derived from other FDs using Armstrongs axioms. Please refer to Page 26 of the Module 10 lecture notes for the details of the above requirements.

(b) Identify the super keys of R based on the Functional Dependencies. You need to use the concept of attribute closure to identify the keys. Intermediate steps in this process should be summarised. There may be many different super keys of R. It would be great if you can present all of them in a smart way rather than enumerating them one by one.

(c) Assume that R is in 1NF. Now normalise the relation to 2NF, 3NF, and BCNF. Be sure to indicate the FDs you are removing at each step, and why. Just giving the decompositions in each of the three Normal Forms is not sufficient.

While it is recommended to answer this question on just one page, you should use no more than two pages for this question.

Reference no: EM131066321

Questions Cloud

How can some risk be relevant and some risk not relevant : Provide a definition of risk using your own words. How does this definition apply to finance? How can some risk be relevant and some risk not relevant? Why are there more than one measure for risk regarding stock?
How problematic have these issues made it for you at home : If you checked off any difficulties, how problematic have these issues made it for you at home, work, with other persons?
Cash flows to cover interest payments : If a firm believes that it will have sufficient cash flows to cover interest payments, it may consider using ____ debt and ____ equity, which implies a ____ degree of financial leverage.
Decide between two different conveyor belt systems : Lang Industrial Systems Company ( LISC) is trying to decide between two different conveyor belt systems. System A costs $ 240,000, has a four- year life, and requires $ 75,000 in pretax annual operating costs. Whichever project is chosen, it will not..
Draw an entity-relationship diagram for this database : Draw an Entity-Relationship diagram for this database using UML notation. Be sure to include all the entities mentioned above, together with attributes (including primary key attributes), relationships and multiplicity constraints
How much of new investment must be financed by common equity : On January 1, the total market value of the Tysseland Company was $60 million. During the year, the company plans to raise and invest $25 million in new projects. The firm's present market value capital structure, shown below, is considered to be opt..
Assesses employee strengths and weaknesses : What are some of the problems that can occur for management, as well as, employees, if you currently have an appraisal system, which assesses employee strengths and weaknesses once a year and employees do not have a way of improving their performa..
Count the number of cars that pass every 4 minutes : count the number of cars that pass every 4 minutes at several times as tabulated below. Use the best numerical method to determine
Create a strategic plan for a company of your choice : Write a 2-4 page MLA paper in which you create a strategic plan for a company of your choice. This strategic plan will include and define the five elements of strategic planning for your selected company, and include a 3 year growth strategy for t..

Reviews

Write a Review

Database Management System Questions & Answers

  What is the maximum number of subscriptions for a subscriber

Using the Crow's Foot model, draw an ERD for the Meridian News database and state any assumptions you believe you have to make in order to develop a complete diagram.

  Explain why is hashing all database inputs not considered

question 1 what are the similarities between an md5 hash and a fingerprint?question 2 how would you encrypt a web

  State the rule applied to place a class into second form

The system development team at Wilson Company is working on developing a new customer order entry system.

  Advantages and disadvantages on all the methods

What are the advantages and disadvantages on all the methods available for creating a databaseg a database manually other than it's more complex than using the DBCA tool. Looking through

  Draw an erd containing the order and customer entity

Draw an ERD containing the order and customer entity types connected by a 1-M relationship from customer to order. Choose an appropriate relationship name using your common knowledge of interactions between customers and orders.

  Design a clean and normalized database

Design a clean and normalized database that handles books for a library application. You need to consider the following rules before you design the database: Analyze and identify some of the logical problems that might exist in the library system

  Coastal seafoodcoastal seafood is a family-owned business

coastal seafoodcoastal seafood is a family-owned business that operates on the east coast. the company already uses

  How each influence the design of the logical database model

Your supervisor requested a short memo identifying each of the five W's and the H (Who, What, Where, When, Why, and How) and how each could influence the design of the logical database model. Compose an 600-word e-mail to your supervisor.

  Explain the purpose of an info cube and dimensions

Explain the purpose of an "Info Cube" and "Dimensions"? How they are related to each other? Explain the process of building an "Info Cube".

  Convert data model to a set of virtual windows

You are to design a prototype for a hospital management system. Design a data model for this system, Convert the data model to a set of virtual windows.

  Convert the erd into tables in access

Convert the ERD into tables in Access. Submit screenshots. Use Access tools to generate forms for users to populate the tables.

  Convert the first normal form to second normal form

Convert each of the previously identified entities to third normal form. Make certain that the necessary foreign keys have been added to the final tables to support the relationship shown on your initial ER model.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd