Professional Documents
Culture Documents
COIMBATORE 641032
DEPARTMENT OF COMPUTER APPLICATIONS
MC7103 - DATABASE MANAGEMENT SYSTEMS
ASSIGNMENT 1 ER DIAGRAM / UNIT 1
Case Study - 1
Given the case study of ER model of a college database and the assumptions are given
along with the steps to be performed. Read the steps and draw the ER diagram for a
college database. The diagram should include notations for weak entity, strong entity,
participation, cardinality, primary key
Assumptions :
1. A college contains many departments
2. Each department can offer any number of courses
3. Many instructors can work in a department
4. An instructor can work only in one department
5. For each department there is a Head
6. An instructor can be head of only one department
7. Each instructor can take any number of courses
8. A course can be taken by only one instructor
9. A student can enroll for any number of courses
10. Each course can have any number of students
1. DEPARTMENT
2. STUDENT
3. COURSE
4. INSTRUCTOR
1. Deptname is the key attribute for the Entity Department, as it identifies the
Department uniquely.
2. Course# (CourseId) is the key attribute for Course Entity.
3. Student# (Student Number) is the key attribute for Student Entity.
4. Instructor Name is the key attribute for Instructor Entity.
Case Study 2
Given the assumptions for a banking business scenario construct the ER
diagram. Draw the ER diagram by keeping the previous case study as base
example.
Assumptions
1. There are multiple banks and each bank has many branches. Each branch has
multiple customers
2. Customers have various types of accounts
3. Some Customers also had taken different types of loans from these bank branches
4. One customer can have multiple accounts and Loans