Question

Consider the following set of requirements for a UNIVERSITY database that is used to keep track...

Consider the following set of requirements for a UNIVERSITY database that is used to keep track of students’ transcripts. This is similar but not identical to the database shown in Figure 1.2:

a. The university keeps track of each student’s name, student number, Social Security number, current address and phone number, permanent address and phone number, birth date, sex, class (freshman, sophomore, ..., graduate), major department, minor department (if any), and degree program (B.A., B.S., ..., Ph.D.). Some user applications need to refer to the city, state, and ZIP Code of the student’s permanent address and to the student’s last name. Both Social Security number and student number have unique values for each student.

b. Each department is described by a name, department code, office number, office number, and college. Both name and code have unique values for each department.

c. Each course has a course name, description, course number, number of semester hours, level, and offering department. The value of the course number is unique for each course.

d. Each section has an instructor, semester, year, course, and section number. The section number distinguishes sections of the same course that are taught during the same semester/year; its values are 1, 2, 3, ..., up to the number of sections taught during each semester.

e. A grade report has a student, section, letter grade, and numeric grade (0, 1, 2, 3, 4 for F, D, C, B, A, respectively).

Design an ER schema for this application, and draw an ER diagram for the schema. Specify key attributes of each entity type, and structural constraints on each relationship type. Note any unspecified requirements, and make appropriate assumptions to make the specification complete.

Homework Answers

Answer #1

ER diagram is given below. Note Entities are rectangle, Relationship are diamond and Attributes are oval. Key attributes are underlined, partial key have dotted underline. Composite attributes have attributes of themselves, Derived attributes have dotted boundry. Double line to Relation define total participation, single line means partial. Modality and Cardinality are defined on both side of Relationships.

All needed info of Student, Department, Course, Section, Grade Report is stored as attributes or Relationship as per Question Specification. Major and minor department of student are stored as Relationship between the two entities. We assume a student must have one and only one major department while a department must have atleast one student taking it as major department. Minor department is same but is optional from both Student and Department side. Offering Department of Course is stored as Relation - Assumption is each course must have one offering department only and a department must offer atleast one course. Same goes for course of Section - A section must belong to one course only while a course must have at least one section. Note that section is a weak entity dependent on course - Section_Number is just a partial key. Grade report become a relationship between student and section (optional from both sides as new students and recently started sections may not have any data here) with cardinality assumption that a student may have multiple grade report for multiple section while a section may have multiple report for multiple students. Numeric grade here is derived from letter grade.

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
14.19. Suppose that we have the following requirements for a university database that is used to...
14.19. Suppose that we have the following requirements for a university database that is used to keep track of students’ transcripts: a. The university keeps track of each student’s name (Sname), student number (Snum), Social Security number (Ssn), current address (Sc_addr) and phone (Sc_phone), permanent address (Sp_addr) and phone (Sp_phone), birth date (Bdate), sex (Sex), class (Class) (‘freshman’, ‘sophomore’, … , ‘graduate’), major department (Major_code), minor department (Minor_code) (if any), and degree program (Prog) (‘b.a.’, ‘b.s.’, … , ‘ph.d.’). Both...
home / study / engineering / computer science / computer science questions and answers / consider...
home / study / engineering / computer science / computer science questions and answers / consider the following set of requirements for a university database that is used to keep track ... Question: Consider the following set of requirements for a UNIVERSITY database that is used to keep track o... Consider the following set of requirements for a UNIVERSITY database that is used to keep track of students' transcripts. (a) The university keeps track of each student's name, student number,...
SQL Data: you can just copy paste it into mysql to. CREATE DATABASE University;USE University; CREATE...
SQL Data: you can just copy paste it into mysql to. CREATE DATABASE University;USE University; CREATE TABLE Student (  sid INT PRIMARY KEY,  name VARCHAR(20) NOT NULL,  address VARCHAR(20) NOT NULL,  major CHAR(2)); CREATE TABLE Professor (  pid INT PRIMARY KEY,  name VARCHAR(20) NOT NULL,  department VARCHAR(10) NOT NULL); CREATE TABLE Course (  cid INT PRIMARY KEY,  title VARCHAR(20) NOT NULL UNIQUE,  credits INT NOT NULL,  area VARCHAR(5) NOT NULL); CREATE TABLE Transcript (  sid INT,  cid INT,  pid INT,  semester VARCHAR(9),  year YEAR,  grade CHAR(1) NOT NULL,  PRIMARY KEY (sid, cid, semester, year),  FOREIGN KEY (sid) REFERENCES Student...
Consider the following database schema used to track blood donations. The database has been in use...
Consider the following database schema used to track blood donations. The database has been in use for several years and contains thousands of entries. Primary keys are Bolded and foreign keys carry the same names as the primary keys they reference Receptionist(RID, Name, Address, Phone#) Donor (Name, Address, Phone#, SSN, Gender, DOB) Blood(BID, Blood_type, Cost, Name, Phone#, NID) Nurses(NID, Name, Address, Phone#) Transfusions(PatientID, Date, Trans#, BID) Question: Since donors may donate every 60 days, a collection date needs to be...
A loan company wants to design a database to track student loans. Each student attending school...
A loan company wants to design a database to track student loans. Each student attending school is eligible for a loan. A student may have more than one loan. A student may be registered, possibly at different times, in more than one school. Each loan should belong to only one bank. Each bank can approve as many loans as it desires. For each loan, the loan company will track: the student’s SSN, name, address, amount of loan, date of the...
Complete and correct answer is required to give full credit,thank you Consider the following set of...
Complete and correct answer is required to give full credit,thank you Consider the following set of requirements for an airline database that is used to keep track of flights, passengers, employees etc. for an airline. You will be graded not only on the correctness and completeness of the design but also on its quality. 1)     It is important to keep track of each passenger's name, address, phone number and meal preference (values could be vegetarian, sea-food, italian, anything). At times, it...
Draw the scenario using Chen notation In a university, department offer courses. Department has instructors who...
Draw the scenario using Chen notation In a university, department offer courses. Department has instructors who teach courses. For a course, the instructor may or may not have a teaching assistant. Each department has a department name, a department code, 1-4 phone numbers, and an address. ◦ Each course has a course number (e.g., INFO605), a section number (e.g., 900), a title, a course type (e.g., online), and units. Each instructor has an instructor ID, first name, last name, gender,...
UC State University is developing a homework database to track assignments, classes, professors, and departments (History,...
UC State University is developing a homework database to track assignments, classes, professors, and departments (History, English, etc). Each professor, the homework database must produce their first name, middle initial, last name, title (Mrs,etc), email address, and telephone number. Each course has one professor and the homework database should save a meeting time, room number, description, and name. Each assignment has assigned date, due date, and assignment description. This homework app must also remember which course has which assignment and...
a gymnastic school with hundreds of students. It needs a database to track all the different...
a gymnastic school with hundreds of students. It needs a database to track all the different classes that are being offered, who is assigned to teach each class, and which students attend each class. Also, it is important to track the progress of each student as they advance. Design a database for the following requirements: Students are given a student number when they join the school. This is stored along with their name, date of birth, and the date they...
A university is made up of students and professors.  Students enroll in classes.  Professors teach classes.  Each student has...
A university is made up of students and professors.  Students enroll in classes.  Professors teach classes.  Each student has a unique student ID number, a name, phone number, and a major.  Each professor has a unique employee ID number, a name, phone number, and department name.  Draw an ER (Entity-Relationship) Diagram for this scenario.  Include the proper symbols and connecting lines for all entities, attributes, and relationships.
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT