Loading...

Messages

Proposals

Stuck in your homework and missing deadline? Get urgent help in $10/Page with 24 hours deadline

Get Urgent Writing Help In Your Essays, Assignments, Homeworks, Dissertation, Thesis Or Coursework & Achieve A+ Grades.

Privacy Guaranteed - 100% Plagiarism Free Writing - Free Turnitin Report - Professional And Experienced Writers - 24/7 Online Support

Jane mixer crime scene photos

27/03/2021 Client: saad24vbs Deadline: 2 Day

CHAPTER 10: FUNCTIONAL DEPENDENCIES AND NORMALIZATION FOR RELATIONAL DATABASES

Answers to Selected Exercises

15.19 Suppose we have the following requirements 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 transcript refers to a student (SSSN), refers to a particular section, and

grade (GRADE).

Design an 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.

10.18 Prove or disprove the following inference rules for functional dependencies. A

proof can be made either by a proof argument or by using inference rules IR1 through IR3. A disproof should be done by demonstrating a relation instance that satisfies the conditions and functional dependencies in the left hand side of the inference rule but do not

satisfy the conditions or dependencies in the right hand side.

(a) {W ->Y, X ->Z} |= {WX ->Y }

(b) {X ->Y} and Z subset-of Y |= { X ->Z }

(c) { X ->Y, X ->W, WY ->Z} |= {X ->Z}

(d) {XY ->Z, Y ->W} |= {XW ->Z}

(e) {X ->Z, Y ->Z} |= {X ->Y}

(f) {X ->Y, XY ->Z} |= {X ->Z}

10.19 Consider the following two sets of functional dependencies F= {A ->C, AC ->D,

E ->AD, E ->H} and G = {A ->CD, E ->AH}. Check whether or not they are

equivalent.

10.22 What update anomalies occur in the EMP_PROJ and EMP_DEPT relations of

Figure 14.3 and 14.4?

10.23 In what normal form is the LOTS relation schema in Figure 10.11(a) with the

respect to the restrictive interpretations of normal form that take only the

primary key into account? Will it be in the same normal form if the general

definitions of normal form were used?

Answer:

If we only take the primary key into account, the LOTS relation schema in Figure 14.11

(a) will be in 2NF since there are no partial dependencies on the primary key .

However, it is not in 3NF, since there are the following two transitive dependencies on

the primary key:

PROPERTY_ID# ->COUNTY_NAME ->TAX_RATE, and

PROPERTY_ID# ->AREA ->PRICE.

Now, if we take all keys into account and use the general definition of 2NF and 3NF, the

LOTS relation schema will only be in 1NF because there is a partial dependency

COUNTY_NAME ->TAX_RATE on the secondary key {COUNTY_NAME, LOT#}, which

violates 2NF.

10.24 Prove that any relation schema with two attributes is in BCNF.

10.25 Why do spurious tuples occur in the result of joining the EMP_PROJ1 and

EMPLOCS relations of Figure 14.5 (result shown in Figure 14.6)?

10.26 Consider the universal relation R = {A, B, C, D, E, F, G, H, I} and the set of

functional dependencies F = { {A, B} -> {C}, {A} -> {D, E}, {B} -> {F}, {F} ->

{G, H}, {D} -> {I, J} }. What is the key for R? Decompose R into 2NF, then 3NF

relations.

Homework is Completed By:

Writer Writer Name Amount Client Comments & Rating
Instant Homework Helper

ONLINE

Instant Homework Helper

$36

She helped me in last minute in a very reasonable price. She is a lifesaver, I got A+ grade in my homework, I will surely hire her again for my next assignments, Thumbs Up!

Order & Get This Solution Within 3 Hours in $25/Page

Custom Original Solution And Get A+ Grades

  • 100% Plagiarism Free
  • Proper APA/MLA/Harvard Referencing
  • Delivery in 3 Hours After Placing Order
  • Free Turnitin Report
  • Unlimited Revisions
  • Privacy Guaranteed

Order & Get This Solution Within 6 Hours in $20/Page

Custom Original Solution And Get A+ Grades

  • 100% Plagiarism Free
  • Proper APA/MLA/Harvard Referencing
  • Delivery in 6 Hours After Placing Order
  • Free Turnitin Report
  • Unlimited Revisions
  • Privacy Guaranteed

Order & Get This Solution Within 12 Hours in $15/Page

Custom Original Solution And Get A+ Grades

  • 100% Plagiarism Free
  • Proper APA/MLA/Harvard Referencing
  • Delivery in 12 Hours After Placing Order
  • Free Turnitin Report
  • Unlimited Revisions
  • Privacy Guaranteed

6 writers have sent their proposals to do this homework:

Custom Coursework Service
Top Academic Tutor
Top Writing Guru
Assignment Guru
Accounting Homework Help
Accounting & Finance Master
Writer Writer Name Offer Chat
Custom Coursework Service

ONLINE

Custom Coursework Service

I have read and understood all your initial requirements, and I am very professional in this task.

$27 Chat With Writer
Top Academic Tutor

ONLINE

Top Academic Tutor

I am known as Unrivaled Quality, Written to Standard, providing Plagiarism-free woork, and Always on Time

$64 Chat With Writer
Top Writing Guru

ONLINE

Top Writing Guru

Hello, I an ranked top 10 freelancers in academic and contents writing. I can write and updated your personal statement with great quality and free of plagiarism

$63 Chat With Writer
Assignment Guru

ONLINE

Assignment Guru

Hello, I an ranked top 10 freelancers in academic and contents writing. I can write and updated your personal statement with great quality and free of plagiarism

$102 Chat With Writer
Accounting Homework Help

ONLINE

Accounting Homework Help

I have read and understood all your initial requirements, and I am very professional in this task.

$62 Chat With Writer
Accounting & Finance Master

ONLINE

Accounting & Finance Master

Hello, I an ranked top 10 freelancers in academic and contents writing. I can write and updated your personal statement with great quality and free of plagiarism

$85 Chat With Writer

Let our expert academic writers to help you in achieving a+ grades in your homework, assignment, quiz or exam.

Similar Homework Questions

Life cycle of a river - Introductory statistics homework answers - Translucent concrete mix design - To measure the amount of acetic acid in vinegar - Corp.2.4 - Dr jekyll and mr hyde chapter 1 summary - Examples of imaginary audience and personal fable - You are the network administrator for westsim.com - Herbert hoover's opponent in the 1932 election was _______ - Honda gx240 parts list - Torsion of bars experiment report - Warm mix asphalt wiki - Order 2470891: Electrical Safety in the Perioperative Environment - How to calculate ideal cycle time - Step Smart Case - Discussion Board: Adult Learners - Hr case study with solution ppt - Futuris automotive interiors australia pty ltd - Rockabilly dance lessons near me - Duractance - Walden nurs 6630 midterm exam - X 3 6x 2 8x 0 - Literature for moral ethical issues encountered by a pmhnp - Raisin in the sun play pdf - Case study series on work life balance in large organizations - Lane cove recycling centre - Ipip neo 300 personality test - HRM671 LEARNING THEORIES AND TECHNOLOGY - Research, identify, and briefly describe the evolution of information systems infrastructure. - Rally robin kagan structure - Role of theory in research - Risk management approach template - Claritas mybestsegments zip code lookup - Leo bancroft dry shampoo - Glencoe virtual lab enzyme controlled reactions - Peter skrzynecki st patrick's college - Veronica perfoliata ground cover - Inside russia's toughest prisons watch online - Eco table - Unisa vacancies e tutors - Assume the following relationships for the brauer corp - Physics classroom speed and velocity - Hoenig v isaacs [1952] 2 all er 176 - Why shouldn t guns be allowed on college campuses - Taylor wimpey legal department - Sinking fund method problems and solutions - Halving method in maths - Thinking through the past volume 1 - A first course in linear algebra by k kuttler - Supply and demand - Departments in a publishing company - AC/FI D.5 - Australian rainfall and runoff a guide to flood estimation - P worksheet 03g quantitative analysis answers - Business studies syllabus acronyms - St matthew from the gospel book of charlemagne - How to add known traveler number to existing delta reservation - Westsussex gov uk bluebadge - Week 5: Revision of Paper 2 - Assignment 5 - Achievements of epidemiology - Mountains and ice biome - What do gorillas sleep on in fruit orchards - Change management principles and methodologies - 43 yallambee road jindalee - Betrayal legacy tile planks order - Paper chromatography lab answer key - Determine the total estimated uncollectibles - Ethics and moral reasoning ashford university - Research Paper for Genetics- No page limit But be able to provide turnitin plagiarism 0% - Coinage of the roman republic online - St peter and st james hospice furniture collection - Dave is a plumber who uses the cash method - Detroit power cool plus prediluted 50 50 - Critical Thinking About HRM - Creating a high performance culture siemens case study answers - Luggage is countable or uncountable - Module c craft of writing prescribed texts - Integrated internet marketing communication - Outreach networks first venture round - Communicating the Change - Maintenance technician practice test - Angry birds marketing case study - Air canada organizational structure - Chcdiv001 scenarios answers - Stevenson production operations management - Functions of Managers - Iu mckinney exam schedule - Equivalent units in ending inventory - Assignment 1: Practicum – Week 5 Journal Entry - 6 month training program - Anticipated problems for teacher - Alyeska services company a division of a major oil company - Effect of height on blood spatter - 37 n 122 w - Cribbage flush while pegging - Intel pentium 2 333mhz - Social welfare policies - Oblique drawing definition example - Case 2 2 the theoretical foundation of accounting principles