Evaluate the functional dependencies

Assignment Help Database Management System
Reference no: EM132072

Based on the Baxter Aviation scenario that you used for the first exam. Please read the following narrative carefully, as many of the rules have changed!

Baxter Aviation's business has increased so dramatically that the company is now going to offer regularly scheduled flights to the remote villages. Each flight is scheduled to make a circle of two or more villages.

In terms of the database used to manage flights and associated data, this change has the following impacts:

• Flight numbers for the regularly scheduled flights are not unique. However, any flight number will be used at most once a day.
• The database must now store passenger lists. In other words, the database must include every person that has purchased a ticket and the flight(s) on which they fly.
• Children under two years of age fly free if they are held by their parents; children under 12 years of age pay half price for their tickets. The database must therefore also include data about the price paid for each ticket. Otherwise, Baxter Aviation will not have enough data to do its accounting.
• The database must store the villages to which each flight flies. The order of the village in a flight's route is given by the Order_in_route attribute. For example, if a flight goes from Ambler to Shungnak to Kobuk and then back to Kotzebue, the value of Order_in_route for Ambler will be 1, for Shungnak 2, and Kobuk 3.

Consider the following relation in light of the revised rules presented above:

Flights (Pilot#, Flight#, Village name, Flight date, Aircraft ID#, Customer #, Flight time, Customer first name, Customer last name, Customer home phone number, Ticket price paid, Pilot home phone number, Pilot house number, #seats in aircraft, Order in route)

1. What is the primary key of this relation?

2.

(a) Give a specific example of an insertion anomaly in this relation.

(b) Give a specific example of a deletion anomaly in this relation.

(c) Give a specific example of a modification/update anomaly in this relation.

3. What are the functional dependencies among the data represented in this first normal form relation? (Major hint: Don't forget that functional dependencies are independent of the structure of a relation.)

4. In which normal form is the relation? Why?

5. Transform this relation into a set of third normal form relations. For each table indicate its primary key; underlining is the easiest way to show this. Then list the foreign keys in each table and indicate that relations that they reference.

6. Consider the following request for information from the database:

"Display the first and last names of every passenger that flew on flight #180 on 4/6/11."

Using the relations you created for question 5, write the sequence of relational algebra operations needed to perform the query.

7. Consider the following request for information from the database:

"Display the names of all the villages that are not scheduled to have flights on 12/1/11."

Using the relations you created for question 5, write the sequence of relational algebra operations needed to perform the query.

Reference no: EM132072

Questions Cloud

Explain international monetary system : Explain International Monetary System
Develop the image manipulations : Develop the image manipulations
Write your own newspaper article : Write your own newspaper article for the study with at least one appropriate table or graph.
How will technology encourage collaboration : How will Technology Encourage collaboration and sharing information internally?
Evaluate the functional dependencies : What are the functional dependencies among the data represented in this first normal form relation?
Vulnerability analysis : Vulnerability Analysis
How did you do the maintenance during your workshop : Show how did you do the maintenance during your workshop
Quality control analysis : Determining the root causes
An essay about how the brain create the self : Write an essay about how the brain "create" the self.

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