Developing an ER model

December 4, 2026 · Team EasyExamNotes · 3 min read (est.) · 0 comments

Share on WhatsApp

← RGPV CS-502 DBMS June 2026 solved question paper

← RGPV CS-502 DBMS December 2025 solved question paper

RGPV CS-502 (GS) | June 2026 | Q2(a) | 7 marks (inferred)

Question (restated): Explain the steps in developing an ER model for a database application.

Answer

Student (1); Enrollment (many); Course (1)
Developing an ER model

Start by collecting requirements and identifying business rules. For a university, students enroll in courses, instructors teach courses, and each student belongs to a department. Identify entities with independent identities: Student, Course, Instructor and Department. Assign attributes and candidate keys, such as StudentID and CourseID. Distinguish composite attributes such as Address from multivalued attributes such as PhoneNumber.

Identify relationships and their cardinalities. Department to Student is one-to-many if each student belongs to one department. Student to Course is many-to-many. Enrollment can have attributes Semester and Grade. Participation is total when every entity must participate, and partial otherwise. Specify minimum and maximum participation explicitly.

Validate the conceptual model against sample transactions: enrolling a student, listing course participants and changing departments. Resolve ambiguous rules such as whether a course may have several instructors. Avoid storing derived facts unnecessarily.

Map entities to tables and one-to-many relationships to foreign keys. Map many-to-many relationships to an associative table Enrollment(StudentID, CourseID, Semester, Grade), with a composite primary key including Semester if repeat enrollment is allowed. Normalize the resulting relations, check referential integrity and review the design with stakeholders. Physical indexes are selected later according to workload.

The ER model is useful because it communicates semantics before implementation. It should be revised when requirements change rather than treating the first diagram as final.


December 2025 – Q2(a)

Question (restated): Describe the ER model and explain entities, attributes and relationships with examples.

The entity–relationship model represents the conceptual structure of an application before implementation. An entity is a distinguishable object, such as a student. An entity type describes a collection of similar objects. Attributes describe properties, such as RollNo and Name; a key attribute uniquely identifies an entity.

Attributes may be simple, composite (Address), multivalued (Phone), or derived (Age from BirthDate). A relationship associates entities, such as Student enrolls in Course. A relationship can have attributes of its own, such as EnrollmentDate.

Cardinality specifies maximum participation: one-to-one, one-to-many or many-to-many. Participation specifies whether involvement is mandatory or optional. In a university, a department may have many students, while each student belongs to one department. Enrollment between students and courses is many-to-many and becomes a separate relation with both foreign keys.

In Chen notation rectangles represent entities, ovals attributes and diamonds relationships. Underlined attributes indicate keys. Double lines indicate total participation. A weak entity depends on an owner entity and is identified using the owner key together with a partial key.

← RGPV CS-502 DBMS June 2026 solved question paper

← RGPV CS-502 DBMS December 2025 solved question paper

Discussion

Ask a question, share your thoughts or report an error.

Sign in to participate in the discussion.

Join the discussion