Does the resulting relation have an mvd

Assignment Help Database Management System
Reference no: EM13333165

Suppose we have the following requirements (all five) for a university database that is used to keep track of students' transcripts:

(a)     The university keeps track of each student's name (SNAME), student number (SNUM), social security number (SSSN), current address (SCADDR) and phone (SCPHONE), permanent address (SPADDR) and phone (SPPHONE), birthdate (BDATE), sex (SEX), class (CLASS) (freshman, sophomore, ..., graduate), major department (MAJORDEPTCODE), minor department (MINORDEPTCODE) (if any), and degree program (PROG) (B.A., B.S., ..., Ph.D.). Both ssn and student number have unique values for each student.

(b)     Each department is described by a name (DEPTNAME), department code (DEPTCODE), office number (DEPTOFFICE), office phone (DEPTPHONE), and college (DEPTCOLLEGE). Both name and code have unique values for each department.

(c)     Each course has a course name (CNAME), description (CDESC), code number (CNUM), number of semester hours (CREDIT), level (LEVEL), and offering department (CDEPT). The value of code number is unique for each course.

(d)     Each section has an instructor (INSTUCTORNAME), semester (SEMESTER), year (YEAR), course (SECCOURSE), and section number (SECNUM). Section numbers distinguish different sections of the same course that are taught during the same semester/year; its values are 1, 2, 3, ...; up to the number of sections taught during each semester.

(e)     A grade record refers to a student (Ssn), refers to a particular section, and grade (GRADE).

Design a relational database schema for this database application. First show all the functional dependencies that should hold among the attributes. Then, design relation schemas for the database that are each in 3NF or BCNF. Specify the key attributes of each relation. Note any unspecified requirements, and make appropriate assumptions to make the specification complete.

In what normal form is the LOTS relation schema in Figure 15.12(a) with respect to the restrictive interpretations of normal form that take only the primary key into account? Would it be in the same normal form if the general definitions of normal form were used?

Consider the relation:

        BOOK (Book_Name, Author, Edition, Year) with the data:

Book_Name

Author

Edition

Year

DB_fundamentals

Navathe

4

2004

DB_fundamentals

Elmasri

4

2004

DB_fundamentals

Elmasri

5

2007

DB_fundamentals

Navathe

5

2007

 

a.        Based on a common-sense understanding of the above data, what are the possible candidate keys of this relation?

b.       Does the above have one or more functional dependency (do not list FDs by applying derivation rules)? If so, what is it? Show how you will remove it by decomposition.

c.        Does the resulting relation have an MVD? If so, what is it?

d.       What will the final decomposition look like?

Reference no: EM13333165

Questions Cloud

Prepare the standard cost sheet for the company : Prepare the standard cost sheet for the company and compute the direct material price variance, assuming the material price variance is the responsibility of the company's purchasing agent.
What is the weighted average-cost of capital of the company : Your company has 14 million shares of common stock outstanding. The common stock currently sells for $34 per share and has a beta of 1.2. The market risk premium is 10.5 percent and T-bills are yielding 2.0 percent.
Explain water over the temperature range : Assume that the coffee has the same density, 0.997g/mL , and specific heat capacity, 4.184\rm J/(g\cdot K) , as water over this temperature range.
What transfer price would you recommend : What transfer price would you recommend and why and what transfer price would you recommend if the Battery Division is now selling 1,000,000 batteries a year to retail outlets?
Does the resulting relation have an mvd : Does the above have one or more functional dependency (do not list FDs by applying derivation rules)? If so, what is it? Show how you will remove it by decomposition.
How far will it travel before coming to a stop : Assuming a coefficient of friction of 0.45 between the disk and the surface it slides on, how far will it travel (after leaving the spring) before coming to a stop
Calculate afcs total assets turnover and return on assets : Last year, AFC's sales (all on credit) were $468,000, and it had a net profit margin of 8 percent. The cost of goods is 60 percent of sales. Inventory was tured over 12 times during the year, and the DSO was 42 days.
Allocate the service department costs : Allocate the service department costs to the user departments using the step method.
Evaluate the percent by mass of potassium nitrate : Calculate the percent by mass (m/m) of potassium nitrate in a solution made from 45.0 g KNO3 and 295 mL water

Reviews

Write a Review

Database Management System Questions & Answers

  Explain the life cycle of an information systems

Imagine that you run a photography printing store. Your employees have been using punch cards for time entry since you started the business.

  What are the candidate keys of r

Compute the closure sets of R - find all non-trivial dependencies and what are the candidate keys of R?

  List the sales for each customer

Each query is worth 2 marks. These tables exist in sphinx and are owned by the user dtoohey. You may, if you wish, create your own copies of the tables under your own account. If you do so, you should ensure that you copy the sample data in dtoohe..

  Write names-e-mail addresses for all customers from table

Show all the data in each of the four tables. Do not show foreign key columns. Write names and e-mail addresses for all customers who have had a stove repair that cost more than $50.

  What advice would you give the managers of this company

Advice given to managersThe storage system that best fits the needs of the companyReasons why this is the best storage system.

  Create an external dtd that dictates a relational model

Create an external DTD that dictates a relational model-like data structure for XML documents.

  Use a two-dimensional array to accumulate the number

Create a form containing labels with each of the questions and a group of radio buttons for each question with the following responses: Always, Usually, Sometimes, Seldom, Never.

  Draw context diagram that represent supply ordering system

Draw a context diagram that represents a Supply Ordering System (SOS).

  Construct a query that can be used on a report

Construct a query that can be used on a report for determining how many days the customer's invoice will require payment if total amount due is within 45 days. Provide a copy of your working code as part of the paper.

  Determine airports with late flights to toronto-database

Determine airports with late flights to Toronto on a big plane. "Late" means departing after 9:00pm; "big" means with capacity 150 passengers or more

  Create a report that dumps the contents of a table

A screen shot of the first page of the contents of each table. Alternatively, you may create a report that dumps the contents of a table and submit a single page of that report.

  Discuss advantages and disadvantages of xml in application

XML is one of the base technologies around which many other technologies are developing. Describe an application used at work (or online) that is based on XML and discuss the advantages and disadvantages of XML in this application.

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