Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Problem 3. [15 points] Consider the attribute set (i.e, table with those attribute s) R ABCDEGH (a) Find the minimal cover for F [10 pointsl
Problem 3. [15 points] Consider the attribute set (i.e, table with those attribute s) R ABCDEGH (a) Find the minimal cover for F [10 pointsl (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 15 pointsl Problem 4. 145 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 (so); social security number (ssN); current address (CADOR) 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) (BA es. .PMD). Both sss and student identifier have unique values for each student (ii) Each department is described by a name (ONAME). department code (ocoDE), office number (DOFFICE), office phone (oPHONE), and college (ocouLEGE). Both name and code have unique values for each department (iii) Each course has a course name (CNAME), description (coEsc), course number (CNUM), numb of semester hours (CREDIT), level (LEVEL), and offering department (CDEPT). The course numbe is unique for each course. (iv) Each section has an instructor (NAME), semester (SEMESTER) year (YEAR), course (SECCOURSE) and section number (sECNUM). The section number distinguishes difTerent sections of the same course that are taught during the same semesteryear; its values are 1,2. 3, ...,up to the total number of sections taught during each semester (v) 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 to render the specification complete
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started