Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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)

image text in transcribed

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 (BoatE); 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 (oONaME), department code (ocoDE), office number (DoFFIcE), office phone (oPHONE), and college (ocoLlEGE). Both name and code have unique values for each department. (iii)Each course has a course name (cNaME), description (coesc), course number (cNuM), numbeir 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 (veAr), 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. (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. 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 (BoatE); 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 (oONaME), department code (ocoDE), office number (DoFFIcE), office phone (oPHONE), and college (ocoLlEGE). Both name and code have unique values for each department. (iii)Each course has a course name (cNaME), description (coesc), course number (cNuM), numbeir 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 (veAr), 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. (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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Design Using Entity Relationship Diagrams

Authors: Sikha Saha Bagui, Richard Walsh Earp

3rd Edition

103201718X, 978-1032017181

More Books

Students also viewed these Databases questions