Draw an entity-relationship diagram for database

Assignment Help Database Management System
Reference no: EM131099196

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.

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 withattributes (including primary key attributes), relationships and multiplicity constraints. Note that generalization/specification will be involved inthe ER diagram.

(b) Construct a relational schema for the ER-diagram. Make sure that youcorrectly 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 threeentities correspond to the three stage types. It is possible that there aremore 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 areavailable for drawing up the ER diagram. It is not allowed to use thosetools for automatic generation of the ER diagram;
- Always highlight the primary keys for the entities created in the ER diagramand the relations transformed from the ER diagram;
- Please do not use any artificial primary key (such as stage#). All thenatural 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: EM131099196

Questions Cloud

Grammar permits redundant or contradictory declarations : a) Show how this grammar can be generalized to permit n options Ai. I ≤: i es n. each of which can be either a, or bj
Which is true regarding the responsive evaluation model : A program evaluator who determines that the results of the proposed evaluation will most benefit those who participate in the program or who are stakeholders will employ which model of program evaluation?
Determining the amortized mortgage : If a company buys a building for $874,600 and finances the acquisition with a 10-year amortized mortgage that has a 3.96% interest rate with quarterly payment, how much principal will be repaid during year 5? can you show me the answer and how do ..
Use regular-expression-like operators : We can use regular-expression-like operators in the right sides of grammar productions. Square brackets can be used to denote an optional part of a production. For example, we might writ
Draw an entity-relationship diagram for database : Draw an Entity-Relationship diagram for this database using UML notation.Be sure to include all the entities mentioned above, together withattributes
What types of influence does the agency have on the groups : From what you have discovered, what types of influence do these outside groups have on the agency? What types of influence does the agency have on these groups?
Nominal rate of return with annual compounding : If you invest your savings and earn an 8.40% nominal rate of return with annual compounding, how much money will you have in your retirement fund at the time you retire?
What are the components of the problem analysis triangle : What are the components of the problem analysis triangle, and why is it so effective in analyzing crimes and criminal issues? How does it help us understand and develop crime prevention strategies?
Grammar generates all regular expressions over the symbols : Note that the first vertical bar is the "or" symbol. not a separator between alternatives,

Reviews

Write a Review

Database Management System Questions & Answers

  Percentage of elapsed time

Let us assume that a program takes 400 seconds of elapsed time to execute. Out of these 400 seconds, 320 seconds is the CPU time and the rest is I/O time. What percentage of elapsed time is spent on I/O operations?

  Imagine that you have been hired as a consultant to assist

imagine that you have been hired as a consultant to assist in streamlining the data processing of an international

  Map the erd to create the relational model

Map the ERD to create the relational model corresponding to the described application. Basically, list the CREATE TABLE statements with the attribute names, and appropriate data types.

  Data entities of this enterprise

Consider a student club or organization in which you are a member. What are the data entities of this enterprise? List and define each entity.

  Modify the database by adding an additional column

Modify the database by adding an additional column ("Deleted_Date") to those tables that represent entities that could contain data which can be deleted and justify your rationale in a short paragraph.

  Identify the primary decisions a database administrator make

With the obvious pace of current technology development, data continues to grow daily. Imagine that you are a Database Administrator for a large organization. Identify the primary decisions a Database Administrator must make in order to manage such d..

  Draw decision tree to represent the big state university

A student who completes either one of these prerequisites and obtains the instructor's permission, however, will be allowed to take MIS 260.

  Write a statement of work to present to wild wood management

Wild Wood Apartments owns 20 different apartment complexes in Washington, Oregon, California, and Idaho. Write a statement of work to present to the Wild Wood management

  Determine if you should reject or accept the dataset

Determine if you should reject or accept the following dataset if the true value is 6.272 at both 95% and 99% confidence scenarios: [3.991, 1.207, 3.972, 4.038, 3.836, 3.492]. Show work.

  Part a - use cases perform a requirements analysis for the

part a - use cases perform a requirements analysis for the case study. express the results using the following

  Assignment 32nbspdatabase notation is not consistent you

assignment 3.2nbspdatabase notation is not consistent. you have probably seen that already when you tried to create an

  Improved processesdatabases are installed to help solve

improved processesdatabases are installed to help solve problems improve processes or provide a benefit to the

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