Identify the different components of an erd

Assignment Help Database Management System
Reference no: EM13692735

A graphical tool used in database design. At the completion of this assignment students will be able to:

1. Identify the different components of an ERD
2. Recognize some business rules from the relationships contained in an ERD
3. Understand and use the 3 different type of relationship classifications 1:1, 1:M, M:N and their for the linking of tables in the RDM ((relational data model)
4. To develop relational models (RDM) where each table has a primary key (entity integrity) and some tables may have foreign keys (referential integrity)
5. Convert M:N relationships into associative entities
6. Convert the conceptual ER model , given a problem scenario, into a RDM with appropriate primary keys (PKs) and foreign keys (FKs) 7. Recognize possible alternate keys

Question 1

Design an ER diagram for a Wacky University student database.

1. List Entities
2. List Attributes
3. List Relationships and cardinalities
4. Draw ER Diagram

Show all attributes and include relationship and connectivity. Convert all M:N relationships into entities. You are to use Crow's Foot notationshowing all attributes for each entity and naming each relationship. Do not show M:N relationship, convert it into 1:M&N:1 relationship

The business rules for the ER model are as follows.

1. A university has many departments. Each department employs one or more lecturers (at least one), and each lecturer may work in many departments.
2. A lecturer teaches exactly one subject, and a subject is taught by at least one lecturer.
3. Each lecturer will only have one title i.e. Lecturer A, Lecturer B, Senior Lecturer, Associate Professor, Professor.
4. Students may study 0 subjects or only 1 subject, and a subject must have at least one student enrolled in it for the subject to run. Students will receive a Grade for the subject they are enrolled in.
5. Each student must have one or more academic advisors. An academic advisor is a lecturer. An advisor may advise zero or many students.
6. A lecturer may only supervise a maximum of one other lecturer. However a lecturer may be supervised by zero or many lecturers.

Attributes that need to be included in your ERD are: DepartNo, DepartName, LectNo, LectName,LectAddress, LectPhoneNo, LectTitle, SubCode, grade, SubName, StudNo, StudName, StudAddress, StudDOB

Question 2:

1. Write Business rules to create ERD as given in Question 1.
2. List Entities, Attributes and Relationships
3. Design an ER diagram for the problem scenario given below.
4. Convert your ERD into the relational data model (RDM) using the guidelines from as follows.

Table_Name( attribute_1, attribute_2, attribute_3, ..... ,attribute_x)
Primary Key ( attribute_1, attribute_2)
Foreign Key attribute_4 References Table_Name_2 (repeat for each foreign key)
Alternate Key (attribute_5, attribute_6) (repeat for each alternate key) Additionally primary keys should be underlined.

Qantas Airlines has asked you to create a database for their airline operations i.e. its flight and airplane history. Hopefully they are in a position to pay your database design fee.

The database requirements are as follows.

A flight is uniquely identified by the combination of a flight number and a date. In addition, every flight has an actual departure time and an actual arrival time. Every passenger who has flown on a Qantas flight has a unique passenger number plus their name, address, and telephone number. For a particular passenger who has taken a particular flight, the company wants to keep track of the fare that she paid for it and the date that she made the reservation for it. Clearly, a passenger may have taken many flights (he must have taken at least one to be in the database) and every flight has had many passengers on it.

A pilot is identified by a unique pilot (or employee) number, a name, date of birth, and date of hire. A flight on a particular date has exactly one pilot. Each pilot has typically flown many flights but a pilot may be new to the company, is in training, and has not flown any flights, yet.

Each airplane has a unique serial number, a model, manufacturer name, passenger capacity, and year built. A flight on a particular date used one airplane. Each airplane has flown on many flights and dates, but a new airplane may not have been used at all, yet.

Qantas also wants to maintain data about its airplanes' maintenance history. A maintenance procedure has a unique procedure number, a procedure name, and the frequency with which it is to be performed on every airplane. A maintenance location has a unique location name, plus an address, telephone number, and manager. Qantas wants to keep track of which airplane had which maintenance procedure performed at which location. For each such event it wants to know the date of the event and the duration.

Reference no: EM13692735

Questions Cloud

Ethical principles and examples : Ethical principles and examples.
Uncollectible accounts reported on the balance sheet : Uncollectible accounts reported on the balance sheet?
Critical review of selected texts on globalisation : Critical review of selected texts on globalisation
Compute the budgeted cash receipts for iguana : Compute the budgeted cash receipts for Iguana
Identify the different components of an erd : Identify the different components of an ERD and recognize some business rules from the relationships contained in an ERD
Value chain analysis : Value Chain Analysis
Provide one business-related example each : Provide one business-related example each, with explanation, for mutually exclusive and independent events.
The expected error rate remains zero : The expected error rate remains zero.
Will-mart''s accounts receivable : Will-Mart's accounts receivable

Reviews

Write a Review

Database Management System Questions & Answers

  Knowledge and data warehousing

Design a dimensional model for analysing Purchases for Adventure Works Cycles and implement it as cubes using SQL Server Analysis Services. The AdventureWorks OLTP sample database is the data source for you BI analysis.

  Design a database schema

Design a Database schema

  Entity-relationship diagram

Create an entity-relationship diagram and design accompanying table layout using sound relational modeling practices and concepts.

  Implement a database of courses and students for a school

Implement a database of courses and students for a school.

  Prepare the e-r diagram for the movie database

Energy in the home, personal energy use and home energy efficiency and Efficient use of ‘waste' heat and renewable heat sources

  Design relation schemas for the entire database

Design relation schemas for the entire database.

  Prepare the relational schema for database

Prepare the relational schema for database

  Data modeling and normalization

Data Modeling and Normalization

  Use cases perform a requirements analysis for the case study

Use Cases Perform a requirements analysis for the Case Study

  Knowledge and data warehousing

Knowledge and Data Warehousing

  Stack and queue data structure

Identify and explain the differences between a stack and a queue data structure

  Practice on topic of normalization

Practice on topic of Normalization

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