0% found this document useful (0 votes)
558 views2 pages

Normalization Exercises

1. The document provides examples of relations and asks the reader to identify keys, dependencies, and normalize the relations into higher normal forms. 2. Normal forms discussed include 1NF, 2NF, 3NF, BCNF, and 4NF. Keys, candidate keys, and functional dependencies are identified for several sample relations. 3. The reader is asked to normalize relations through a series of steps into increasingly higher normal forms based on the functional dependencies provided.

Uploaded by

Akhil Rangaraju
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
558 views2 pages

Normalization Exercises

1. The document provides examples of relations and asks the reader to identify keys, dependencies, and normalize the relations into higher normal forms. 2. Normal forms discussed include 1NF, 2NF, 3NF, BCNF, and 4NF. Keys, candidate keys, and functional dependencies are identified for several sample relations. 3. The reader is asked to normalize relations through a series of steps into increasingly higher normal forms based on the functional dependencies provided.

Uploaded by

Akhil Rangaraju
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 2

1. Choose a key and write the dependencies for the following GRADES relation: 2.

GRADES (Student_ID, Course#, Semester#, Grade) 2. Choose a key and write the dependencies for the LINE_ITEMS relation: LINE_ITEMS (PO_Number, ItemNum, PartNum, Description, Price, Qty) 3. What normal form is the above LINE_ITEMS relation in ? 4. What normal form is the following relation in: STORE_ITEM (SKU, PromotionID, Vendor, Style, Price) SKU, PromotionID -> Vendor, Style, Price SKU -> Vendor, Style 5. Normalize the above relation into the next higher normal form: 6. Choose a key and write the dependencies for the following SOFTWARE relation (assume all of the vendor's products have the same warranty): SOFTWARE (SoftwareVendor, Product, Release, SystemReq, Price, Warranty) SoftwareVendor, Product, Release -> SystemReq, Price, Warranty 7. Normalize the above SOFTWARE relation into 4NF C, R -> D D -> N 8. Consider the following relation: Shipping (ShipName, ShipType, VoyageID, Cargo, Port, Date) Hint: Date is the date the ship arrives in the given Port With the functional dependencies:

ShipName -> ShipType VoyageID -> ShipName, Cargo ShipName, Date -> VoyageID, Port (a) Identify the candidate keys. (b) Normalize to 2NF (c) Normalize to 3NF (d) Normalize to BCNF 9. Given the following relation and example data: PartNumber 10010 10010 10220 10220 10220 10440 Description 20 GB Disk 20 GB Disk 256 MB RAM card 256 MB RAM card 256 MB RAM card 17" LCD Monitor IBM Kensington IBM Sun Microsystems IBM Supplier Seagate SupplierAddress Cuppertino, CA Armonk, NY San Mateo, CA Armonk, NY Palo Alto, CA Armonk, NY Price $100 $90 $220 $290 $310 $2,100

List the functinoal dependencies and Normalize this relation into BCNF.

You might also like