Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Use ERDPlus to prepare the relational database schemas for 1d A university database must keep track of students' transcripts. The documentation for this database lists

Use ERDPlus to prepare the relational database schemas for 1d

A university database must keep track of students' transcripts. The documentation for this database lists the following specifications:

The university keeps track of each student's name (Sname), student number (Snum), Social Security number (Ssn), current address (Saddr) and phone (Sphone), perma- nent address (Saddr) and phone (Sphone), birth date (Bdate), sex (Sex), class (Class) (`freshman', `sophomore', ... , `graduate'), major department (Major), minor depart- ment (Minor) (if any), and degree program (Prog) (`B.A.', `M.S.', `Ph.D.', etc.). Both Ssn and student number have unique values for each student.

Each department is described by a name (Dname), department code (Dcode), office number (Doffice), office phone (Dphone), and college (Dcollege). Both name and code have unique values for each department.

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.

Each section has an instructor (Iname), semester (Semester), year (Year), course (Scourse), and section number (Snum). 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).

The initial step of the logical design for the database resulted in the relational schema below.

image text in transcribed

Your job is to finish the design by completing the following steps.

For each relation, select a primary key. Be mindful of the already established foreign keys. Underline the primary key in the schema above. Provide brief justification for the selection.

Show graphically - using directed arcs on the schema above - all the obvious functional dependencies that hold among the attributes.

If necessary, use the selected primary keys to normalize each relation to 3NF.

d. Use ERDPlus and your answers from (a) and (c) to prepare the final relational schema for this database where all relations are in 3NF. Make sure that the schema shows primary keys and foreign keys with directed arcs indicating the referential integrity constraints. Include structural constraints using either crow's foot or the (min; max) notation { you don't have to justify the structural constraints, but they must be reasonable and they must correspond to this particular miniworld. (Append the image of the schema to this assignment.)

The initial relational schema for the university database: STUDENT SnumSsn Sname Saddr Sphone Saddr SphoneBdate Sex Class Major Minor Prog DEPARTMENT GRADES nnme Doode Doffice Dphone DollageScourseSemester Year Saum Ssn Grade COURSE Cnum Cname Cdesc Credit Level Cdept SECTION Scourse Semester Year Snum Iname The initial relational schema for the university database: STUDENT SnumSsn Sname Saddr Sphone Saddr SphoneBdate Sex Class Major Minor Prog DEPARTMENT GRADES nnme Doode Doffice Dphone DollageScourseSemester Year Saum Ssn Grade COURSE Cnum Cname Cdesc Credit Level Cdept SECTION Scourse Semester Year Snum Iname

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

Step: 3

blur-text-image

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 Management Systems Designing And Building Business Applications

Authors: Gerald V. Post

1st Edition

0072898933, 978-0072898934

More Books

Students also viewed these Databases questions

Question

Describe genes and the role they play in behavior.

Answered: 1 week ago

Question

What are the macroeconomics terms of Measuring Unemployment ?

Answered: 1 week ago