COURSE REGISTRATION SYSTEM Case study IST2101
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, s, and their major departments. The department should have information about department name, building name, and phone number.
IST2103 StudentID Name STUDENT DepartName Building Phone DEPARTMENT
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.
IST2105 StudentID Name STUDENT DepartName Building Phone DEPARTMENT CourseID CourseName Instructor COURSE Any problem with this design?
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 StudentID Name STUDENT StudentID CourseID Grade GRADE DepartName Building Phone DEPARTMENT CourseID CourseName Instructor COURSE
Case Study: Course Registration (3) IST2108 A course is offered by a department. We also want to store this information.
IST2109 StudentID Name STUDENT StudentID CourseID Grade GRADE DepartName Building Phone DEPARTMENT CourseID CourseName Instructor COURSE Complete E-R Diagram