Question Solved1 Answer MySQL Entity Relationship Diagrams Assignment: Create the ER diagram that produces the database schema from the given requirements and constraints listed below. Suppose that a database is needed to keep track of student enrollments in classes and students’ final grades. After analyzing the mini-world rules and the users’ needs, the requirements for this database were determined to be as follows: The university is organized into colleges (COLLEGE), and each college has a unique name (CName), a main office (COffice) and phone (CPhone), and a particular faculty member who is dean of the college. Each college administers a number of academic departments (DEPT). Each department has a unique name (DName), a unique code number (DCode), a main office (DOffice) and phone (DPhone), and a particular faculty member who chairs the department. We keep track of the start date (CStartDate) when that faculty member began chairing the department. A department offers a number of courses (COURSE), each of which has a unique course name (CoName), a unique code number (CCode), a course level (Level: this can be coded as 1 for freshman level, 2 for sophomore, 3 for junior, 4 for senior, 5 for MS level, and 6 for PhD level), a course credit hour (Credits), and a course description (CDesc). The database also keeps track of instructors (INSTRUCTOR); and each instructor has a unique identifier (Id), name (IName), office (IOffice), phone (IPhone), and rank (Rank); in addition, each instructor works for one primary academic department. The database will keep student data (STUDENT) and stores each student's name (SName, composed of first name (FName), middle name (MName), last name (LName), student id (Sid, unique for every student), address (Addr), phone (Phone), major code (Major), and date of birth (DoB). A student is assigned to one primary academic department. It is required to keep track of the student's grades in each section the student has completed. Courses are offered as sections (SECTION). Each section is related to a single course and a single instructor and has a unique section identifier (SecId). A section also has a section number (SecNo: this is coded as 1, 2, 3, . . . for multiple sections offered during the same semester/year), semester (Sem), year (Year), classroom (CRoom: this is coded as a combination of building code (Bldg) and room number (RoomNo) within the building), and days/times (DaysTime: for example, 'MWF 9am-9.50am' or 'TR 3.30pm-5.20pm'- restricted to only allowed days/time values). (Note: The database will keep track of all the sections offered for the past several years, in addition to the current offerings. The SecId is unique for all sections, not just the sections for a particular semester.) The database keeps track of the students in each section, and the grade is recorded when available (this is a many-to-many relationship between students and sections). A section must have at least five students. Each of the following combinations must be unique based on the typical mini-world constraints: (SecNo, Sem, Year, CCode (of the COURSE related to the SECTION)): This specifies that the section numbers of a particular course must be different during each particular semester and year. (Sem, Year, CRoom, DaysTime): This specifies that in a particular semester and year, a classroom cannot be used by two different sections on the same days/time. (Sem, Year, DaysTime, Id (of the INSTRUCTOR teaching the SECTION)): This specifies that in a particular semester and year, an instructor cannot teach two sections on the same days/time. Note that this rule will not apply if an instructor is allowed to teach two combined sections together in a particular university. Important Assignment Submission Notes: Use Microsoft Word, Lucidchart, Creately, or any other tool to create your ER diagrams. Scanned hand drawings will not be accepted. For a quick tutorial on how to use Lucidcharts click here Relationship Diagrams Assignment: Entity Field 1. Field Field Entity O.. Field Field 86F 32

X92NMY The Asker · Computer Science

MySQL Entity Relationship Diagrams Assignment:

Create the ER diagram that produces the database schema from the given requirements and constraints listed below.

Suppose that a database is needed to keep track of student enrollments in classes and students’ final grades. After analyzing the mini-world rules and the users’ needs, the requirements for this database were determined to be as follows:

  • The university is organized into colleges (COLLEGE), and each college has a unique name (CName), a main office (COffice) and phone (CPhone), and a particular faculty member who is dean of the college. Each college administers a number of academic departments (DEPT). Each department has a unique name (DName), a unique code number (DCode), a main office (DOffice) and phone (DPhone), and a particular faculty member who chairs the department. We keep track of the start date (CStartDate) when that faculty member began chairing the department.

  • A department offers a number of courses (COURSE), each of which has a unique course name (CoName), a unique code number (CCode), a course level (Level: this can be coded as 1 for freshman level, 2 for sophomore, 3 for junior, 4 for senior, 5 for MS level, and 6 for PhD level), a course credit hour (Credits), and a course description (CDesc). The database also keeps track of instructors (INSTRUCTOR); and each instructor has a unique identifier (Id), name (IName), office (IOffice), phone (IPhone), and rank (Rank); in addition, each instructor works for one primary academic department.

  • The database will keep student data (STUDENT) and stores each student's name (SName, composed of first name (FName), middle name (MName), last name (LName), student id (Sid, unique for every student), address (Addr), phone (Phone), major code (Major), and date of birth (DoB). A student is assigned to one primary academic department. It is required to keep track of the student's grades in each section the student has completed.

  • Courses are offered as sections (SECTION). Each section is related to a single course and a single instructor and has a unique section identifier (SecId). A section also has a section number (SecNo: this is coded as 1, 2, 3, . . . for multiple sections offered during the same semester/year), semester (Sem), year (Year), classroom (CRoom: this is coded as a combination of building code (Bldg) and room number (RoomNo) within the building), and days/times (DaysTime: for example, 'MWF 9am-9.50am' or 'TR 3.30pm-5.20pm'- restricted to only allowed days/time values). (Note: The database will keep track of all the sections offered for the past several years, in addition to the current offerings. The SecId is unique for all sections, not just the sections for a particular semester.) The database keeps track of the students in each section, and the grade is recorded when available (this is a many-to-many relationship between students and sections). A section must have at least five students.

Each of the following combinations must be unique based on the typical mini-world constraints:

  • (SecNo, Sem, Year, CCode (of the COURSE related to the SECTION)): This specifies that the section numbers of a particular course must be different during each particular semester and year.
  • (Sem, Year, CRoom, DaysTime): This specifies that in a particular semester and year, a classroom cannot be used by two different sections on the same days/time.
  • (Sem, Year, DaysTime, Id (of the INSTRUCTOR teaching the SECTION)): This specifies that in a particular semester and year, an instructor cannot teach two sections on the same days/time. Note that this rule will not apply if an instructor is allowed to teach two combined sections together in a particular university.
  • Important Assignment Submission Notes:

  • Use Microsoft Word, Lucidchart, Creately, or any other tool to create your ER diagrams.
  • Scanned hand drawings will not be accepted.
  • For a quick tutorial on how to use Lucidcharts click here


Transcribed Image Text: Relationship Diagrams Assignment: Entity Field 1. Field Field Entity O.. Field Field 86F 32
More
Transcribed Image Text: Relationship Diagrams Assignment: Entity Field 1. Field Field Entity O.. Field Field 86F 32
See Answer
Add Answer +20 Points
Community Answer
KO6KTQ The First Answerer
See all the answers with 1 Unlock
Get 4 Free Unlocks by registration

ERD No of entities: t1. Course entity t2. College entity t3. Department entity t4. Student entity t5. Grade entity t6. Instructor entity t7. Section entity Relationship: tThere are 1:M relationship between College entity and Department entity tThere are M:1 relationship between Course entity and Department entity tThere are 1:M relationship b ... See the full answer