1 / 5

Quizzes on FD and NF

Quizzes on FD and NF. Chapter 19. Quiz 2. 1. Show that the inference A B and C B, then A C is not sound. 2. R=(A, B, C, D, E) F={A BC, CD E, B D, E A} Find all the candidate keys in R. Quiz 3.

glora
Download Presentation

Quizzes on FD and NF

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Quizzes on FD and NF Chapter 19

  2. Quiz 2 1. Show that the inference A B and C B, then A C is not sound. 2. R=(A, B, C, D, E) F={A BC, CD E, B D, E A} Find all the candidate keys in R

  3. Quiz 3 1. R=(A, B, C, D, E, F, G, H, I) F={AB E, AG J, BE I, E G, GI H} Prove or disprove AB GH 2. R=(A, B, C, G, H, I) F={A B, A C, CG H, CG I, B H} Compute the closure of X =AG

  4. Quiz 4.1 1) Is the following schema BCNF? R (Course#, Section#, Prof) F={C#S# P; P C#} 2) Is it 3NF? 3) Can you fix this schema to satisfy certain normal form? Which NF does it satisfy? 4) What might be a problem in your solution for 3)? 5) What are the policies of this department?

  5. Quiz 4.2 Consider the following schema. Is it in 3NF? R (Flight, From, To, Departs, Arrives, Duration, Type, First-class, Coach, Total-seat, #Meals) Keys={Flight; From To Departs; From To Arrives} F={Type First, Coach, Total; Departs Duration #Meals; First Coach Total; First Total Coach; Coach Total First} If it is in 3NF, prove it. If not, make it.

More Related