Presentation is loading. Please wait.

Presentation is loading. Please wait.

COURSE REGISTRATION SYSTEM Case study IST2101. Case Study: Course Registration (1) IST2102 You are helping Penn State create a course registration system.

Similar presentations


Presentation on theme: "COURSE REGISTRATION SYSTEM Case study IST2101. Case Study: Course Registration (1) IST2102 You are helping Penn State create a course registration system."— Presentation transcript:

1 COURSE REGISTRATION SYSTEM Case study IST2101

2 Case Study: Course Registration (1) IST2102 You are helping Penn State create a course registration system. Store information about all students, including their student IDs, names, emails, and their major departments. The department should have information about department name, building name, and phone number.

3 IST2103 StudentID Name Email STUDENT DepartName Building Phone DEPARTMENT

4 Case Study: Course Registration (2) IST2104 A course should have information about course ID, course name, and instructor name. Students can take many courses and a course can be registered by many students. We also need to store the final grade for a student in a course.

5 IST2105 StudentID Name Email STUDENT DepartName Building Phone DEPARTMENT CourseID CourseName Instructor COURSE Any problem with this design?

6 Attributes on Relationships? When you need to store some information about a relationship, the relationship should actually be designed as an entity. If we want to store the grades for the relationship between COURSE and STUDENT, we need to make GRADE as a separate entity. If we only want to store which student taking which course, we don’t need a separate entity to capture their relationship. IST2106

7 7 StudentID Name Email STUDENT StudentID CourseID Grade GRADE DepartName Building Phone DEPARTMENT CourseID CourseName Instructor COURSE

8 Case Study: Course Registration (3) IST2108 A course is offered by a department. We also want to store this information.

9 IST2109 StudentID Name Email STUDENT StudentID CourseID Grade GRADE DepartName Building Phone DEPARTMENT CourseID CourseName Instructor COURSE Complete E-R Diagram


Download ppt "COURSE REGISTRATION SYSTEM Case study IST2101. Case Study: Course Registration (1) IST2102 You are helping Penn State create a course registration system."

Similar presentations


Ads by Google