Question: Problem 3. [15 points] Consider the attribute set (i.e., table with those attributes) R-ABCDEGH and the FD set F-(AB C, A-, BE, AD E, A

 Problem 3. [15 points] Consider the attribute set (i.e., table with

those attributes) R-ABCDEGH and the FD set F-(AB C, A-, BE, AD

Problem 3. [15 points] Consider the attribute set (i.e., table with those attributes) R-ABCDEGH and the FD set F-(AB C, A-, BE, AD E, A D, BC A, E G}. (a) Find the minimal cover for F [10 points] (b) For the following decomposed table with attribute set X=ABCEG, find the set of dependencies that hold over the set X, i.e., what is the projection of F onto X[5 points. Problem 4. [45 points] Suppose that we have the following requirements for a university database that is used to keep track of students' transcripts: (i) The university keeps track of each student's name (SNAME); student identifier (siD); social security number (SSN); current address (cADDR) and phone (cPHONE); permanent address (PADDR) and phone (PPHONE); birth date (BDATE); gender (gender); class (cLASS) (freshman, sophomore, graduate); major department (MAJORCODE); minor department (MINORCODE) (if any); and degree program (PROG) (B.A., B.s.,... PH.D.). Both ssN and student identifier have unique values for each student (ii) Each department is described by a name (DNAME), department code (pcoDE), office number (DOFFICE), office phone (DPHONE), and college (DcoLLEGE). Both name and code have unique values for each department. (iii)Each course has a course name (cNAME), description (cDESc), course number (cNUM), number of semester hours (cREDIT), level (LEVEL), and offering department (cDEPT). The course number is unique for each course. (iv)Each section has an instructor (INAME), semester (SEMESTER), year (YEAR), course (SECCOURSE), and section number (SECNUM). The section number distinguishes different sections of the same course that are taught during the same semester/year; its values are 1, 2, 3,..., up to the total number of sections taught during each semester. A grade record refers to a student (ssN), a particular section, and a grade (GRADE) Design a relational database schema for this database application. First show all the functional dependencies that should hold among the attributes. For example, the phone numbers can determine corresponding addresses and offices. An office can also determine its phone number. Then design relation schemas for the database that are each in 3NF or BCNF. Specify the key attributes of each relation. Note any unspecified requirement and make appropriate assumptions o render the specification complete. Problem 3. [15 points] Consider the attribute set (i.e., table with those attributes) R-ABCDEGH and the FD set F-(AB C, A-, BE, AD E, A D, BC A, E G}. (a) Find the minimal cover for F [10 points] (b) For the following decomposed table with attribute set X=ABCEG, find the set of dependencies that hold over the set X, i.e., what is the projection of F onto X[5 points. Problem 4. [45 points] Suppose that we have the following requirements for a university database that is used to keep track of students' transcripts: (i) The university keeps track of each student's name (SNAME); student identifier (siD); social security number (SSN); current address (cADDR) and phone (cPHONE); permanent address (PADDR) and phone (PPHONE); birth date (BDATE); gender (gender); class (cLASS) (freshman, sophomore, graduate); major department (MAJORCODE); minor department (MINORCODE) (if any); and degree program (PROG) (B.A., B.s.,... PH.D.). Both ssN and student identifier have unique values for each student (ii) Each department is described by a name (DNAME), department code (pcoDE), office number (DOFFICE), office phone (DPHONE), and college (DcoLLEGE). Both name and code have unique values for each department. (iii)Each course has a course name (cNAME), description (cDESc), course number (cNUM), number of semester hours (cREDIT), level (LEVEL), and offering department (cDEPT). The course number is unique for each course. (iv)Each section has an instructor (INAME), semester (SEMESTER), year (YEAR), course (SECCOURSE), and section number (SECNUM). The section number distinguishes different sections of the same course that are taught during the same semester/year; its values are 1, 2, 3,..., up to the total number of sections taught during each semester. A grade record refers to a student (ssN), a particular section, and a grade (GRADE) Design a relational database schema for this database application. First show all the functional dependencies that should hold among the attributes. For example, the phone numbers can determine corresponding addresses and offices. An office can also determine its phone number. Then design relation schemas for the database that are each in 3NF or BCNF. Specify the key attributes of each relation. Note any unspecified requirement and make appropriate assumptions o render the specification complete

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!