Pine valley furniture products | Computer Science homework help

1. Assume that at Pine Valley Furniture products are composed of components, products are assigned to salespersons, and components are produced by vendors. Also assume that in the relation PRODUCT (Prodname, Salesperson, Compname, Vendor), Vendor is functionally dependent on Compname and Compname is functionally dependent on Prodname. Eliminate the transitive dependency in this relation and form 3NF (third normal form) relations.

2. Transform the E-R diagram of Figure 8-3 into a set of 3NF relations. Make up a primary key and one or more non-keys for each entity.

3. Transform the E-R diagram of Figure 9-21 into a set of 3NF relations.

4. Consider the list of individual 3NF relations below. These relations were developed from several separate normalization activities.

PATIENT(Patient_ID, Room_Number, Admit_Date, Address)

ROOM(Room_Number, Phone, Daily_Rate)

PATIENT(Patient_Number, Treatment_Description, Address)

TREATMENT(Treatment_ID, Description, Cost)

PHYSICIAN(Physician_ID, Name, Department)

PHYSICIAN(Physician_ID, Name, Supervisor_ID)

(a) Merge these relations into a consolidated set of 3NF relations. State whatever assumptions you consider necessary to resolve any potential problems you identify in the merging process. (b) Draw an E-R diagram for your answer to part “a”.

5. Consider the following 3NF relations about a sorority or fraternity:

MEMBER(Member_ID, Name, Address, Dues_Owed)

OFFICE(Office_Name, Officer_ID, Term_Start_Date, Budget)

EXPENSE(Ledger_Number, Office_Name, Expense_Date, Amt_Owed)

PAYMENT(Check_Number, Expense_Ledger_Number, Amt_Paid)

RECEIPT(Member_ID, Receipt_Date, Dues_Received)

COMMITTEE(Committee_ID, Officer_in_Charge)

WORKERS(Committee_ID, Member_ID)

(a) Foreign keys are not indicated in these relations. Decide which attributes are foreign keys and justify your decisions. (b) Draw an E-R diagram for these relations, using your answer to part “a”. (c) Explain the assumptions you made about cardinalities in your answer to part “b”. Explain why it is said that the E-R data model is more expressive or more semantically rich than the relational data model.

6. Consider the following functional dependencies:

Applicant_ID –> Applicant_Name

Applicant_ID –> Applicant_Address

Position_ID –> Position_Title

Position_ID –> Date_Position_Opens

Position_ID –> Department

Applicant_ID + Position_ID –> Date_Applied

Applicant_ID + Position_ID + Date_Interviewed –> (Nothing)

(a) Represent these attributes with 3NF relations. Provide meaningful relation names. (b) Represent these attributes using an E-R diagram. Provide meaningful entity and relationship names.

7. Suppose you were designing a file of student records for your university’s placement office. One of the fields that would likely be in this file is the student’s major. Develop a coding scheme for this field that achieves the objectives outlined in Chapter 10 for field coding.

8. Suppose you created a file for each relation in your answer to question “3” above. If the following queries represented the complete set of accesses to this database, suggest and justify what primary and secondary key indices you would build.

(a) For each PART in Item_Number order list in Vendor_ID, sequence all the vendors and their associated prices for that part. (b) List all PART RECEIPTs, including related PART fields for all the parts received on a particular day. (c) For a particular VENDOR, list all the PARTs and their associated prices that VENDOR can supply.







Calculate Your Essay Price
(550 words)

Approximate price: $22

Calculate the price of your order

550 words
We'll send you the first draft for approval by September 11, 2018 at 10:52 AM
Total price:
$26
The price is based on these factors:
Academic level
Number of pages
Urgency
Basic features
  • Free title page and bibliography
  • Unlimited revisions
  • Plagiarism-free guarantee
  • Money-back guarantee
  • 24/7 support
On-demand options
  • Writer’s samples
  • Part-by-part delivery
  • Overnight delivery
  • Copies of used sources
  • Expert Proofreading
Paper format
  • 275 words per page
  • 12 pt Arial/Times New Roman
  • Double line spacing
  • Any citation style (APA, MLA, Chicago/Turabian, Harvard)

Our guarantees

Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.

Money-back guarantee

You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.

Read more

Zero-plagiarism guarantee

Each paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.

Read more

Free-revision policy

Thanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.

Read more

Privacy policy

Your email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.

Read more

Fair-cooperation guarantee

By sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.

Read more

Order your essay today and save 10% with the coupon code: best10